Containers & EC2 Flashcards

1
Q

Docker Files

A

used to build images

each step in Docker files creates a read only file system layers

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

Docker Image

A

Images contain read-only layers charges are layered onto the image using a differential architecture

Images are created from a base image or scratch

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

What the biggest benefit of using Docker ?

A

you can use a Docker image to create as many containers as you want isolating the ops in the read only layers and having Read Write layer on top that differentiates them.

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

Docker Host

A

can run many containers based on 1 or more images

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

Docker Containers

A

running instance of a docker image has separate read/write layer

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

Container Registry e.g. Docker Hub

A

where you can upload your docker image to be used by a docker host

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

Elastic container Services

A

EC2 product which allows you to use containers running on infrastructure which AWS fully mange or partially mange

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

ECS Container Definition

A

Just a pointer to where the container is stored and what ports are exposed

image and ports

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

ECS Task Definition

A

store the resources used by the task like CPU, memory, networking and compatibility

Security(Task Role), container(s), and resources

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

ECS Task Role

A

IAM Role which allows your application to interact with AWS resources

The IAM role which the Task assumes

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

ECS Service Definition

A

How we want a task to scale

how many copies, HA, and restarts

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

ECS Cluster

A

Aws container register like Docker Hub

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

What are the ECS cluster Types ?

A

Ec2 mode and Faregate mode

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

EC2 Mode

A

EC2 mode deploys EC2 instances into your AWS account which can be used to deploy tasks and services.

With EC2 mode you pay for the EC2 instances regardless of container usage

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

Fargate Mode

A

Fargate mode uses shared AWS infrastructure, and ENI’s which are injected into your VPC

You pay only for container resources used while they are running.

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

If your business already uses containers what how would you choose to operate your EC2 instances ?

A

ECS

17
Q

If your business has Large workloads and are price conscious how would you choose to operate your EC2 Instances ?

A

EC2 mode

18
Q

if your business has large workloads and are overhead conscious What mode would you choose to operate your EC2 instances in ?

A

Fargate Mode

19
Q

your business has small/burst workloads how would you choose to operate your ec2 instances ?

A

Fargate mode

20
Q

If your business has batch/periodic workloads how would you choose to operate your EC2 instances ?

A

Fargate mode