Setting AWS Cloudwatch alarms

Engineering Nov 11, 2016

aws cloudwatch put-metric-alarm --alarm-name "application-name-cpu" --metric-name CPUUtilization --namespace AWS/EC2 --statistic Average --period 300 --threshold 80 --comparison-operator GreaterThanThreshold --dimensions "Name=InstanceId,Value=i-******" --alarm-actions arn:aws:sns:us-east-1:account_number:topic_name --unit Percent --evaluation-periods 2

Srujan

You should go to about section on this site.

Great! You've successfully subscribed.
Great! Next, complete checkout for full access.
Welcome back! You've successfully signed in.
Success! Your account is fully activated, you now have access to all content.