02Chapter 2: Metrics and data pointsThis chapter covers what a CloudWatch metric is and how data points are stored and retrieved. It assumes you know AWS accounts, regions, and the AWS CLI, and that you have used EC2. Namespaces, dimensions, statistics, and periods get their own chapters. Here you only need the basic model.2 min read
03Chapter 3: Namespaces and dimensions: identifying a metricThis chapter assumes you know what a CloudWatch metric and data point are, and that you can run AWS CLI commands in a chosen region. It covers how CloudWatch decides which time series a data point belongs to.2 min read
04Chapter 4: Statistics, periods, and unitsThis chapter assumes you know what a metric, a namespace, and a dimension are, and that you can run AWS CLI commands. Here you will learn how CloudWatch turns raw data points into the numbers you read and alarm on.3 min read
05Chapter 5: Publishing custom metricsThis chapter assumes you know what a namespace, a dimension, and a statistic are, and that you can run AWS CLI commands with a role that has cloudwatch:PutMetricData. Here you publish your own data points and read them back.2 min read
06Chapter 6: Creating metric alarmsThis chapter assumes you can run AWS CLI commands, know what a CloudWatch metric, namespace, dimension, statistic and period are, and have an SNS topic available for notifications.2 min read
07Chapter 7: Alarm actions and SNS notificationsThis chapter assumes you can create a metric alarm with the AWS CLI and know what a period and a statistic are. Here you will connect an alarm to an Amazon SNS topic so that a state change reaches a person or a system.2 min read
08Chapter 8: Log groups, log streams, and retentionThis chapter assumes you know what a log event is, can run AWS CLI commands, and have IAM permission to use CloudWatch Logs. Here you will learn how CloudWatch Logs organizes events and how to stop them from piling up forever.2 min read
10Chapter 10: Turning log events into metrics with metric filtersA metric filter watches a log group and turns matching log events into data points for a CloudWatch metric. You can then graph that metric or put an alarm on it. This chapter assumes you know what log groups and log streams are, and that you can publish and query custom metrics.2 min read
11Chapter 11: Querying logs with Logs InsightsThis chapter assumes you have log groups receiving data, for example from the CloudWatch agent, and permission to run logs:StartQuery and logs:GetQueryResults.2 min read
12Chapter 12: Building dashboardsThis chapter assumes you can run AWS CLI commands, know what a metric's namespace, dimensions, and statistic are, and have written a Logs Insights query. A CloudWatch dashboard is a customizable page in the console that shows metrics, alarms, and log query results together. It lets you see the healt2 min read
13Chapter 13: Reducing alert noise with composite alarmsThis chapter assumes you can create a metric alarm and attach an SNS topic to it, as covered in the earlier chapters on alarms and alarm actions. It also assumes you are comfortable with the AWS CLI.2 min read
14Chapter 14: Anomaly detection alarmsThis chapter assumes you can create a standard metric alarm, know what a period and a statistic are, and have an SNS topic for notifications. Anomaly detection alarms replace the fixed threshold you chose by hand with a band that CloudWatch learns from the metric's history.2 min read
15Chapter 15: Reacting to alarm state changes with EventBridgeThis chapter assumes you can create a metric alarm, know what an SNS alarm action does, and have used the AWS CLI. It covers how to react to alarm state changes with Amazon EventBridge when an SNS notification is not enough.2 min read
16Chapter 16: Monitoring endpoints with Synthetics canariesThis chapter assumes you can create CloudWatch alarms and SNS topics, read the AWS CLI, and know what an IAM role is. It covers CloudWatch Synthetics, which tests an endpoint from the outside.2 min read
17Chapter 17: Cross-account and cross-region observabilityThis chapter assumes you can create alarms and dashboards, know what log groups are, and have more than one AWS account or region to watch. By default, CloudWatch data stays in the account and region that produced it. Cross-account observability lets one monitoring account view that data without swi2 min read
18Chapter 18: Understanding and controlling CloudWatch costThis chapter assumes you have read the earlier chapters on custom metrics, alarms, the CloudWatch agent, and Logs Insights. CloudWatch has no single fee. You pay separately for several features, and each feature has its own billing unit. Prices vary by region and change over time, so check the Cloud2 min read