Other Compute (ECS, Lambda, Batch, Lightsail) Flashcards

1
Q

What is a software development platform for deploying apps?

A

Docker

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

What allows you to launch docker containers on AWS? What is the difference?

A

Elastic Container Service (via EC2)

Fargate (no EC2 = serverless)

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

What is a private docker registry used for docker images so that they can run on ECS or Fargate?

A

Elastic Container Registry

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

What serverless things have we seen?

A

S3, DynamoDB, Fargate, Lambda, Athena

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

What is a serverless service that runs on-demand, scales automatically, and has short execution?

A

Lambda

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

What is event-driven?

A

Lambda

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

How does Lambda pricing work?

A

Per call (First 1M requests free) & Duration

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

What is used to build a severless API?

A

API Gateway

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

What is a fully managed batch processing service that dynamically launch EC2 instances or Spot instances and result in Docker Images that run on ECS?

A

AWS Batch

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

What are the key differences between Batch vs. Lambda?

A
Lambda:
• Time limit
• Limited runtimes
• Limited temporary disk space
• Serverless

Batch:
• No time limit
• Any runtime as long as it’s 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
11
Q

What is a great service for the following use cases but with little cloud experience?

  • Simple web applications (has templates for LAMP, Nginx, MEAN, Node.js…)
  • Websites (templates for WordPress, Magento, Plesk, Joomla)
  • Dev / Test environment
A

Lightsail (predictable & low pricing)

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

What is a function-as-a-svc that is serverless? How does the billing, language support, invocation time, use cases, and API gateway work for this?

A
  • Lambda Billing:
  • By the time run x by the RAM provisioned
  • By the number of invocations
  • Language Support: many programming languages except (arbitrary) Docker
  • Invocation time: up to 15 minutes
  • Use cases:
  • Create Thumbnails for images uploaded onto S3
  • Run a Serverless cron job
  • API Gateway: expose Lambda functions as HTTP API
How well did you know this?
1
Not at all
2
3
4
5
Perfectly