ECS, Lambda, Batch, Lightsail Flashcards

1
Q

What is Docker?

A

Allows to run packaged into containers apps in the same way regardless of where they run.

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

What is ECS (Elastic Container Service)

A

Allows to launch Docker Containers on AWS, however it requires an EC2 instance to be provisioned first.

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

What does ECS do better than just an docker on EC2?

A

AWS takes care of starting and stopping the containers and has integrations with application load balancers.
In case of having multiple EC2 Instances the ECS will find which Instance to start the docker file on best.

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

What is Fargate?

A

It also allows to launch Docker containers on AWS, however without the need to have an EC2 Instance provisioned. We just have to enter the required by us specs for the CPU / RAM for the container.
It is serverless :)

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

What is ECR (Elastic Container Registery)

A

Private Docker Registery on AWS to be able to run them on ECS or Fargate

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

What is Amazon EKS?

A

Elastic Kubernetes Service
Alloes to launch Kubernetes clusters on AWS. (open-source system for management, deployment and scaling of contenerized apps - Docker)

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

Where can EKS Node be hosted?

A

EC2 Instances and or Fargate. On EC2 the EKS Pods running the docker containers will be started on EKS Nodes (EC2 Instances)

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

What is serverless?

A

Meaning developers don’t have to manage the servers.
Initially meant ~ FaaS (Lambda)
Nowadays much more as e.g. S3, DynamoDB, Fargate etc that are not just functions

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

What is AWS Lambda?

A

FaaS,
On EC2 we are limited by RAM & CPU have to scale and run it more or less continuously
With Lambda we have virtual functions that run on-demand limited only by time.

Great example: CRON Jobs (jobs running on a schedule)

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

What are benefits of AWS Lambda?

A

Easy Pricing:
* pay per request and compute time.
* free tier is massive
Event-driven:
* functions get invoked by AWS when needed
* can run a lot of languages

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

How does a AWS Lambda start?

A

We need to create a trigger in the UI.

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

What is an API Gateway.

A

A service that exposes AWS internal stuff as e.g Serverless Lambda.
It allows to create APIs that are serverless and scalable.
Perfect for building a SERVERLESS API is the API GAWTEWAY and LAMBDA

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

What is AWS Batch?

A

Fully managed batch processing at any scale (jobs with start and end).
It is a docker image that can run on ECS.

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

What are differences between Batch and Lambda

A

Lambda has 15 min time limit, limited temp disk space and it’s serverless
Batch has no time limit (based on EC2), no storage limit as it relies on EBS / instance storage

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

What is Amazon Lightsail?

A

Low and predictable pricing, simpler alternative to using EC2, RDS, ELB etc.

Good for simple web applications for people with little cloud experience.
No auto-scaling, high availability, limited AWS integrations.

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