ECS Flashcards
A ___ is a package that contains an app, libraries, runtime, and tools required to run it
container
_____ logical collection of ECS resources - either ECS EC2 instances or fargate instances
cluster
___ ____ defines your app. similar to a dockerfile but for running containers in ecs. can contain multiple containers
task definition
__ ___ inside a task definition, it defines the individual containers a task uses. controls CPU and memory allocation and port mappings.
container definition
___ single running copy of any containers defined by a task definition. one working ocpy of an app ( ie: db and web containers)
task
____ allows task definitions to be scaled by adding tasks. defines minimum and max values
service
____ storage for container images (elastic container registry (ECR) or docker hub) used to download images to creation containers
registry
what is fargate?
a serverless container engine
benefits of fargate?
eliminates the need to provision and manage servers
how is pay handled with fargate?
specify and pay for resources per app
fargate works with both ecs and eks?
t or f
t
with fargate, each workload runs in its own kernel
t or f
t
why would i use ec2 over fargate?
compliance requirements
require broader customization
apps require access to GPUs
____ is open source software that lets you deploy and manage containerized apps at scale
eks
how are you charged for ecr?
storage and data transfer