Technology - Compute Services Flashcards

1
Q

EC2

A

Elastic Compute Cloud. Allows to rent and manage virtual servers in the cloud, providing elastic compute power (scalable). E.g. deploying a database or a web application.

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

EC2 Instance

A

A virtual server running on a physical server in a data centre, provading scalable computing capacity in the cloud.

(Instances are not considered serverless.)

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

EC2 Access Methods

A

AWS Management Console (web browser)
Secure Shell (SSH; local machine)
EC2 Instance Connect (EIC; IAM policies control SSH access)
AWS System Manager (web browser or AWS CLI)

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

AMI

A

Amazon Machine Image. A template that contains the software configuration (ops system, app server and apps) required to launch an instance. E.g.: Amazon Linux, Ubuntu, Windows, Red Hat.

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

EC2 Features

A
  1. Elastic Load Balancing - automatically distributes incoming application traffic across multiple EC2 instances.
  2. EC2 Auto Scaling - adds or replaces EC2 instances automatically across AZs based on demand.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Horizontal Scaling vs Vertical Scaling

A

Horizontal Scaling (scaling out) - adding more EC2 instances; reduces the impact of system failures and improves the availability of applications.

Vertical Scaling (scaling up) - upgrade the existing EC2 instance by adding more compute power.

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

EC2 Pricing: On-Demand

A

A fixed price in which you are billed to the second based on instance type (pay-as-you-go).
- low cost without upfront payment
- unpredictable workloads that can’t be interrupted
- apps under development
- workloads run no longer than a year

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

EC2 Pricing: Spot

A

Take advantage of unused EC2 capacity. Request is fulfilled only if capacity is available.
- not concerned about start/stop
- workloads can be interrupted
- apps feasible at very low compute price

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

EC2 Pricing: Reserved Instances (RIs)

A

Commit to a specific instance type in a Region for 1or 3 years.
- steady state usage
- pay money upfront for highest discount
- apps require capacity reservation

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

EC2 Pricing: Dedicated Hosts

A

Pay for physical server that is fully dedicated to running your instances.
- bring your own server-bound software license
- regulatory or corporate compliance

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

EC2 Pricing: Savings Plans

A

Commit to compute usage, not a dedicated host, with no capacity reservation. Measured per hour, for 1 or 3 years.
- lower bill across multiple compute services
- flexibility to change compute services, instant types, ops systems or regions

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

Lambda

A

A serverless, event-driven compute service that lets you run code for virtually any type of application or backend service without provisioning or managing servers.

Use cases include: real-time file processing, sending email notifications, backend business logic

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

Lambda Features

A
  1. Supports popular programming languages.
  2. You can author code using dev environment or the console.
  3. Event-driven.
  4. 15 minutes timeout.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Lambda Pricing

A
  1. Compute time: pay only when the code is running.
  2. Request count: pay for a number of times the function is executed.
  3. Always free: 1 million free requests each month.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Fargate

A

A serverless, pay-as-you-go compute engine for containers (Docker) that scales automatically and lets you focus on building applications without managing servers.

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

Lightsail

A

Allows you to quickly launch all the resources you need for small projects. You can deploy preconfigured apps like WordPress websites at a low, predictable monthly fee.

17
Q

Outposts

A

Allow you to extend and run native AWS services on premises in your internal data centre for a hybrid experience.

18
Q

Batch

A

Allows you to process large workloads in smaller chunks (or batches). Efficiently run hundreds of thousands of batch and ML computing jobs while optimizing compute resources.