SaveMyCert
Cloud services

What is Amazon ECS? A plain-English explainer

Amazon ECS, short for Elastic Container Service, is AWS’s own container orchestration service — it runs and manages containers for you, deciding where they run, keeping them healthy, and scaling them as demand changes. Packaging an application as a container solves how it runs consistently; it does not solve how a fleet of containers gets started, networked, monitored and replaced when something fails, especially once an application is made up of many containers rather than one. That coordination job is orchestration, and ECS is AWS’s answer to it — built to be AWS-native and comparatively simple to adopt if you are already working inside AWS. Here is what orchestration actually means, how ECS compares to its Kubernetes-based sibling EKS, and how the choice between Fargate and EC2 fits underneath it.

What container orchestration actually is

A single container is easy to run by hand. A real application, though, is usually made up of several containers working together, each of which may need to be started in the right order, restarted if it crashes, scaled up under load, and connected to the others over the network — and doing all of that manually does not hold up once you have more than a handful of containers.

Orchestration is the software layer that handles this automatically: it decides where each container runs, keeps the desired number running, replaces failed ones, and manages the networking between them. Our what-is-docker explainer covers what a container actually is, and our docker-vs-kubernetes explainer covers orchestration as a concept in more depth. ECS is AWS’s own orchestrator, built specifically for the AWS platform.

What ECS actually does

With ECS, you describe the containers you want running — what image to use, how much compute and memory each needs, how many copies should be running — and ECS takes care of scheduling them onto capacity, monitoring their health, restarting failed ones, and scaling the count up or down as configured. It integrates tightly with the rest of AWS: load balancing, networking, logging and monitoring all connect to ECS with comparatively little extra configuration, because it was built as part of the same platform rather than layered on top of it.

ECS vs EKS

AWS actually offers two container orchestrators, and the choice between them is a common early decision. ECS is AWS’s own orchestrator, with its own simpler model and concepts specific to AWS — a reasonable starting point if your team has no existing Kubernetes experience and does not need it. Amazon EKS (Elastic Kubernetes Service) is managed Kubernetes on AWS: the same open-source orchestrator used across many clouds and on-premises, which brings a larger ecosystem and portability across providers at the cost of Kubernetes’ own added complexity.

Put simply: choose ECS for a more AWS-native, generally simpler experience; choose EKS if you need Kubernetes specifically — because your team already knows it, because you need portability across clouds, or because you depend on tools built for the Kubernetes ecosystem.

ECS with Fargate vs EC2

Whichever orchestrator you pick, you still need somewhere for containers to physically run, and ECS gives you a choice there too. Our what-is-aws-fargate explainer covers this in detail, but the short version: running ECS on Fargate means AWS manages the underlying servers entirely, and you pay for the compute and memory your containers actually use — a serverless approach with no servers to size or patch. Running ECS on EC2 means you manage your own fleet of virtual servers as the container hosts, trading that convenience for more control over the underlying environment.

This is a decision that sits underneath ECS rather than instead of it — ECS is still the orchestrator making scheduling and health decisions either way; Fargate and EC2 are simply two different answers to where the containers it schedules actually execute.

When you would choose ECS

ECS suits teams already committed to AWS who want a comparatively simple, tightly integrated way to run containers without adopting Kubernetes’ broader learning curve. It is a weaker fit if portability across cloud providers matters, or if the team already has deep Kubernetes expertise and tooling built around it — in either of those cases, EKS is usually the more natural choice.

Where ECS appears in certification study

ECS appears in the AWS Developer Associate and Solutions Architect Associate exams as one of AWS’s core compute options for containerised applications, including the choice between ECS and EKS and between Fargate and EC2 launch types. It also comes up in the CloudOps Engineer Associate, where operating and troubleshooting running container workloads is part of the syllabus.

As with the other services covered here, the depth this article goes to is deliberately introductory. How ECS is actually configured, scaled and operated in real scenarios is exam-depth material, and that is what our /revision study library is built to cover.

Ready to start studying — free?

Original practice questions, timed mock exams and revision notes. No card, nothing to pay.

Jump straight into an exam
DVA-C02SAA-C03SOA-C03

Questions, answered

It is used to run and manage containers on AWS: scheduling where they run, keeping the desired number healthy and running, restarting failures, and scaling them as demand changes. It is AWS’s own container orchestration service, distinct from AWS’s managed Kubernetes offering.

Keep reading

Cloud services
What is Amazon RDS? A plain-English explainer
Cloud services
What is Amazon Redshift? A plain-English explainer
Cloud services
What is Amazon S3? A plain-English explainer
Cloud services
What is Amazon SageMaker? A plain-English explainer