AWS Assignment-3

·

1 min read

1] Create a dashboard for 2 ec2 instances..... Include any 3 default metrics and 3 custom metrics

  • Create instances & turn on Detailed monitoring

  • For Custom Metrix you have to install cloud watch agent

  • Attach IAM policy to EC2 instance as above

  • Go to cloud watch metrics and add things

  • When you configuer the agent you can see the Custom metrics


2] Create an trail and push the logs to S3 and Cloudwatch_logs


3] Push your logs from any one ec2 instance to cloudwatch.


4] Setup alarm and setup some notifications (mail and sms) and some ec2 actions.

  • Select a metrics & create an Alarm