Create a CloudWatch Alarm for an Instance
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 using the CloudWatch console
For examples, see Creating Amazon CloudWatch Alarms in the Amazon CloudWatch User Guide.
To create an alarm using the Amazon EC2 console
-
Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/.
-
In the navigation pane, choose Instances.
-
Select the instance.
-
On the Monitoring tab, choose Create Alarm.
-
In the Create Alarm dialog box, do the following:
-
Choose create topic. For Send a notification to, type a name for the SNS topic. For With these recipients, type one or more email addresses to receive notification.
-
Specify the metric and the criteria for the policy. For example, you can leave the default settings for Whenever (Average of CPU Utilization). For Is, choose
>=
and type80
percent. For For at least, type1
consecutive period of5 Minutes
. -
Choose Create Alarm.
-