AWS monitoring guide: key metrics for EC2, RDS, DynamoDB, SQS and more, CloudWatch costs and OpenTelemetry
What to monitor across the core AWS services, which CloudWatch metrics actually predict incidents, where CloudWatch costs come from and how to combine AWS metrics with OpenTelemetry traces.
Summary
- AWS monitoring works best in layers: service metrics from CloudWatch, application telemetry from OpenTelemetry, and control-plane signals from CloudTrail and AWS Health.
- A short list of metrics per service, such as StatusCheckFailed for EC2, TargetResponseTime and HTTPCode_Target_5XX_Count for ALB, ReplicaLag for RDS, ThrottledRequests for DynamoDB and ApproximateAgeOfOldestMessage for SQS, catches most incidents early.
- CloudWatch costs grow mainly with custom metrics, log ingestion, Logs Insights queries and API calls such as GetMetricData, so tagging, filtering and a deliberate pipeline matter as much as dashboards.
AWS monitoring sounds simple until you count the moving parts: dozens of managed services with their own CloudWatch namespaces, metrics at different resolutions, hundreds of log groups, several accounts and Regions. Many teams end up with alarms that fire on CPU while customers see timeouts that no alarm covers.
This guide gives you a structured approach: which signals to collect, the metrics that matter for the main services (EC2, EBS, ELB/ALB, RDS and Aurora, DynamoDB, S3, ElastiCache, EKS and ECS, CloudFront, SQS and SNS), how CloudWatch behaves and what drives its cost, where CloudTrail and AWS Health fit in, how to organise tags and accounts, and how to connect AWS metrics with OpenTelemetry traces. It ends with alert suggestions and a checklist you can copy.
The three layers of AWS monitoring
Under the shared responsibility model, AWS runs the managed infrastructure, but you are responsible for how your workload uses it. In practice, useful AWS monitoring combines three layers:
- Resource and service metrics. CloudWatch metrics from each AWS service: utilisation, errors, throttling, latency and queue depth. They tell you whether a resource is healthy or close to a limit, which is the saturation part of the golden signals.
- Application telemetry. Traces, metrics and logs emitted by your own code, ideally with OpenTelemetry. Only this layer shows which endpoint is slow and which downstream call caused it.
- Control-plane and platform events. API activity from CloudTrail and service events from AWS Health. Many incidents start with a configuration change or a scheduled maintenance, not with a metric.
Start from user-facing symptoms. The golden signals (latency, traffic, errors, saturation) for each customer-facing entry point should exist before you fine-tune per-resource dashboards.
CloudWatch basics and limits you should know
CloudWatch is the default destination for AWS service metrics, and a few of its properties shape any AWS monitoring setup:
- Basic vs detailed monitoring for EC2. By default, EC2 instance metrics arrive in 5-minute periods. Detailed monitoring, which is charged, provides 1-minute periods. Status check metrics are available at a 1-minute frequency at no charge. Choose alarm periods that are at least as long as the metric resolution.
- Not everything is collected. EC2 does not report memory or disk usage inside the guest. For those you need the CloudWatch agent, an OpenTelemetry Collector or another host agent.
- Resolution and retention. AWS service metrics are standard resolution (1 minute). Custom metrics can be high resolution (1 second). CloudWatch keeps sub-minute data for 3 hours, 1-minute data for 15 days, 5-minute data for 63 days and 1-hour data for 455 days (15 months), rolling up older data to coarser periods.
- Metrics are regional. Metrics exist only in the Region where they are created. CloudFront metrics, for example, are viewed in US East (N. Virginia).
- Metric streams. Instead of polling, CloudWatch metric streams push metrics continuously through Amazon Data Firehose (or a quick S3 setup) in JSON, OpenTelemetry 1.0.0 or OpenTelemetry 0.7.0 format. Filters let you include or exclude namespaces or individual metrics.
- Logs Insights. CloudWatch Logs Insights queries log groups interactively. It is useful for investigations, but each query is charged by data scanned, so it is not a replacement for structured logs with consistent fields and trace IDs.
Key metrics per AWS service
The table lists a starting set of CloudWatch metrics per service. Metric names are taken from the AWS documentation; the alert ideas are examples to calibrate against your own baseline.
| Service (namespace) | Key metrics | What to watch (example) |
|---|---|---|
| EC2 (AWS/EC2) | StatusCheckFailed, StatusCheckFailed_System, StatusCheckFailed_Instance, CPUUtilization, CPUCreditBalance | Any failed status check for 2 min; credit balance trending to zero on burstable instances |
| EBS (AWS/EBS) | VolumeQueueLength, BurstBalance, VolumeStalledIOCheck | Queue length rising with latency; burst balance falling steadily |
| ALB (AWS/ApplicationELB) | TargetResponseTime, HTTPCode_Target_5XX_Count, HTTPCode_ELB_5XX_Count, UnHealthyHostCount, RequestCount | p95 response time above baseline; 5xx ratio above 1 % for 5 min |
| RDS / Aurora (AWS/RDS) | CPUUtilization, DatabaseConnections, FreeStorageSpace, FreeableMemory, ReadLatency, WriteLatency, ReplicaLag (Aurora: AuroraReplicaLag) | Free storage below 15 %; connections near the configured maximum; replica lag growing |
| DynamoDB (AWS/DynamoDB) | ThrottledRequests, ReadThrottleEvents, WriteThrottleEvents, SystemErrors, SuccessfulRequestLatency, ConsumedReadCapacityUnits | Sustained throttling on a table or index; any rise in system errors |
| S3 (AWS/S3) | BucketSizeBytes, NumberOfObjects; with request metrics: 4xxErrors, 5xxErrors, FirstByteLatency | Unexpected growth in size; 5xx errors on critical buckets |
| ElastiCache (AWS/ElastiCache) | EngineCPUUtilization, DatabaseMemoryUsagePercentage, Evictions, CurrConnections, ReplicationLag | Evictions where you expect none; engine CPU near saturation |
| ECS / EKS | ECS CPUUtilization, MemoryUtilization; Container Insights metrics for nodes, pods and containers | Memory near limits; restarts and pending pods |
| CloudFront (AWS/CloudFront) | Requests, 4xxErrorRate, 5xxErrorRate, TotalErrorRate; additional: OriginLatency, CacheHitRate | 5xx error rate above baseline; cache hit rate dropping after a deploy |
| SQS / SNS | ApproximateAgeOfOldestMessage, ApproximateNumberOfMessagesVisible; SNS NumberOfNotificationsFailed | Age of oldest message above your processing SLA; any failed notifications to critical subscribers |
Service-specific notes that change how you alert
Compute and load balancers
Separate HTTPCode_Target_5XX_Count (your application returned an error) from HTTPCode_ELB_5XX_Count (the load balancer itself could not complete the request, for example because no healthy target was available). They need different responders. On EC2, a failed system status check usually points to the underlying host, while a failed instance status check points to your instance configuration or operating system.
Databases and caches
For RDS, FreeStorageSpace and DatabaseConnections are classic leading indicators: running out of either causes a hard outage, not a gradual slowdown. For DynamoDB, note that ThrottledRequests counts a batch request only when every item in it is throttled; partial throttling shows up in ReadThrottleEvents and WriteThrottleEvents, so watch both. Also, SystemErrors is published on the TableName and Operation dimensions together, so an alarm that only sets TableName never receives data. For ElastiCache with Valkey or Redis OSS, AWS recommends EngineCPUUtilization on larger nodes because the engine is single-threaded.
Queues and storage
For SQS, ApproximateAgeOfOldestMessage is usually the best single metric: it captures both a stalled consumer and a backlog growing faster than consumers can process it. S3 storage metrics are reported once per day; request metrics such as 5xxErrors must be enabled per bucket and are billed like custom metrics.
Containers
For EKS and ECS, CloudWatch Container Insights or an OpenTelemetry Collector provide node, pod and container metrics. Kubernetes-level signals such as restarts, OOM kills and pending pods matter as much as CPU; see our Kubernetes observability checklist for the full list.
CloudWatch cost drivers
CloudWatch pricing is usage-based and differs by Region; check the official Amazon CloudWatch pricing page for current rates. Qualitatively, the main cost drivers are:
- Custom metrics. Each unique combination of namespace, metric name and dimensions counts as a separate metric. Adding a high-cardinality dimension such as a customer or request ID multiplies the bill.
- Detailed monitoring and high-resolution metrics. 1-minute EC2 metrics, high-resolution custom metrics and high-resolution alarms all cost extra.
- Log ingestion and storage. Verbose debug logs and logs without a retention policy (the default is to keep them indefinitely) add up quickly.
- Logs Insights queries, charged by data scanned.
- API requests. External tools that poll with
GetMetricDataorGetMetricStatisticsgenerate API charges; metric streams are billed per metric update instead. - Alarms, dashboards and optional features such as additional CloudFront metrics or S3 request metrics.
The most effective lever is to decide what to keep before it is stored: drop debug logs in production, aggregate before sending custom metrics, and set log retention on every log group. Our post on reducing observability costs pipeline-first describes the approach in detail.
CloudTrail and AWS Health events
AWS CloudTrail records API activity in your accounts. Management events (who changed a security group, deleted a bucket policy or modified an Auto Scaling group) are the fastest way to answer "what changed?" during an incident. Event history in the console covers recent management events; for longer retention and analysis, create a trail to S3 or CloudWatch Logs. Data events, such as S3 object-level access, must be enabled explicitly and add cost.
AWS Health reports service issues and scheduled changes that affect your resources, for example instance retirements or maintenance windows. Route Health events through Amazon EventBridge to your incident tooling instead of relying on someone checking the Health Dashboard. With AWS Organizations, the organizational view aggregates Health events across accounts.
Treat CloudTrail changes and Health events as annotations on your dashboards. A latency spike next to a security group change or a scheduled maintenance is often the whole root cause.
Tagging, multi-account and multi-region setup
Consistent tags turn thousands of resources into services that people own. A minimal tagging scheme:
# Example tag scheme (adapt names to your conventions)
service = checkout-api
team = payments
environment = production
cost-center = cc-1042
data-class = internal
- Enforce tags with infrastructure-as-code modules and, in AWS Organizations, tag policies. Activate the relevant tags as cost allocation tags so that cost and monitoring use the same vocabulary.
- Map tags to telemetry. The
serviceandenvironmenttags should match OpenTelemetry resource attributes such asservice.nameanddeployment.environment.name, so a CloudWatch metric and a trace point to the same service. - Centralise across accounts. CloudWatch cross-account observability links source accounts to a monitoring account per Region and can share metrics, log groups and traces. AWS recommends linking through Organizations so new accounts are onboarded automatically.
- Plan for Regions explicitly. Because metrics are regional, multi-region workloads need a collector or metric stream per Region, feeding one central backend.
Combining AWS metrics with OpenTelemetry traces
CloudWatch tells you that the ALB returns 5xx; traces tell you which service and which call caused it. The vendor-neutral way to get both into one place is OpenTelemetry. AWS maintains the AWS Distro for OpenTelemetry (ADOT), a supported distribution of the OpenTelemetry Collector and SDKs, and the upstream collector-contrib distribution includes several AWS components:
- AWS Container Insights receiver (beta, metrics): collects cluster, node, pod and container metrics on EKS, ECS and Kubernetes on EC2.
- AWS CloudWatch receiver (alpha, logs and metrics): reads CloudWatch Logs and can pull metrics via
GetMetricData, which incurs API charges. - Resource detection processor with the
ec2,ecsandeksdetectors: adds cloud, host and cluster attributes to every signal. - Metric streams in OpenTelemetry format as a push alternative to polling.
Component type names are being renamed in recent collector releases (for example awscontainerinsightreceiver to awscontainerinsight, and awscloudwatch to aws_cloudwatch), so check the README of the version you deploy. An example configuration for an EKS node collector:
# OpenTelemetry Collector on EKS (example, check names for your version)
receivers:
otlp:
protocols:
grpc:
http:
awscontainerinsightreceiver:
collection_interval: 60s
container_orchestrator: eks
processors:
resourcedetection:
detectors: [env, eks, ec2]
batch: {}
exporters:
otlphttp:
endpoint: https://otlp.example.com
service:
pipelines:
traces:
receivers: [otlp]
processors: [resourcedetection, batch]
exporters: [otlphttp]
metrics:
receivers: [otlp, awscontainerinsightreceiver]
processors: [resourcedetection, batch]
exporters: [otlphttp]
Run collectors with sensible memory limits, batching and retries; our article on OpenTelemetry Collector best practices in production covers the details.
Alerting recommendations and an AWS monitoring checklist
Page on symptoms, not on resources. A high CPUUtilization on one instance in an Auto Scaling group is rarely urgent; a rising ALB 5xx ratio or an SQS backlog older than your processing target is. Good patterns:
- Define SLOs for the main entry points and alert on error-budget burn rate instead of static thresholds. See SLOs in practice.
- Alert on leading indicators that cause hard outages: free storage, connection limits, burst and credit balances, replica lag and queue age.
- Use composite alarms or correlation so that one failing dependency produces one incident, not twenty alarms.
AWS monitoring checklist
- Golden signals for every customer-facing entry point (ALB, API Gateway, CloudFront)
- EC2 status check alarms; memory and disk collected by an agent or collector
- Detailed monitoring only where 1-minute resolution is needed
- EBS queue length and burst balance on critical volumes
- ALB target 5xx, ELB 5xx, unhealthy hosts and response time percentiles
- RDS free storage, connections, memory, latency and replica lag
- DynamoDB throttling (requests and events) and system errors with the right dimensions
- ElastiCache engine CPU, memory usage, evictions and replication lag
- SQS age of oldest message and dead-letter queue depth; SNS failed notifications
- Container metrics for EKS/ECS, including restarts and pending pods
- Retention set on every CloudWatch log group; debug logs dropped in production
- CloudTrail trail with long-term retention; Health events routed via EventBridge
- Tag scheme enforced; tags mapped to OpenTelemetry resource attributes
- Cross-account observability or central backend per Region
- OpenTelemetry tracing in all services, with trace IDs in logs
How Obseria helps with AWS monitoring
Obseria is an OpenTelemetry-native observability platform, so ADOT, the upstream OpenTelemetry Collector and CloudWatch metric streams in OpenTelemetry format all work as data sources. The AWS integration brings CloudWatch metrics together with traces and logs from your services, and cloud monitoring, Kubernetes monitoring and serverless monitoring cover the main AWS compute models.
- Obseria Pipeline filters, samples and masks telemetry before storage, which keeps volume and cardinality under control.
- Obseria TopoGraph maps services to their load balancers, databases, caches and queues.
- Obseria Intelligence correlates a metric anomaly, a recent change and the affected traces into one root cause with evidence.
- SLOs with burn-rate alerts and EU data residency are included.
You can connect your first AWS account and services with a free Obseria trial.