Containers Flashcards
What is the main difference between ECS and Fargate?
With ECS you have to manage instances etc. Fargate is serverless, so you don’t manage instances
Are task roles the same as IAM roles?
No, an IAM role is assigned to a service. A task role is assigned to a specific ECS task that is running and it is advised to have 1:1
What is Dynamic Port Mapping?
It is when the ALB supports finding the right port on the EC2 instance
What must you allow to use Dynamic Port Mapping?
You must allow any port in your EC2 instance security group, from the ALB
Does Fargate use Dynamic Port Mapping?
No, Fargate uses ENI’s which all have a unique IP address, and are on port 80/443
How does Fargate work with an ALB?
We need to allow the ALB task port on the ENI’s security group