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)
- Compute#Fargate (compute)
Flow (containers):
-
ECR → Store C's images
-
ECS → Orchestrates which Cs to run & where
- Fargate → Compute 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.