ECS Flashcards
What is ECS?
Elastic Container Service
Deploy and scale containerized workloads
What is a Container
Similar to a virtual operating env.
Made up of stateless microservices
What can ECS run on?
Cluster of VMS (ECS)
Fargate for Serverless
EC2 for more control
What is ECR
Elastic Container Registry
What to do if you already have docker?
Connect image to ECR then connect EC2 to ECR
Docker build
Docker tag
Docker push
How to define build commands in ECS?
bulidspec.yaml
What task placement stragies does ECS support?
binpack
random
spread
What is the binpack strategy for ECS?
Places tasks based on least available amount of CPU or memory to minimize number of instances used
What ECS feature allows you to write expressions to group container instances by specific attributes
Cluster Query Language
A set of related tasks in ECS are called
Task Group
Rule that is considered during task placement ECS
Task Placement Constraint
Algorithm for selecting ECS
Task Placement Strategy
What is Fargate
way to run containers without having to manage servers or EC2 instances.
support container images hosted on ECR or Docker Hub
If want to troubleshoot ECS what should you do?
Install the X-Ray daemon on a new container alongside your app
What port do you need to configure in order to use AWS S-Ray daemon to listen to app traffic?
UDP port 2000