You can create alarms for metrics that you are monitoring by using the AWS Management Console. Alarms help you monitor changes to your 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.
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
From the Elastic Beanstalk console applications page, click the environment name that you want to manage alarms for.
From the navigation menu, click Alarms to see a list of alarms.
If any alarms is in the alarm state, they are flagged with (warning).
To filter alarms, click the drop-down filter and select the filter that you want.
To edit or delete an alarm, click (edit) or (delete).
To create an alarm
From the Elastic Beanstalk console applications page, click the environment name that you want to add alarms to.
From the navigation menu, click Monitoring.
For the metric that you want to create an alarm for, click . You are directed to the Alarms page.
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.
Click Add. The environment status changes to gray while the environment updates. You can view the alarm that you created by going to the Alarms page.