Amazon ECS Exam frequency ⭐⭐⭐⭐⭐

Amazon ECS

Amazon Elastic Container Service

computeAmazon ECSAWS
Last organized

AWS-native container orchestration for deploying, scheduling, scaling, and maintaining container workloads.

Basic Information

FieldDetails
English nameAmazon ECS
Full nameAmazon Elastic Container Service
Chinese descriptionAWS 原生容器编排服务
Japanese descriptionAmazon ECS(コンテナオーケストレーションサービス)
Exam frequency⭐⭐⭐⭐⭐
Often confused withEKS / Fargate / ECR

In one sentence

AWS-native container orchestration for deploying, scheduling, scaling, and maintaining container workloads.

Key points

  • Task Definition is the run template, Task is one execution, Service maintains desired tasks, and Cluster groups capacity.
  • ECS can run on EC2 for more control or on Fargate to avoid managing servers.
  • Images are stored in ECR; EC2 or Fargate supplies compute while ECS performs orchestration.

Exam takeaway

A common path is code → image → ECR → Task Definition → ECS Service → ALB and Auto Scaling.

Update: roles and capacity providers

  • A task role authorizes application code in the container. A task execution role lets the ECS agent pull ECR images, publish logs, and retrieve startup secrets.
  • A capacity provider defines whether tasks obtain compute from Fargate, Fargate Spot, or an Auto Scaling group.
  • In a strategy, Base is the minimum initial allocation and Weight controls relative distribution of the remaining tasks; neither is a fixed percentage.