Interview Prep/Monitoring & Observability/Cloud Monitoring, Incidents and Migrations

The CloudWatch bill jumped from $2k to $15k a month. How do you find and cut the cost?

IntermediateScenarioCloud Monitoring, Incidents and Migrations
Answer

Situation read → Usual suspects: log ingestion, custom metrics with high-cardinality dimensions, and API calls from dashboards or exporters.

What I'd do →

  1. Cost Explorer filtered on CloudWatch, grouped by usage type (DataProcessing-Bytes, MetricMonitorUsage, GMD-Metrics, TimedStorage-ByteHrs).
  2. Logs: find the biggest log groups with the IncomingBytes metric; reduce DEBUG logging, set retention, use the Infrequent Access class for rarely searched logs.
  3. Custom metrics: look for dimensions like RequestId or UserId that create thousands of metrics.
  4. API calls: Grafana dashboards refreshing every 10 s or YACE polling every namespace every minute; reduce frequency and scope.
  5. Delete unused alarms and dashboards; set budgets with alerts.

Why → CloudWatch bills on several small meters that add up quietly.

Interview tip → Set --retention-in-days on every log group by default through IaC; "never expire" is the default.

All Monitoring & Observability questions

More on Cloud Monitoring, Incidents and Migrations