Skip to content

EC2 Instance Savings plan hourly commitment calculation

0

I have some confusion about aws ec2 instance savings plan

suppose I purchase a savings plan 3 year term Singapore region Instance family r5 Hourly commitment: need to be calculated Payment option: No Upfront I am using a r5.4xlarge as on demand currently Savings Plans rate is $0.579/hr On-Demand rate $1.341/hr

If I use it about 300 hour average in a month, what can be the hourly commitment?

If I use it about 400 hour average in a month, what can be the hourly commitment?

for your simplicity, consider I don't have any other instance running.

1 Answer
2
Accepted Answer

Hello Niamat,

A savings plan is a dollar based commitment to either compute, or ec2 - depending on the version of the savings plan that you are buying. In your case, you are wanting to buy an EC2 Savings plan to cover a single r5.4xlarge instance. If we look here: https://aws.amazon.com/savingsplans/compute-pricing/ we can see that with no-upfront you are getting a rate of 0.525 per hour for that instance. This means you should commit $0.525 per hour to your savings plan if you would like this instance covered. This works out to a monthly cost of 383.25.

Now the important part here is that a savings plan is a commitment to use the platform, therefore you will pay for the savings plan, regardless if you have a matching instance running. So if you only run your r5.4xlarge for 300 hours, you would still pay 383.25 a month.

You therefore have to calculate the on-demand cost for 300 hours (300x1.216 = 364.80), which is slightly less than the 383.25 , and see what works out for you. In this case, if you are only running for 300 hours, then it is a little cheaper to run on-demand (i.e., don't buy a savings plan), however if you intend to run for 400 hours, then the on-demand cost would be 486.40, which is more expensive than what you would be paying if you purchased the savings plan you intend too.

You can calculate the exact number of hours a month, after which a savings plan begins to make sense, by diving the savings plan cost with the on-demand hourly cost of the instance type you wish to run. In this case 383.25/1.216 is 315.17, so if you are running your instance for less than 315.17 hours a month, then it is cheaper to just run on-demand, whereas if you run it consistently for more than 315.17 hours a month, then you should consider the savings plan that you wish to purchase (if you can guarantee that you will have this usage for the next 3 years).

AWS
EXPERT

answered 2 years ago

AWS
EXPERT

reviewed 2 years ago

  • Dear Expert,

    Thanks for your detail answer. I have a follow-up question.

    As AWS allows me to set the hourly commitment greater than or equal to USD0.001. if I set is as 0.1$ as hourly commitment, what will happen if I continue to use 300hr of the instance in a month. Enter image description here Also what is the significance of Monthly payment 73$ and total cost 2628$ Does it mean I can use 73$ as discounted rate and extra hours as on demand rate?

    Please clarify.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.