Skip to main content
CloudBit Logo
Cloud

Containers on AWS: ECS, EKS or Fargate?

Three ways to run containers on AWS with different levels of control and operational complexity. How to choose based on your team and workload.

· 7 min read · CloudBit team

Orchestrator and capacity: two separate decisions

On AWS it helps to split two questions: which orchestrator to use (ECS, AWS's native one, or EKS, managed Kubernetes) and where containers run (EC2 instances you manage, or Fargate, where AWS manages the servers). Fargate works with both orchestrators.

ECS: simple and deeply integrated

ECS has fewer moving parts, integrates natively with load balancers, IAM, CloudWatch and Secrets Manager, and doesn't charge for the control plane. For small and mid-sized teams running web apps and APIs, it is usually the fastest path to production.

EKS: the Kubernetes ecosystem

EKS makes sense when you need portability across clouds or on-premise environments, Kubernetes ecosystem tools (Helm, Argo CD, operators) or teams that already know Kubernetes. In exchange it requires more knowledge: version upgrades, add-ons, network policies and a steeper learning curve.

Tools like Karpenter for node autoscaling and EKS Auto Mode significantly reduce the operational work.

Fargate: no servers to manage

With Fargate there are no instances to patch and no capacity to plan: you pay for the CPU and memory of each task. It is ideal for variable workloads and teams without dedicated operations staff. For large, steady workloads, EC2 with reserved or Spot instances can be cheaper.

How we decide with our clients

Without a strong Kubernetes requirement, we start with ECS on Fargate: it demands the least operations. If the team already works with Kubernetes or needs its ecosystem, EKS with managed nodes and Karpenter. Either way, everything is defined as infrastructure as code and deployed from a pipeline.

Frequently asked questions

Want to apply this at your company?

Book a free 30-minute technical consultation.

Talk to a specialist