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.
More on Cost Optimization
Where do you start when asked to cut an AWS bill?BeginnerCompute Savings Plans vs EC2 Instance Savings Plans vs Reserved Instances?IntermediateHow do you size a Savings Plans commitment?AdvancedWhere is Spot a good fit and where is it not?BeginnerHow do you configure an ASG for Spot reliability?IntermediateWhy move to Graviton and what blocks it?Intermediate