Concepts

AWS ECS

AWS container orchestration service that runs and scales Docker applications without managing the underlying cluster infrastructure.

seed#aws#ecs#containers#docker#orchestration#cloud

What it is

Amazon ECS (Elastic Container Service) is AWS's container orchestration service. It runs Docker containers at scale with two launch modes: EC2 (you manage instances) and Fargate (serverless, AWS manages everything).

Key concepts

ConceptFunctionK8s equivalent
Task DefinitionContainer blueprint (image, CPU, memory, ports)Pod spec
TaskRunning instance of a task definitionPod
ServiceMaintains N running tasks with load balancingDeployment + Service
ClusterLogical grouping of tasks and servicesCluster + Namespace

ECS vs EKS

AspectECSEKS
ComplexityLower, AWS nativeHigher, Kubernetes standard
PortabilityAWS lock-inMulti-cloud
EcosystemAWS toolsFull K8s ecosystem
CostNo control plane fee$0.10/hr per cluster

Common patterns

  • Microservices: each service as an ECS service with ALB
  • Batch processing: tasks that process and terminate
  • Sidecar: auxiliary containers alongside the main one

Why it matters

ECS is the most direct way to run containers on AWS without the operational complexity of Kubernetes. With Fargate, it eliminates EC2 instance management, and with native integration to ALB, CloudWatch, and IAM, it is the pragmatic choice for teams that don't need Kubernetes portability.

References

Concepts