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

A misconfigured autoscaler ran 200 extra instances over a weekend. How do you catch cost spikes early?

BeginnerScenarioCloud Monitoring, Incidents and Migrations
Answer

Situation read → Cost is a signal too and should be monitored like latency.

What I'd do →

  1. Enable AWS Cost Anomaly Detection with daily alerts to the team channel.
  2. Create AWS Budgets with alerts at 80% and 100% of forecast.
  3. Add a CloudWatch billing alarm on EstimatedCharges (in us-east-1).
  4. Alert on infrastructure metrics that predict cost: instance count per Auto Scaling group (GroupInServiceInstances), node count in Kubernetes.
  5. Set max sizes on Auto Scaling groups and Karpenter NodePools (limits).

Why → Billing data is delayed; capacity metrics alert in minutes.

Interview tip → Mention tagging to attribute cost to teams.

All Monitoring & Observability questions

More on Cloud Monitoring, Incidents and Migrations