ECS (Elastic Container Service) Flashcards

1
Q

What is Docker?

A
  • A software development platform to deploy apps.
  • Apps are in containers.
  • Docker deploy the container along severar SOs
  • You can deploy and scale you app quickly.

Page 201

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

What is Amazon ECR?

A
  • Amazon Elastic Container Register.
  • The private repository for Containrer Images.
  • Same as Docker but private.
  • Here is where your Docker Image is stored.

Page 203

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

What is Amazon ECS?

A

Elastic Container Service
Launch the containers in AWS.
Start/Stop the containers.
It’s integrated with Load Balancers

Page 205

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

What is your responsibility at using Amazon ECS?

A

You must provision & maintain
the infrastructure (the EC2
instances)

Page 205

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

What is Fargate?

A
  • Simila to ECS but serveless.
  • You don’t need EC2 instances to run you rcontainer.
  • It runs the container in somewhere as SaaS.
  • it sets the CPU&RAM according you need.

Page 206

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

What is ECR?

A

+ Elastic Container Register
+ It’s the equal of Docker, where the Docker images live in AWS.
+ It’s private.

Page 207

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

What is Serveless?

A

+ A service that is not manage.
+ You don’t have to worry about the server where the serveless service is running
+ Basicaly, consist on deploy code: Function as a Service (FaaS).

Page 208

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

What of this services is not Serveless?

a. S3
b. EC2
c. Fargate
d. Dynamo DB
e. Lambda

A

B This service implies to manage instances of Machines. The remainder are pure managed services, which means that all of them works over a platform (PaaS) to provide a Service (SaaS).

Page 209

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

What is AWS Lambda?

A

A SaaS (Serveless) that:
* Runs functions.
* Short Duration
* Run On-Demand
* it’s sclaing is automed.

Page 210

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

What are the main difference beteween EC2 and Lambda?

A
  • EC2 is Virtual Server and Lambda is a Virutal Function
  • EC2 is Limited by CPU and Lambda by Time.
  • EC2 contantly runs and Lambda runs on-demand
  • EC2 needs asistance to add/remove resources and Lambda Scales Autmated.

Page 210

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

Does AWS manage Event-Drive?

A

YES
The Lambda function can be invoked whenever it’s neccesary.

Page 211

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

Which AWS Entity monitors AWS Lambda?

A

AWS CloudWatch

Page 211

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

What Image Format prefers ECS or Fargate?

A

Docker Image.

Page 212

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

Where do you can find a Lambda Container Image.

A

Lambda Runtime API
Lambda Container Image is the format that MUST be used with Lambda Runtime API

Page 212

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

What AWS Service do you need to invoke Lambda Fucntions

A

Amazon API Gateway, which fordwards the request to the Lambda Function.

Page 216

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

How can you use Amazon API Gateway from a remote client?
(Talking about protocols or standars)

A
  1. RESTful (HTTP)
  2. Websockets

All of them support may ways of security.

Page 216

17
Q

What is AWS BATCH?

A
  • Run batch jobs on AWS across managed EC2 instances or Spot Instances
  • It’s a managed service.
  • BATCH Job can be considered as a Docker and run over a EC2.
  • Its main characteristic is that BATCH instances an EC2 instance to do the Job and, afert it’s done, finish the instance.

Page 217

18
Q

What are the main difference between BATCH and LAMBDA?

A

Batch use CPU, has no limit of use because it depends of EC2.

Lambda only runs along the function live, is serveless and it’s a temporary element.

Page 219

19
Q

What is Amazon Lightsail?

A
  • Is the service easy-to-use that Amazon provide to help implementing services in few mintues.
  • Its target is Any person who has no expertis on IT (with little cloud experience).
  • It has a predictable pricing.

Page 220

20
Q

Which AWS service allows you to launch Docker containers on AWS, but requires you to provision and maintain the infrastructure?

A

ECS allows you to launch Docker containers on AWS, but you must provision and maintain the infrastructure

Questionary