ECS Flashcards
ECS Modes
EC2
Fargate
ECS Clusters
where your containers run from
ECS compatibility with Docker Hub
docker Hub can work seemlessly with ECS
ECS Container Definition
Contains Information about the container
(Pointer to where container is stored and what ports are exposed).
Like a pointer/Map
Task Definition
Complete information about the container(Like a Manifest).
- Resourcesused by the tasks (CPU, Memory
- Networking Mode
- Compatibility (EC2 or Fargate)
- Task Role(IAM Role that a Task can assume to run aws resources)
Task Vs Containers
A Task can include one or more containers
ECS Service definition
Defines how we want a task to scale
Quantity of tasks
Configures Scaling, Autoscaling, and High Availability
Resilience
ECS Service
Service handles capacity management.
you can not deploy service with a single Task. It is meant for Scaling operations
Define Ecs Task
task definition is a text file, in JSON format, that describes one or more containers, up to a maximum of ten, that form your application. It can be thought of as a blueprint for your application.
Ecs Task is an instantiation of Task definition