Cut EKS compute cost by 40% without hurting reliability. What's your plan?
AdvancedScenarioCost
Answer
Situation read → EKS waste comes from three places: inflated pod requests, poorly packed nodes, and paying on-demand prices for everything.
What I'd do →
- Right-size requests using real usage (VPA in recommendation mode or Prometheus p95 over two weeks). Requests drive node count; inflated requests mean idle nodes.
- Bin-pack better with Karpenter consolidation, so underused nodes are removed and pods are repacked.
disruption:
consolidationPolicy: WhenEmptyOrUnderutilized
consolidateAfter: 5m
- Spot for stateless workloads with diverse instance families, and on-demand for stateful and critical system pods.
- Graviton where images support arm64.
- Savings Plans (Compute) for the steady baseline that's left after the above.
- Protect reliability: PodDisruptionBudgets, topology spread across AZs, and Karpenter disruption budgets so consolidation never removes too much at once.
Why → Do it in this order: right-size first, then commit. Buying Savings Plans before right-sizing locks in waste.
Interview tip → The order (right-size → pack → spot → commit) is the senior answer.
More on Cost
The AWS bill jumped 40% this month and finance wants an explanation by tomorrow. How do you find out why?BeginnerThe "NAT Gateway – data processed" line is $9,000 a month. How do you bring it down?IntermediateDev and test environments run 24/7 but are used only during office hours. How do you cut that cost?BeginnerCloudWatch Logs costs more than the EC2 fleet. What do you do?IntermediateFinance asks you to buy commitments. Savings Plans or Reserved Instances, and how much?IntermediateYou want to run production workloads on Spot. How do you do it safely?Advanced