Skip to content

Containers

Context for this doc: Assume you have a Docker container.

AWS Documentation - Containers

Sam

AWS container services (not exhaustive)

  • ECR: Elastic Container Registry (store)

  • ECS: Elastic Container Service (orchestration)

Flow (containers):

  1. ECRStore C's images

  2. ECSOrchestrates which Cs to run & where

    1. FargateCompute engine that executes containers

ECR & ECS

ECR

  • is: a fully managed Docker container registry

  • purpose: where devs store + manage + deploy Docker container images.

ECR

  • integrates with ECS to simplify dev ⟶ prod workflow

  • hosts images in a highly scalable architecture

  • 0 upfront fixed costs, pay for data you store

ECS

  • is: a container orchestration service

  • purpose: enables running containerized apps on AWS

API calls lets you

  • launch & stop Docker-enabled apps

  • query app's complete state

  • access other features

ECS eliminates need to manage/scale clusters of VMs, and also schedule containers on those VMs.