Module 6-Monitoring Assignment
Module 6-Monitoring Assignment
You can create a CloudWatch alarm that monitors CloudWatch metrics for one of your instances.
CloudWatch will automatically send you a notification when the metric reaches a threshold you
specify. You can create a CloudWatch alarm using the Amazon EC2 console or using the more
advanced options provided by the CloudWatch console.
To create an alarm to stop an idle instance and terminate an idle instance (Amazon EC2
console)
17. Give the condition of CPU Utilization. I will Give 5% of CPU Utilization for testing Purpose. But in
Real Time it will be above 75%. Click on Next.
18. In Configure Actions Select In Alarm in Notification. And
Send Notification Bar select SNS which we created in Before.
19. In EC2 Action Select Stop Instance and Terminate Instance. And
Click on Next.
20. In Name and Describtion bar type Alert name as Email Alert CPU Utilization. In Edit Bar Type
message which the notification send to Email. Then Click on Next.