Amazon CloudWatch Logs can be used to capture logging data sent from various sources such as Amazon EC2 instances, Lambda Functions, custom applications, and many more.
When using CloudWatch Logs, its important to monitor log growth. Unchecked and uncontrolled log growth can be a surprise line item in your monthly cloud bill.
In this hands-on lab, you'll learn how to build a custom CloudWatch dashboard and metric that displays the size of each CloudWatch Log group discovered within your lab account. To demonstrate this objective, the lab starts up with 2 basic Lambda Functions configured to trigger each minute. You'll be required to review and update each Lambda Function, updating their implementations with provided code. What the Lambda Functions do is not important, what is important is the fact that their implementations involve logging out different amounts of data to CloudWatch.
Upon completion of this beginner-level lab, you will be able to:
Familiarity with the following will be beneficial but is not required:
The following content can be used to fulfill the prerequisite: