CloudConsole

Create an alarm from a metric chart

Turn any metric chart into a CloudWatch alarm: threshold, period, periods in a row and an SNS topic, filled in for you.

Every metric chart on EC2, Lambda, ECS, RDS, DynamoDB and Cloud Control screens has a bell button (Create alarm from this metric) next to its latest value. It opens Create alarm for exactly that metric, with sensible defaults. It's a Pro action.

Create alarm form for ECS CPU: name, threshold 80%, 5 min period, 3 periods, acme-oncall topic
Create alarm

The form

  • Alarm name: suggested from the resource and metric, for example checkout-api-CPUUtilization-high.
  • Alarm when: >, ≥, < or ≤ a Threshold. For percentages it starts at 80; otherwise a little above the highest value on the chart, so the alarm doesn't fire straight away.
  • Period: 1 min, 5 min (default), 15 min or 1 h.
  • For: how many periods in a row must breach (3 by default).
  • Notify: an SNS topic in this account and region, or No notification. A topic with "oncall" in its name is picked first.

Tap Create alarm and confirm. The sheet repeats the rule in words. An alarm with the same name is replaced.

Good to know

  • Missing data is treated as missing. Standard-resolution alarms cost about $0.10 a month each on your AWS bill.
  • Permissions: cloudwatch:PutMetricAlarm, and sns:ListTopics to list topics. Without the second, the topic list shows as unavailable and you can still create the alarm without a notification.
  • The new alarm shows on the Alarms tab and, when it fires, on Home and in Alarm alerts.
Still stuck?

Email [email protected] with what you tried and any message the app showed. Don’t send access keys or secrets. We reply within two working days.