Other Compute Services: ECS, Lambda, Batch, Lightsail Flashcards

1
Q

What is Docker

A

a Software development platform to deploy apps

apps are packaged in containers that can run on any OS

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

Where are docker images stored

A

In Docker Repositories

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

What is ECS and what does it do

A

Elastic Container Service . Launches Docker containers on AWS
You must provision and maintain the infrastructure
AWS takes care of starting/ stopping containers
Has intergrations with the Application Load Balancer

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

What is Fargate

A

Launches Docker containers without an EC2 instance

AWS just run containers for you based on the CPU/RAM you need

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

What is ECR

A

Elastic Container Registry
Private Docker Registry on AWS
Where you store your Docker images so they can be run by ECS or Fargate

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

What is Serverless

A

a new paradigm in which the developers dont have to manage servers anymore

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

What is Lambda

A

is a compute service that lets you run code without provisioning or managing servers.

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

What are the benefits of using Lambda

A

Easy pricing
Integrated with the whole AWS suite of services
Event Driven : functions get involed by AWS when needed
Easy monitoring through AWS CLoudWatch
Easy to get more resources per functions (up to 10GB of RAM!)
increasing RAM will also improve CPU and network

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

What is the preferred way of running arbitrary Docker images

A

ECS/ Fargate

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

What is a cron job

A

used to schedule commands at a specific time.

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

How is Lambda pricing calculated

A

Per call and per duration

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

What is a api gateway

A

Fully managed service for developers to easily creat, publish, maintain, monitor, and secure APIs
Serverless and scalable
Supports RESTFUL api and websocket api
Support for security, user authentication, API throttling, API keys, monitoring

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

Will help schedule jobs

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

what is a batch job

A

a job with a a start and an end

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

Name the differences between Lambda and Batch

A
Lambda 
 -Time limit
 -Limited runtimes 
 -Limited temp disk space 
 -Serverless 
Batch
 -No time limit 
 -Any runtime as long as its packaged as a docker image 
 -Rely on EBS / instance store for disk space 
 -Relies on EC2 (can be managed by AWS)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is Amazon Lightsail

A

Virtual servers, storage, databases, and networking
Low and predicatable pricing
Simpler alternative to using EC2,RDS,ELB,EBS,ROUTE 53
Great for people with little cloud experience
Can setup notification and monitoring of your lightsail resources