You are viewing a free preview of this lesson.
Subscribe to unlock all 10 lessons in this course and every other course on LearningBro.
Metrics alone only give you visibility. Alarms add the crucial ability to detect when something goes wrong and respond automatically. A CloudWatch Alarm watches a single metric (or a metric math expression) over a period of time and changes state when the value crosses a threshold you define.
Every CloudWatch Alarm is always in exactly one of three states:
| State | Meaning |
|---|---|
| OK | The metric is within the acceptable range |
| ALARM | The metric has breached the threshold |
| INSUFFICIENT_DATA | Not enough data points to evaluate the alarm |
When you first create an alarm, it starts in INSUFFICIENT_DATA until enough data points arrive to make a determination.
An alarm is defined by five key components:
Subscribe to continue reading
Get full access to this lesson and all 10 lessons in this course.