Amazon EC2 Pricing Options Flashcards

(23 cards)

1
Q

On-Demand

A
  • Standard rate
  • No Discount
  • No commitments
  • dev/test
  • short-term
  • unpredictable workloads
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Spot Instances

A
  • Low price for unused uncapacity
  • up to 90% discount
  • maybe terminated by AWS
  • workloads w/ flexible start & end times
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Dedicated Hosts

A
  • Physical server dedicated for your use
  • Socket/core visibility
  • host affinity
  • pay per host
  • workloads w/ server-bound software licenses.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Reserved

A
  • 1 or 3 year commitment
  • up to 75% discount
  • steady-state
  • predictable workloads & reserved capacity
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Dedicated Instances

A
  • Physical isolation at host hardware level from instances belonging to other customers
  • pay per instance
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Savings Plans

A

Flexible pricing w/ commitment to set spend over time.

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

What are Standard Reserved Instances (RI)?

A
  • Change Availability Zone (AZ), instance size, & networking type
  • Use ModifyReservedInstances API
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are Convertible RIs

A

You can change following:
- Availability Zone (AZ)
- Instance Size
- Networking Type
- Family
- OS
- tenancy
- payment option

Use ExchangeReservedInstances API

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

When is discount applied to Reserved Instance?

A

When attributes of used instance match attributes of an RI

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

What are Amazon EC2 On-Demand Capacity Reservations?

A
  • Reserve compute capacity for your Amazon EC2 instances in specific Availability Zone (AZ).
  • Any duration can be specified
  • Mitigates against risk of being unable to get On-Demand capacity.
  • Doesn’t require any term commitments & can be cancelled at any time.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What do you specifiy when creating Capacity Reservation?

A
  • Availability Zone
  • Number of Instances
  • Instance attributes, including instance type, tenancy, platform/OS
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What are Capacity Blocks for ML?

A
  • ML model training & fine-tuning - Get uninterrupted access to GPU instances that you reserved to complete ML model training & fine-tuning.
  • ML experiments & prototypes - run experiments & build prototypes that require GPU instances for short durations.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What are AWS Savings Plans?

A
  • Compute Savings Plans - 1/3 year commitment to usage of EC2, Fargate, Lambda
  • EC2 Instance Savings Plan - 1/3 year; commitment to usage of Amazon EC2 instances on specific instance family in specific AWS region
  • Machine Learning Savings - 1/3 year; commitment to usage of Amazon SageMaker
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What are EC2 Spot Instances?

A
  • Spot Instance - 1 or more EC2 instances
  • Spot Fleet - launches /maintains number of Spot/On-Demand instances to meet specified target capacity.
  • EC2 Fleet - launches/maintains specified number of Spot/On-Demand/Reserved instances in single API call
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What can you also define with EC2 spot instances?

A

Can define:
- seperate On-Demand/Spot capacity
- targets
- Spot price
- instance types
- Availbility Zones (AZs)

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

What are characteristics of Dedicated Instances?

A
  • Enables use of dedicated physical servers
  • Per instance billing ($2 per region fee)
  • Automatic instance placement
17
Q

What are characteristics of Dedicated Hosts?

A
  • Enables use of dedicated physical servers
  • Per host billing
  • Visibility of sockets, cores, host ID
  • Affinity b/w host & instance
  • Targeted instance placement
  • Automatic instance placement
  • Add capacity using allocation request
18
Q

What would be use-case for:
- Developer working on small project for several hours; cannot be interrupted.

19
Q

What would be use-case for:
- Compute-instensive, cost-sensitive distributed computing; can withstand interruption

A

Spot Instances

20
Q

What would be use-case for:
- Steady-state, business critical, line-of-business application; continuous demand

A

Reserved Instance

21
Q

What would be use-case for:
- Need to Guarentee capacity is available in specific AZ

A

Capacity Reservation

22
Q

What would be use-case for:
- Database w/ per-socket licensing

A

Dedicated Hosts

23
Q

What would be use-case for:
- Security-sensitive application
- requires dedicated hardware
- per-instance billing

A

Dedicated Instances