Amazon Elastic Container Service (ECS) is AWS’s own container orchestrator. It runs and scales Docker containers, tightly integrated with AWS services, and is simpler to operate than Kubernetes.
When ECS fits
Choose ECS when you want to run containers on AWS without the complexity of Kubernetes and don’t need Kubernetes-specific portability. It runs on the EC2 or Fargate launch type, integrates with ALB, IAM, and CloudWatch, and pulls images from ECR. Need Kubernetes specifically? That’s EKS.
How ECS runs containers
Amazon ECS is a container orchestration service for deploying, scheduling, and managing containerized applications. A task definition describes how a task should run, including container images, CPU and memory settings, networking, and other configuration. ECS tasks and services can run on managed Amazon EC2 capacity or on AWS Fargate, where AWS manages the underlying compute infrastructure.
Choose the launch model based on the level of infrastructure control required. EC2 launch type gives you control over the underlying instances and capacity management. Fargate is useful when you want to run containers without managing EC2 instances. ECS is the orchestration layer; it is not itself a container image registry.
Common exam traps
- Run and manage containers using AWS-native orchestration → ECS.
- Run ECS tasks without managing servers → Fargate launch option.
- Store and retrieve container images → Amazon ECR.
Official reference: What is Amazon ECS?.
EC2 launch type vs Fargate
The orchestration choice and the compute choice are separate decisions. ECS manages the container tasks and services; the launch model determines who manages the underlying compute capacity.
- ECS on EC2: choose when you need control over instance types, host configuration, or capacity management, and can operate the worker fleet.
- ECS on Fargate: choose when you want to run supported tasks without provisioning or patching EC2 container hosts. You still configure task definitions, networking, IAM permissions, and application logging.
- EKS: choose when Kubernetes compatibility and its APIs or ecosystem are explicit requirements, not simply because the workload uses containers.
Exam clue: “containers without managing servers” points toward Fargate; “existing Kubernetes manifests and tooling” points toward EKS; “AWS-native container orchestration” without a Kubernetes requirement often points toward ECS.
Test yourself
A team wants to run Docker containers on AWS with the simplest, AWS-native orchestration and no need for Kubernetes portability. Which service?
- Amazon EKS
- Amazon ECS
- Amazon EC2 alone
- AWS Lambda
👉 Click to reveal the answer & explanation
Correct answer: B. ECS is AWS’s native, simpler container orchestrator — ideal when you don’t need Kubernetes. EKS (A) is managed Kubernetes (more complex); raw EC2 (C) means orchestrating containers yourself; Lambda (D) runs functions, not long-running containers.
Related topics
ECS vs EKS vs Fargate · Amazon EKS · Amazon ECR
Ready to pass the AWS Solutions Architect Associate (SAA-C03)?
Stop guessing whether you’re ready. Our full-length, exam-realistic practice exams put you through the exact question style you’ll face — with a detailed explanation behind every answer, so you learn why, not just what.
- ✓ 6 full-length practice exams
- ✓ A detailed explanation for every single question
- ✓ Realistic, scenario-based questions — not memory dumps
- ✓ 6 months of access to your selected certification pack
Get the SAA-C03 Practice Exams →or try 25 free questions first