CloudWatch costs exploded. Where do you look?
IntermediateScenarioObservability, Secrets, KMS and CloudFormation
Answer
Situation read → Usually log ingestion and custom metrics.
What I'd do →
- Cost Explorer by usage type
DataProcessing-BytesandMetricMonitorUsage - Find noisy log groups with
aws logs describe-log-groupssorted bystoredBytes - Reduce debug logging, set retention, use Infrequent Access log class
- High-cardinality custom metric dimensions are charged per series
- Use EMF carefully
Why → Ingestion costs around 50 cents per GB, so chatty debug logs dominate.
Interview tip → Cardinality kills metric budgets.
More on Observability, Secrets, KMS and CloudFormation
You need to be paged when 5xx errors on the ALB exceed 2 percent for 5 minutes. How?BeginnerHow do you centralize application logs from many EC2 and ECS services?BeginnerInvestigate a latency spike across microservices on AWS. What tools do you use?IntermediateAn auditor asks for proof of every configuration change to security groups for 12 months. What do you provide?IntermediateAuto-remediate any security group opened to 0.0.0.0/0 on port 22.AdvancedWhere should application database passwords live and how do they rotate?Intermediate