Interview Prep/AWS/Cost Optimization

How do you rightsize EC2, RDS and containers?

IntermediateProductionCost Optimization
Answer

AWS Compute Optimizer gives recommendations for EC2, ASGs, EBS, Lambda, ECS on Fargate and RDS, based on CloudWatch metrics; enable enhanced infrastructure metrics (3 months lookback) and install the CloudWatch agent for memory metrics or recommendations will ignore memory. For Kubernetes, compare requests to actual usage (Kubecost, Container Insights, VPA recommendations). Rightsize in non-prod first, change one dimension at a time, and watch p99 latency after.

aws All AWS questions Roadmap: Cloud cost & architecture

More on Cost Optimization