Skip to main content
  1. Projects/
  2. AWS DevOps Pro Certification/
  3. 2: Configuration Mgmt / Infrastructure as Code/
  4. 3: Containers and More/

1: ECS Overview

··1 min

First, what is ECR?

  • Docker hub but on AWS and private
  • Fully-managed container image registry
  • Works seamlessly with ECS, EKS, fargate
  • Compress, encrypt, control access

Then what’s ECS?

  • Deploy docker images from ECR
  • “Run anywhere”
  • Use docker imgs in task definitions to launch containers as part of tasks in clusters

What are task definitions?

  • Task definitions use docker to launch containers on the container instances in clusters

Workflow:

  1. Create container image
  2. Push to ECR / Docker Hub
  3. Task definition: Parameters for the app
  4. Container image is pulled from registry