Manage alarms
This topic walks you through the steps to create alarms for metrics that you're monitoring. It also provides instructions to view your existing alarms and to check their state.
You can create alarms for metrics that you are monitoring by using the Elastic Beanstalk console. Alarms help you monitor changes to your AWS Elastic Beanstalk environment so that you can easily identify and mitigate problems before they occur. For example, you can set an alarm that notifies you when CPU utilization in an environment exceeds a certain threshold, ensuring that you are notified before a potential problem occurs. For more information, see Using Elastic Beanstalk with Amazon CloudWatch.
Note
Elastic Beanstalk uses CloudWatch for monitoring and alarms, meaning CloudWatch costs are applied to your AWS account for any alarms that you use.
For more information about monitoring specific metrics, see Basic health reporting.
To check the state of your alarms
Open the Elastic Beanstalk console
, and in the Regions list, select your AWS Region. -
In the navigation pane, choose Environments, and then choose the name of your environment from the list.
Note
If you have many environments, use the search bar to filter the environment list.
-
In the navigation pane, choose Alarms.
The page displays a list of existing alarms. If any alarms are in the alarm state, they are flagged with the warning icon ( ).
-
To filter alarms, choose the drop-down menu, and then select a filter.
-
To edit or delete an alarm, choose the edit icon ( ) or the delete icon ( ), respectively.
To create an alarm
Open the Elastic Beanstalk console
, and in the Regions list, select your AWS Region. -
In the navigation pane, choose Environments, and then choose the name of your environment from the list.
Note
If you have many environments, use the search bar to filter the environment list.
-
In the navigation pane, choose Monitoring.
-
Locate the metric for which you want to create an alarm, and then choose the alarm icon ( ). The Add alarm page is displayed.
-
Enter details about the alarm:
-
Name: A name for this alarm.
-
Description (optional): A short description of what this alarm is.
-
Period: The time interval between readings.
-
Threshold: Describes the behavior and value that the metric must exceed in order to trigger an alarm.
-
Change state after: The amount a time after a threshold has been exceed that triggers a change in state of the alarm.
-
Notify: The Amazon SNS topic that is notified when an alarm changes state.
-
Notify when state changes to:
-
OK: The metric is within the defined threshold.
-
Alarm: The metric exceeded the defined threshold.
-
Insufficient data: The alarm has just started, the metric is not available, or not enough data is available for the metric to determine the alarm state.
-
-
-
Choose Add. The environment status changes to gray while the environment updates. You can view the alarm that you created by choosing Alarms in the navigation pane.