ECS service
An ECS setting that keeps a desired number of tasks running from one task definition and, optionally, behind a load balancer.
In more detail
The service is the promise that running copies should keep existing: it replaces failed tasks and rolls out new revisions. Changing the desired count is how an ECS workload scales.
Related terms
- Amazon ECS — Amazon Elastic Container Service, the AWS-native service that runs and keeps containers running on EC2 or Fargate.
- ECS task — One running copy of an ECS task definition: a set of containers started together on EC2 or Fargate.
- desired capacity — The number of instances or tasks a scaling group or service tries to keep running, kept between a minimum and a maximum.
- load balancer — A server that spreads incoming requests across several copies of a service so no single copy is overloaded.
Taught in
- Containers on AWS (ECS and EKS) — Cloud Infrastructure & Hyperscaler Architecture
- Comparing Compute Options — Cloud Infrastructure & Hyperscaler Architecture