Blog

Amazon EKS autoscaling: separate signals for HPA and VPA

Alec Montaño · Lynx Pardelle · · Updated

Category
Technology
Subcategories
arquitectura cloudoperacion
Tags
awsamazon ekskubernetesautoscaling

Written with AI assistance

HPA adjusts replica counts; VPA adjusts pod resources. Combining them requires a clear account of the constraint each controller addresses and observable checks on service behavior. Primary source.

A recent case, published on November 16

Salesforce and AWS describe combining Vertical Pod Autoscaler (VPA) with Horizontal Pod Autoscaler (HPA) on Amazon EKS. They report over five million dollars in cumulative infrastructure savings. That figure belongs to this deployment, rather than a forecast for another team.

Their Istio example assigns CPU and memory sizing to VPA, while HPA changes replica counts using proxy connections. Each controller follows a different signal. Original case.

Technical context

Kubernetes documents custom-metric scaling through autoscaling/v2. It also defines CPU utilization relative to container resource requests: changing the denominator can change what the controller sees. Official documentation.

Interpretation: define the signal first

My takeaway is to give each capacity adjustment a clear job before introducing another controller. A workload that needs larger pods may have a different constraint from one that needs more copies.

A practical evaluation could start with one representative workload and a baseline for latency, errors, resource consumption, and cost. The pilot would then check whether capacity tracks demand without oscillation. Service quality and a workable rollback should be acceptance criteria alongside any savings.

That is a proposed way to evaluate the pattern, not a claim that I implemented the system or can reproduce its reported financial outcome.

Does Salesforce’s reported saving predict another cluster’s outcome?

No. That result belongs to the case. A separate pilot needs its own baseline for resource use, cost, latency, and errors.

Related engineering work

For application development or AWS architecture work, see my full-stack and AWS projects and my professional experience and contact details.

Sources