This lab walks you through the steps to configure a CloudWatch alarm to know when Lambda invocation experiences errors.
Duration: 1 Hour
AWS Region: US East (N. Virginia) us-east-1
AWS Cloudwatch is a service that is used to monitor and collect the metrics from other AWS services periodically.
It collects data in the form of logs, events, and metrics and provides you with an organized view of your AWS resources.
You can use CloudWatch to detect anomalous behavior in your environments to set alarms. You can also vizualize the logs and take actions to troubleshoot issues and make sure everything works smoothly.
You can monitor AWS resources such as Amazon EC2, Amazon RDS, Amazon DynamoDB tables , and many others using Cloudwatch.
You can monitor the resource utilization in your account by setting up rules and events that will stop or terminate underutilized resources.
The AWS Lambda service allows you to run code without provisioning or managing dedicated servers.
Lambda functions are an example of "serverless" computing.
The interesting feature about lambda is you only need to pay for the compute time you consume and you do not need to pay when your code is not running.
You can run code for virtually any type of application with zero administration with the help of AWS Lambda functions.
Just upload your code to Lambda and it will take care of everything required to run and scale your code with high availability
We can set triggering events for our Lambda function so it can be triggered off an event-based action.
Lambda currently supports various languages such as java, python, node js.
Launching Lab Environment
Creating a "Hello world" function in Lambda
Configure Test Event
Configuring an Alert/Alarm in CloudWatch
Testing the Metric
Validation of the lab