AWS Builder Center

Your Kubernetes Cluster Is Probably Wasting Money — 7 AWS EKS Optimisations Most Teams Overlook

Discover seven practical ways to optimise AWS EKS infrastructure, improve Kubernetes resource utilisation, reduce unnecessary cloud spending, and build more cost-efficient, resilient platforms using Karpenter, Spot Instances, autoscaling and FinOps practices. Ideal for DevOps engineers, platform engineers and cloud architects managing production Kubernetes environments.

Your Kubernetes applications might be running perfectly.
Your deployments might be automated. Your pods might be healthy. Your CI/CD pipelines might be green.
But there is one question many engineering teams forget to ask:
Are we actually using the infrastructure we are paying for?
Running Kubernetes on AWS EKS is powerful, but without proper resource management, node optimisation and workload scheduling, organisations can spend significantly more than necessary.
The interesting part?
You don't always need to redesign your architecture to improve costs.
Sometimes, a few engineering decisions can make a substantial difference.
Here are seven areas I would review in almost every AWS EKS environment.

1. Stop treating CPU requests as an afterthought

One of the most common Kubernetes resource-management mistakes is configuring CPU and memory requests without analysing actual workload consumption.
For example:
A microservice requests:
  • CPU: 2 vCPU
  • Memory: 4 GiB
But its normal consumption is:
  • CPU: 300m
  • Memory: 900 MiB
Multiply this across dozens or hundreds of workloads, and your cluster may be reserving significantly more capacity than applications actually need.
What to do:
  • Analyse historical CPU and memory consumption.
  • Review requests and limits regularly.
  • Use VPA recommendations where appropriate.
  • Avoid blindly copying resource configurations between services.
The objective is not to minimise requests at all costs. It is to make resource allocation reflect actual workload requirements.

2. Use Karpenter for intelligent node provisioning

Traditional node groups can leave you with infrastructure that does not match changing workload requirements.
Karpenter can help provision appropriately sized EC2 instances based on pending pod requirements and scheduling constraints.
Consider:
  • Instance diversity.
  • CPU and memory requirements.
  • Availability Zone distribution.
  • NodePool requirements.
  • Disruption budgets.
  • Workload consolidation.
A properly configured Karpenter deployment can help improve infrastructure utilisation while reducing unnecessary capacity.

3. Stop running every workload on On-Demand instances

Not every application needs the same level of infrastructure protection.
Consider separating workloads into categories:
Critical workloads
  • Banking transactions
  • Customer-facing APIs
  • Stateful services
Flexible workloads
  • Batch processing
  • CI/CD runners
  • Development environments
  • Non-critical background workers
Where application architecture permits, Spot Instances can provide an opportunity to reduce compute costs.
However, Spot workloads need interruption handling, appropriate redundancy and graceful shutdown strategies.
Never move critical workloads to Spot simply because the hourly price is lower.

4. Make Horizontal Pod Autoscaling actually useful

HPA is not just about increasing pod replicas.
It is about ensuring that your applications can respond to changing demand.
Review:
  • CPU utilisation targets.
  • Memory metrics where appropriate.
  • Custom application metrics.
  • Minimum and maximum replica counts.
  • Scale-up and scale-down behaviour.
For workloads with unpredictable traffic, consider custom or external metrics rather than relying exclusively on CPU utilisation.

5. Review your idle environments

How many development, testing and staging environments remain running overnight?
How many temporary namespaces are never deleted?
How many preview environments are consuming compute resources despite having no active users?
Introduce:
  • Automated environment scheduling.
  • Namespace lifecycle policies.
  • TTL-based cleanup.
  • Automated shutdown for non-production environments.
This is often an overlooked area of cloud cost management.

6. Don't ignore observability costs

Prometheus, Grafana, CloudWatch and logging platforms are essential.
But poorly managed observability can become expensive.
Review:
  • Metric cardinality.
  • Log retention periods.
  • Duplicate metrics.
  • High-volume debug logging.
  • Unnecessary data ingestion.
  • Storage retention policies.
Good observability should help engineers solve problems without creating another infrastructure problem.

7. Build cost optimisation into your engineering culture

This is perhaps the most important recommendation.
Cloud cost optimisation should not be a quarterly finance exercise.
It should be part of everyday platform engineering.
Introduce:
  • Cost allocation tags.
  • Namespace-level resource visibility.
  • Team-level cost dashboards.
  • Regular Kubernetes resource reviews.
  • Infrastructure cost checks during architecture reviews.
  • FinOps ownership across engineering teams.
When engineers can see the cost of the infrastructure they operate, they can make better decisions.



Putting it all together

A practical AWS EKS cost-optimisation architecture could combine:
  1. Amazon EKS for container orchestration.
  1. Karpenter for dynamic node provisioning.
  1. EC2 Spot and On-Demand capacity for different workload requirements.
  1. HPA and VPA for workload scaling and resource recommendations.
  1. Prometheus and Grafana for operational visibility.
  1. AWS Cost Explorer and cost allocation tags for financial visibility.
  1. GitOps for consistent infrastructure and configuration management.
The real objective is not simply to run fewer EC2 instances.
It is to build a platform that is scalable, resilient, observable and financially efficient.

One question for the Kubernetes community

If you could fix just ONE thing in an existing AWS EKS environment tomorrow, what would you prioritise?
A. Over-provisioned CPU and memory B. Inefficient node provisioning C. Missing Spot Instance strategy D. Poor observability and monitoring costs E. Idle non-production environments
I'd particularly like to hear from engineers managing production Kubernetes environments.
If you found this useful, share it with someone who manages AWS infrastructure or Kubernetes platforms. They might discover an optimisation opportunity they have been overlooking.
Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article