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 →
- Enable AWS Cost Anomaly Detection with daily alerts to the team channel.
- Create AWS Budgets with alerts at 80% and 100% of forecast.
- Add a CloudWatch billing alarm on
EstimatedCharges(inus-east-1). - Alert on infrastructure metrics that predict cost: instance count per Auto Scaling group (
GroupInServiceInstances), node count in Kubernetes. - 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.
More on Cloud Monitoring, Incidents and Migrations
A new AWS workload uses EC2, an ALB and RDS, with only CloudWatch available. Which alarms do you create first?BeginnerThe CloudWatch bill jumped from $2k to $15k a month. How do you find and cut the cost?IntermediateYour company has 50 AWS accounts. How do you get one monitoring view?IntermediateYour team uses Prometheus and Grafana, but RDS, SQS and ALB metrics live only in CloudWatch. How do you unify?IntermediateHow do you monitor a fleet of AWS Lambda functions?BeginnerYour RDS PostgreSQL database gets slow every afternoon. What monitoring do you use to find out why?Beginner