EC2 Purchase Options Flashcards
EC2 Instance Purchasing Options
- On-Demand
- Reserved
- Convertable reserved
- Saving Plan
- Spot Instances
- Dedicated Hosts
- Dedicated Instance
- Cpacity Reservations
EC2 On Demand
- Short-term and un-interrupted workloads
- Pay for what you use
Linux or Win, bill per sec after first min
All other OS, bill per hour - Highest cost, but no upfront payment
- No long-term commitment
EC2 Reserved Instances
- Reserve specific instance attributes (Instance Type, Region, Tenancy, OS)
- Reversation Period - 1 year or 3 years
- Payment options - No Upfront, Partial Upfront, All Upfront
- Reserved Instance Scope - Regional or Zonal (AZ)
- Can buy and sell in Reserved Instance Marketplace
EC2 Convertible Reserved Instances
- Can change the EC2 instance type, instance family, OS, Scope and enancy
- Up to 66% discount
EC2 Savings Plans
- Discount based on long-term usage (up to 72%)
- Commit to a certain type of usage ($10/hr for 1 or 3 years)
- Usage beyond billed at On-Demand price
- Locked to a specific instance family & region
- Flexible across:
Instance size,
OS
Tenancy (Host, Dedicated, Default)
EC2 Spot Instances
- Up to 90% discount
- Can lose at any point if your max price is less than the current spot price
- MOST cost efficient instances
- Workloads that are resilient to failure
- Not suitable for critical jobs or DBs
EC2 Dedicated Hosts
- Most expensive
- A physical server with EC2 capacity fully dedicated for your use
- Address compliance requirements
- Use existing server-bound sw licenses
- Purchase Options
On-demand
Reserved
EC2 On-Demand use case
Short-term and un-interrupted workloads, where you can’t predict how the application will behave
EC2 Reserved Instances use case
Recommended for steady-state usage application (like DB)
EC2 Sport Instances use case
Useful for workloads that are resilient to failure
* Batch jobs
* Data analysis
* Image processing
* Any distributed workloads
* Workloads with a flexible start and end time
Not suitable for critical jobs or databases
EC2 Dedicated Hosts use case
- Software that have complicated licensing model (BYOL - Bring your own license)
- Companies that have strong regulatory or compliance needs
EC2 Dedicated Instances
- Runs on hardware dedicated to you (diff from server)
- May share hardware with other instances in same account
- No control over instance placement (can move after stop/start)
EC2 Dedicated Instances vs. Dedicated Hose
Dedicated Instance
Have own instance on your own hardware
Dedicated Host
Get access to physical server and visibility to lower level hardware
EC2 Capacity Reservations
- Reserve On-Demand instance capacity in a specific AZ for any duration
- You always have access to EC2 capacity when you need it
- No time commitment (create/cancel any time)
- No discount
- Combine with Regional reserved Instances and Savings Plans to benefit from billing discounts
- Charged at On-Demand rate whether you run instances or not
EC2 Capacity Reservations use case
Short-term, uninterrupted workloads that need to e in a specific AZ