Introduction to Amazon CloudWatch Metrics and Alarms
Default and custom metrics, statistics and metric math, alarm evaluation, alarm actions, composite alarms and notifications with Amazon SNS.
- 5 lessons
- Module quiz
Operators cannot manage what they cannot measure. Amazon CloudWatch collects numeric measurements, called metrics, from AWS services and applications, and keeps them for up to 15 months at decreasing resolution. EC2 publishes metrics every five minutes by default, or every minute with detailed monitoring, and applications can publish their own custom metrics.
Alarms watch metrics and change state when a threshold is breached, then notify people through Amazon SNS or act directly, for example by scaling a group or recovering an instance. Most monitoring and remediation scenarios start with a metric and an alarm, so understanding exactly how alarms evaluate data is essential.
What the exam expects
Questions test how metrics are identified by namespace, name and dimensions, custom metrics and metric math, anomaly detection, the M out of N evaluation of alarms and the treatment of missing data, alarm actions, composite alarms and what they cannot do, and notification through SNS.
How this module is organised
Identifying and Aggregating CloudWatch Metrics explains how metrics are organised. Publishing Custom Metrics and Using Metric Math and Anomaly Detection explains how to create and derive metrics. Configuring and Troubleshooting Alarm Evaluation explains how alarms decide. Acting on Alarms and Reducing Noise with Composite Alarms explains what alarms can do, and Delivering Operational Notifications with Amazon SNS explains how people are notified.
- Identifying and Aggregating CloudWatch Metrics Lesson 1
- Publishing Custom Metrics and Using Metric Math and Anomaly Detection Lesson 2
- Configuring and Troubleshooting Alarm Evaluation Lesson 3
- Acting on Alarms and Reducing Noise with Composite Alarms Lesson 4
- Delivering Operational Notifications with Amazon SNS Lesson 5
- Practise and review
- Checkpoint Practice activities across the module
- Test your knowledge 6 questions