ECS, Fargate, ECR, EKS Flashcards
What are 2 the uses cases for Docker?
microservices architecture
lift-and-shift apps from on- premises to the AWS cloud
What are the 4 AWS Docker Container Management??
ECS - Elastic Container Service
EKS - Elastic Kubernetes Service
Fargate
ECR - Elastic Container Registry
What are 2 Docker Image stores
Docker Hub
ECR - Elastic Container Registry
What are 2 ECS Launch Types?
EC2 Launch Type
Fargate Launch Type
Amazon ECS - Launch Type - you must provision & maintain the infrastructure
EC2 Launch Type
In Amazon ECS - EC2 Launch Type, who takes care of starting / stopping containers?
AWS
In Amazon ECS - EC2 Launch Type, Each EC2 Instance must run the ______________ to register in the ______________
ECS Agent
ECS Cluster
How to scale a Fargate LaunchType
just increase the number of tasks
Amazon ECS – LaunchType - You do not provision the infrastructure. It’s all Serverless
Fargate LaunchType
IAM Roles for ECS
* Used by the ECS agent ECS
* Makes API calls to ECS ser vice ECR
* Send container logs to CloudWatch Logs
* Pull Docker image from ECR
* Reference sensitive data in Secrets Manager or SSM Parameter Store
EC2 Instance Profile (EC2 Launch Type only)
IAM Roles for ECS
* Allows each task to have a specific role
* Use different roles for the different ECS Services you run
* Task Role is defined in the task definition
ECS Task Role
Which 3 types of Load Balancers are supported with ECS?
Application Load Balancer
Network Load Balancer
Classic Load Balancer
Amazon ECS – Load Balancer Integrations
supported and works for most use cases
Application Load Balancer
Amazon ECS – Load Balancer Integrations
recommended only for high throughput / high performance use cases, or to pair it with AWS Private Link
Network Load Balancer
Amazon ECS – Load Balancer Integrations
supported but not recommended (no advanced features – no Fargate)
Classic Load Balancer
Does EFS work for both EC2 and Fargate launch types?
YES