AWS ECS Flashcards
What is the task?
As the task is one or more container definitions, with container def’s describing the container, image, memory and CPU.
What is the service?
Amazon ECS allows you to run and maintain a specified number of instances of a task definition simultaneously in an Amazon ECS cluster
What is a cluster?
An Amazon ECS cluster is a logical grouping of tasks or services. If you are running tasks or services that use the EC2 launch type, a cluster is also a grouping of container instances. containers.
What is the container definition?
It defined what a container is, like its image, CPU, Memory, port mapping, etc. It is part of a task and a task can have one or more container definitions.
What are the architectural elements in ECS
- Cluster
- Service
- Task definition
- Container definition
What are the launch methods for tasks?
- EC2
- FARGATE
What is the ECS agent?
It is the agent installed on the EC2 instances and controlled by AWS ESC the services
I wnat to deploy a windows container, can I do this in ECS?
Yes 100%, but you can only make it a server cluster and not fargate.
How the IAM works in ECS?
There are 2 types of IAM Role in ECS:
1. EC2 Instance Profile
2. ECS Task IAM Role
Explain ECS working Diagram
How does the
ECS Service auto scaling works?