ECS Flashcards

1
Q

A ___ is a package that contains an app, libraries, runtime, and tools required to run it

A

container

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

_____ logical collection of ECS resources - either ECS EC2 instances or fargate instances

A

cluster

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

___ ____ defines your app. similar to a dockerfile but for running containers in ecs. can contain multiple containers

A

task definition

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

__ ___ inside a task definition, it defines the individual containers a task uses. controls CPU and memory allocation and port mappings.

A

container definition

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

___ single running copy of any containers defined by a task definition. one working ocpy of an app ( ie: db and web containers)

A

task

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

____ allows task definitions to be scaled by adding tasks. defines minimum and max values

A

service

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

____ storage for container images (elastic container registry (ECR) or docker hub) used to download images to creation containers

A

registry

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

what is fargate?

A

a serverless container engine

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

benefits of fargate?

A

eliminates the need to provision and manage servers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

how is pay handled with fargate?

A

specify and pay for resources per app

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

fargate works with both ecs and eks?

t or f

A

t

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

with fargate, each workload runs in its own kernel

t or f

A

t

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

why would i use ec2 over fargate?

A

compliance requirements

require broader customization

apps require access to GPUs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

____ is open source software that lets you deploy and manage containerized apps at scale

A

eks

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

how are you charged for ecr?

A

storage and data transfer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

which alb is preffered with ecs?

A

alb

it allows dynamic host port mapping, path based routing, priority rules