Elastic Container Service (ECS) / Fargate Flashcards

1
Q

An ECS cluster is a collection of what?

A

EC2 Instances

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

Which format is used for ECS task definitions?

A

JSON

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

What can you configure when creating an ECS cluster?

  • Networking only (Fargate)
  • EC2 Linux + Networking

There are six elements in the answer

A
  • Provisioning Model (On Demand / Spot)
  • EC2 instance type (T2.micro…)
  • Number of instances (1)
  • EC2 Ami Id (Amazon Linux 2)
  • Key pair (From a list)
  • IAM Role
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How many ‘essential’ containers must you specify as a minimum for an ECS task?

A

1

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

What are some common container definitions you might find in a task definition JSON file?

There are three elements

A

cpu

image

memory

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

What is the amount of usage time you will be billed for a Fargate task lasting a few seconds?

A

1 Minute

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

Which AWS service provides the cluster you use to run Fargate tasks on?

A

ECS

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

Which AWS service provides a shorter cold start time?

Fargate

Lambda

A

Fargate

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

What is the maximum duration for a Fargate task?

A

Unlimited

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

What is the maximum memory limit for a Fargate tasks?

A

30GB

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

What is Elastic Container Service (ECS)?

What are its 5 components?

A
  • It’s a orchestration service
  • Clusters (EC2 instances)
  • Task Definition (JSON FILE)
  • Task (Launches Containers)
  • Service (Ensure tasks remaining running)
  • Container Agent (Monitors, starts and stops tasks)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is Fargate?

What are its 3 key features?

A
  • It’s Serverless containers
  • Duration (As long as you want)
  • Memory (30 GB)
  • Pricing (At least one minute)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is Elastic Container Registry (ECR)?

A

-It’s a Docker container registry where you can store your container images

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