Compute Services Flashcards

1
Q

EC2

A

Elastic Compute Cloud

- allows you to rent and manage virtual servers in the cloud

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

elastic compute power

A

can grow and shrink based on the needs put on your application

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

where do EC2 instances run?

A

on physical servers in a data center. (they are not serverless)

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

4 ways to access instances

A
  1. AWS Management Console
  2. SSH (most common)
  3. EC2 Instance Connect
  4. AWS Systems Manager
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Instance

A

AWS’ version of a virtual machine

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

how is computing power billed for EC2?

A

in compute hours

750 hours per month included on the free tier plan

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

what are AMIs

A

Amazon Machine Images for launching your instance

- preconfigured linux, windows or OSX installations which can be installed at the click of a button

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

EC2 On Demand Pricing

A

fixed price, billed down to the second

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

when to use EC2 On Demand Pricing?

A
  • no upfront payment, low cost
  • apps with unpredictable workloads that can’t be interrupted
  • apps under development
  • workloads that won’t run longer than a year
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

how do you reserve on demand capacity?

A

on demand capacity reservations

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

EC2 Spot Instance Pricing

A
  • takes advantage of unused EC2 capacity
  • your request is only fulfilled if capacity is available
  • 90% cheaper than On-Demand
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

which EC2 pricing model lets you save 90%

A

spot instances

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

when to use EC2 spot instance pricing?

A
  • when you are not concerned about start/stop of your application
  • workloads that can be interrupted
  • your application is only feasible at very low compute prices
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

EC2 Reserved Instances (RI)

A
  • requires a 1 or 3 year contract
  • can pay up front to get a discount off On-Demand pricing
  • save up to 75% off on-demand pricing
  • requires a capacity reservation
  • provides convertible types at a 54% discount (can change OS, instance family or tenancy model)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

EC2 Dedicated Host

A
  • your own dedicated physical server
  • bring your own software licenses
  • for regulatory or compliance needs
  • save up to 70% off on-demand pricing (However, of all the Amazon EC2 options, Dedicated Hosts are the most expensive.)

your instance runs on your dedicated host

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

EC2 Savings Plans

A
  • 1 or 3 year commitment
  • can save up to 72% off on-demand pricing
  • does not require a capacity reservation
17
Q

when to use the EC2 Savings Plan?

A
  • to lower your bill across multiple compute services

- flexibility to change compute services, configurations, or regions

18
Q

elastic load balancing

A

distributes incoming application traffic across multiple EC2 instances

19
Q

what are 4 types of load balancers

A
  1. classic
  2. application
  3. gateway
  4. network
20
Q

EC2 auto scaling

A

adds or replaces EC2 instances automatically across AZs based on need or changing demands

21
Q

horizontal scaling

A

“scaling out”

adding or removing instances based on need

22
Q

vertical scaling

A

“scaling up”

adding more CPU or RAM to an instance

23
Q

AWS Lambda

A

serverless compute service that lets you run code without managing servers or a coding environment.

functions have a 15 minute time out

24
Q

benefits of Lambda

A
  • application code (functions) can be authored in many popular programming languages
  • scales automatically
  • serverless
  • lambda can execute code in response to events
  • use your favorite IDE
25
Q

serverless

A

you don’t have to manage your servers, AWS does it for you behind the scenes

26
Q

lambda use case examples

A
  1. real time file processing
  2. send email notifications
  3. back-end business logic
27
Q

lambda compute time pricing

A

pay for only the compute time used while your code is actively running

28
Q

lambda request count pricing

A
  • a request is counted each time it starts execution

- always free - free usage tier includes 1 million requests each month

29
Q

Fargate

A
  • container management, like Docker
  • serverless
  • scales automatically
30
Q

Lightsail

A

allows you to quickly launch all the resources you need for small projects

easy to use simple screens for people with little cloud experience

  • Ex: Wordpress preconfigured apps
31
Q

what does Lightsail come with?

A
  • virtual machine
  • SSD-based storage
  • data transfer
  • DNS management
  • static IP
  • low, predictable monthly fee as low as $3.50/mo
32
Q

Outposts

A

run cloud services in your internal data center

33
Q

why use Outposts?

A
  • need your workloads to remain on-prem due to latency or data processing needs
  • need a hybrid experience
34
Q

AWS Batch

A
  • process large workloads in smaller batches

- dynamically provisions the instances it needs based on volume

35
Q

Which of the EC2 pricing plans is the cheapest

A

Spot Instances

36
Q

Which of the EC2 pricing plans is the most expensive?

A

Dedicated Host