How are CloudWatch metrics organized?
BeginnerConceptObservability, Security Services and IaC
Answer
Metrics belong to a namespace (AWS/EC2), are identified by a name plus dimensions (InstanceId=i-0abc), and are stored as time series with periods of 1 minute (standard) or down to 1 second (high resolution custom metrics). Basic EC2 monitoring is 5 minutes; detailed is 1 minute. Metrics are regional and kept up to 15 months, rolled up over time.
aws cloudwatch get-metric-statistics --namespace AWS/EC2 --metric-name CPUUtilization \
--dimensions Name=InstanceId,Value=i-0abc --start-time 2026-11-01T00:00:00Z \
--end-time 2026-11-01T01:00:00Z --period 300 --statistics Average
More on Observability, Security Services and IaC
How do CloudWatch Logs groups, streams and Logs Insights work?BeginnerExplain CloudWatch alarm states and missing data handling.AdvancedWhat is the CloudWatch Embedded Metric Format?AdvancedWhat does EC2 not report to CloudWatch by default?IntermediateWhat does CloudTrail record?BeginnerWhat is AWS Config and how do rules work?Intermediate