ECS (Elastic Container Service) Flashcards
What is Docker?
- 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
What is Amazon ECR?
- 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
What is Amazon ECS?
Elastic Container Service
Launch the containers in AWS.
Start/Stop the containers.
It’s integrated with Load Balancers
Page 205
What is your responsibility at using Amazon ECS?
You must provision & maintain
the infrastructure (the EC2
instances)
Page 205
What is Fargate?
- 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
What is ECR?
+ Elastic Container Register
+ It’s the equal of Docker, where the Docker images live in AWS.
+ It’s private.
Page 207
What is Serveless?
+ 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
What of this services is not Serveless?
a. S3
b. EC2
c. Fargate
d. Dynamo DB
e. Lambda
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
What is AWS Lambda?
A SaaS (Serveless) that:
* Runs functions.
* Short Duration
* Run On-Demand
* it’s sclaing is automed.
Page 210
What are the main difference beteween EC2 and Lambda?
- 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
Does AWS manage Event-Drive?
YES
The Lambda function can be invoked whenever it’s neccesary.
Page 211
Which AWS Entity monitors AWS Lambda?
AWS CloudWatch
Page 211
What Image Format prefers ECS or Fargate?
Docker Image.
Page 212
Where do you can find a Lambda Container Image.
Lambda Runtime API
Lambda Container Image is the format that MUST be used with Lambda Runtime API
Page 212
What AWS Service do you need to invoke Lambda Fucntions
Amazon API Gateway, which fordwards the request to the Lambda Function.
Page 216