🔶

Amazon ECS

  • AWS-managed container orchestration service for deploying, managing, and scaling Docker containers.
  • Runs containers on:
    • EC2 Launch Type – You manage the underlying EC2 instances in the cluster.
    • Fargate Launch Type – Serverless mode where AWS manages the infrastructure; you only define CPU, memory, and networking.

Key Features

  • Task Definitions – Blueprint that describes containers, images, CPU/memory requirements, environment variables, and networking.
  • Services – Ensure the desired number of tasks are always running, optionally behind a load balancer.
  • Cluster Management – Logical grouping of tasks or services, either on EC2 or Fargate.
  • Auto Scaling – Adjusts the number of tasks based on demand.
  • Integration – Works with ALB/NLB, IAM, CloudWatch, ECR, and AWS VPC networking.

Use Cases

  • Running microservices in production.
  • Batch processing workloads.
  • Migrating from on-premises Docker to AWS.
 
🔷
What is Docker?
🟢
Amazon ECS – EC2 Launch Type
🟢
Amazon ECS – Fargate Launch Type
🟢
Amazon ECS – IAM Roles for ECS
🟢
Amazon ECS – Load Balancer Integrations
🟢
Amazon ECS – Data Volumes with Amazon EFS
🟢
ECS Service Auto Scaling
🟢
ECS Tasks Invoked by EventBridge
🟢
ECS – SQS Queue Integration
🟢
ECS – Intercepting Stopped Tasks with EventBridge