Back to blog index

Listen to blog instead!

EC2 Purchasing Options - In a Minute...

Spending on the cloud is always a crucial thing. We never know when it can lead us to pay an expensive amount. That's why cost optimization is important.
Previously, there were only a few options available to purchase EC2 instances. Since it's a core part of the architecture, AWS has made a good amount of innovations. So we now have almost double purchasing options available.

Cost savings with EC2.

More options, more confusion!!

So here I am.
I will be guiding you to some of the existing savings options that can save you from making the wrong choice.

I have made a comparison based on some points that will make it easy for us to understand how options are different from one another.

Cost Benefit Standard Cost
Commitment --
Payment Calculation Per second billing
Availability (If capacity issue in datacenter) Less than reserved
Hardware Allocation Shared Hardware
interruption --
Additional Points
  • Standard instance type to use when you have no predictions in mind.
  • All the other instances can be compared with reference to on-demand.
Cost Benefit Up to 75% Savings
Commitment >= 1 year
Payment Calculation Based on reservation. Will be charged even if not consuming
Availability (If capacity issue in datacenter) Highest priority
Hardware Allocation Shared Hardware
interruption --
Additional Points
  • Commitment based on instance type, location.
  • A bit lesser discount with convertible instance type
Cost Benefit --
Commitment
  • >= 1 year (>= 1200 hrs)
  • In specified recurring time-frame
Payment Calculation Pay for the time instances are scheduled
Availability (If capacity issue in datacenter) High Priority (Instances will be always available on schedule)
Hardware Allocation Shared Hardware
interruption 3 minutes before end of current scheduled time period.
Additional Points
  • When you don't need whole day commitment but few hours commitment in a day/week to perform your regular operations.
  • Must launch instances during scheduled time period.
Cost Benefit Highest (Upto 90% discount)
Commitment --
Payment Calculation SPOT price at a given time.
Availability (If capacity issue in datacenter) Lowest priority in case of availability
Hardware Allocation Shared Hardware
interruption Yes. With 2 min notice
Additional Points
  • AWS sells unused capacity in their datacenter. So whenever SPOT price is higher than your bid price, they will revoke your instance.
Cost Benefit Depends on selected payment option (Upto 70% savings)
Commitment --
Payment Calculation Pay per physical host. (Doesn't matter how many instances are running inside.)
Availability (If capacity issue in datacenter) Available until your underlying physical host is safe.
Hardware Allocation Separate hardware
interruption --
Additional Points
  • Same host after stop and start.
  • Additional capacity management required by user.
  • Useful for per socket, per core licenses
  • Provides additional visibility and control over how instances are placed on a physical server
Cost Benefit Extra charges for instance
Commitment --
Payment Calculation Pay by hour, per instance billing
Availability (If capacity issue in datacenter) Available until your underlying physical host is safe.
Hardware Allocation Separate Hardware. AWS won't share your physical machine with other customers
interruption --
Additional Points
  • No other account's instances will be running except your own account.
  • Hardware can be changed after stop/start.
Cost Benefit On demand price
Commitment For any duration
Payment Calculation Based on reservation. Will be charged even if not using
Availability (If capacity issue in datacenter) High Priority
Hardware Allocation Shared (Reservation in specific AZ)
interruption --
Additional Points
  • On-demand capacity reservations can be booked to ensure you have always access to capacity in AZ when you need it - but at full on-demand price.
Cost Benefit Separate savings plan rate
Commitment >=1 yr (Commit for usage in USD per hour for 1/3 year time)
Payment Calculation
  • Based on savings plan rate ($/hr).
  • And on-demand rate for over consumption.
Availability (If capacity issue in datacenter) --
Hardware Allocation Shared hardware
interruption --
Additional Points
  • Not all instance types available.
  • EC2, Farget and Lambda are supported.

I have converted my notes into a readable form by this post. I hope you liked it. Please let me know if you find any misinformation. I will try to correct that.


Did you like what you read? Recommend this post to others!

Want to share something? I would Love to hear from you!