Purchasing Options Flashcards

1
Q

On-Demand

A
  • Pay for what you use
  • high cost
  • no upfront payment
  • no long term commitment
  • Recommended for: short term, uninterrupted workloads where you can’t predict how the app will behave
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Reserved

A
  • 75% discount compared to on demand
  • Choose 1 year (discount) or 3 years (more discount)
  • Purchasing options
    • no upfront
    • partial upfront (discount)
    • all upfront (bigger discount)
  • Reserve a specific instance type
  • Recommend: steady-state usage applications (like database)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Convertible reserved instance

A
  • Change the EC2 instance type over time

- up to 54% discount

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

Scheduled reserved instance

A
  • launch within time window you reserve
  • use when require app to run for a fraction of a day/week/month periodically
  • commitment: 1-3 years
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Spot Instances

A
  • up to 90% discount
  • can lose them at any time if the price you’re willing to pay for them is less than the current spot price
  • recommended: for workloads that are resilient to failure
    • batch jobs
    • data analysis
    • image processing
    • distributed workloads
    • workloads with flexible start and end time
  • Not suitable for database or critical jobs
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Dedicated Instances

A
  • instances running on hardware that’s dedicated to you
  • may share hardware with other instances in the same account
  • no control over instance placement (can move after start/stop of instance)
  • soft version of dedicated host
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Dedicated hosts

A
  • 3 year period reservation / most expensive
  • Renting an entire server in a data center
  • For companies that have strong regulatory or compliance needs
  • Allow you to use your existing server-bound software licences
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Spot Fleets

A

Automatically request spot instances with the lowest price

  • set of spot instances + (optional) on-demand instances
  • try to meet the target capacity with the price constraints
  • define multiple launch pools - instance type, OS, availability zone
  • fleet will choose the best launch pool for you
  • when budget is reached, it stops launching instances
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Strategies to allocate Spot Instances

A
  • lowest price
    • cost optimisation, short workload
  • diversified
    • distributed across all pools
    • great for availability, long workloads
  • capacityOptimised
    • launch instances from pool with optimal capacity for the number of instances
How well did you know this?
1
Not at all
2
3
4
5
Perfectly