Amazon CloudWatch events help you to respond to state changes in your AWS resources.
When your resources change state, they automatically send events into an event stream.
You can create rules that match selected events in the stream and route them to your AWS Lambda function to take action.
For example, you can automatically invoke an AWS Lambda function to log the state of an EC2 instance or AutoScaling group.
In this video , I demonstrated the same
Steps :
Step 1: Create IAM (SES access & cloudwatch access)
Step 2: Create EC2 instance(Prod)
Step 3: Mail Verification from SES
Step 4: Create Lambda Function
Step 5: Create Cloudwatch Event trigger
Check this playlist for more AWS Projects in Big Data domain:
• Demystifying Data Engi...
14 окт 2024