¶ On-Demand Instances:
- Flat Rate based on instance type
- paid by the second.
- Workloads are irregular
- best fit for test environments
- Typically for short term use.
- Can be up to 75% cheaper then On-Demand. (Specify Instance Type, Region, Tenancy and OS)
- Must reserve for either 1 or 3 years.
- Best Applied for long term, predictable workloads.
a. Reserved Instances Payment Options: long workloads
- All Upfront: Provides the biggest savings. Pay a fixed amount regardless of how much the instance is used.
- Partial Upfront: Smaller upfront cost and discount on usage charges.
- No Upfront: Smallest discount. Pay for actual usage with a small discount.
b. Convertible Reserved Instances: long workloads with flexible instances
- Reserve an instance on a recurring schedule (daily,monthly). You pay for the reservation, even if you don't use it.
-
short workloads, cheap, can lose instances (less reliable)
a. save up to 90%.
b. Most cost effective in AWS.
c. Suitable for workloads that are resistent to failure:
- Batch Jobs
- Data Analysis
- Image Processing
- Any distributed workloads
- Workloads with a flexible start and end time.
d. Not suitable for critical jobs or databases.
e. Spot Fleets is the cheapest EC2s offering.
f. get a 2 minute warning before the instance is terminated.
- book an entire physical server, control instance placement
a. Dedicated Hardware
b. Used for stuff like per-core, per-socket per VM software licenses
c. Most expensive offering
d. Good for regulatory reason.
- No other customers will share your hardware
a. VM on your dedicated hardware
¶ On Demand Capacity Reservations:
- Reserve capacity based on atributes such as instance type, platform and tenance within a particular AZ for a period of time.
- Could be used in conjunction with your reserved instances discount
- (1 & 3 years) - commitment to an amount of usage ($10/hour for 1 or 3 years. Billed at OnDemand rates after than amount.).
a. This is locked to a speciric instance family and region.
b. Flexible across Instance Type, OS and Tenancy