AWS Elastic Beanstalk
Developer Guide (API Version 2010-12-01)
AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Manage Alarms

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.

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

  1. From the Elastic Beanstalk console applications page, click the environment name that you want to manage alarms for.

  2. 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).

  3. To filter alarms, click the drop-down filter and select the filter that you want.

  4. To edit or delete an alarm, click (edit) or (delete).

To create an alarm

  1. From the Elastic Beanstalk console applications page, click the environment name that you want to add alarms to.

  2. From the navigation menu, click Monitoring.

  3. For the metric that you want to create an alarm for, click . You are directed to the Alarms page.

  4. 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.

  5. 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.