ECS, Lambda, Batch, Lightsail Flashcards

1
Q

What is Docker?

A

A software development platform used to deploy apps that are packaged in containers that can be run on any OS

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

What are the benefits of containers?

A

Can be assured that there will be no compatibility issues, you can run on any machines, there will be predictable behaviour, you can scale container-based deployments up and down very quickly

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

What are 2 main places that you can find base Docker images?

A

Public: Docker Hub
Private: Amazon Elastic Container Registry

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

What is AWS ECS?

A

Elastic Container Service. Allows you to launch Docker containers on AWS.
Unmanaged - you have to provision and manage the infrastructure

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

What is AWS Fargate?

A

A managed service for launching Docker containers on AWS.
Since it is managed, you don’t have to worry about provisioning the infrastructure since it is serverless

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

Explain the idea of ‘serverless’ computing

A

The idea that developers don’t have to manage servers any more - instead, the server provisioning and right-sizing is taken care of by the cloud provider.

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

What are you managing with AWS Lambda? How does this differ to EC2?

A

With Lambda, you are managing a function that triggers the deployment or provisioning of servers when needed. This is different from EC2 as in EC2, even if we aren’t using the server it will still be running

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

Name 4 benefits of using Lambda (7 total)

A
  • Easy pricing: pay per request and compute time, pretty large free tier
  • Lots of integrations with several AWS services
  • Event-driven: functions get invoked by AWS when needed
  • Integrated with many programming languages
  • Easy monitoring through AWS cloudwatch
  • Easy to get more resources per functions
  • 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 API Gateway?

A

A fully managed service for developers that allows them to easily create, publish, maintain, and monitor secure APIs.

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

What are ‘batch’ jobs?

A

Jobs with a defined start and end, as opposed to a continuous or streaming job

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

What is the main selling point of AWS Batch?

A

It is very convenient - you can submit or schedule a batch job and AWS Batch will do the rest - there is very little management on your end

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

What is the backend architecture of AWS Batch?

A

Batch jobs are defined as Docker images and then run on Elastic Container Service

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

What is Lightsail?

A

A service that simplifies the deployment of servers, databases, storage and networking intended for people with little cloud experience

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