ECS Flashcards

1
Q

What is ECS?

A

Elastic Container Service

Deploy and scale containerized workloads

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

What is a Container

A

Similar to a virtual operating env.

Made up of stateless microservices

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

What can ECS run on?

A

Cluster of VMS (ECS)

Fargate for Serverless

EC2 for more control

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

What is ECR

A

Elastic Container Registry

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

What to do if you already have docker?

A

Connect image to ECR then connect EC2 to ECR

Docker build
Docker tag
Docker push

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

How to define build commands in ECS?

A

bulidspec.yaml

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

What task placement stragies does ECS support?

A

binpack
random
spread

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

What is the binpack strategy for ECS?

A

Places tasks based on least available amount of CPU or memory to minimize number of instances used

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

What ECS feature allows you to write expressions to group container instances by specific attributes

A

Cluster Query Language

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

A set of related tasks in ECS are called

A

Task Group

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

Rule that is considered during task placement ECS

A

Task Placement Constraint

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

Algorithm for selecting ECS

A

Task Placement Strategy

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

What is Fargate

A

way to run containers without having to manage servers or EC2 instances.

support container images hosted on ECR or Docker Hub

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

If want to troubleshoot ECS what should you do?

A

Install the X-Ray daemon on a new container alongside your app

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

What port do you need to configure in order to use AWS S-Ray daemon to listen to app traffic?

A

UDP port 2000

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

Where do you attach role if you want ECS to access an SQS Queue?

A

ECS Task