Prometheus vs CloudWatch

Self-hosted metrics vs AWS-native observability — cost and portability tradeoffs.

Aspect📈 Prometheus☁️ CloudWatch
ModelPull metrics, PromQLPush/pull via agent, CloudWatch Metrics Insights
CostInfra + storage you managePer-metric/per-request; can grow fast
K8skube-prometheus-stack standardContainer Insights / ADOT collector
AlertingAlertmanager + routesCloudWatch Alarms + SNS/PagerDuty
PortabilityCloud-agnostic, same stack everywhereAWS-only
Long-term storageThanos, Mimir, CortexS3 export, limited retention default

When to use which

Prometheus

Multi-cloud, K8s-native metrics, and PromQL across all environments.

CloudWatch

All-in on AWS, minimal ops, and tight integration with Lambda/RDS/ALB.

Templates & guides