If you are consuming cloud resources you’re probably facing some challenges such as cost management, optimization and confidence on how spending is happening. Have you ever faced any surprising cost at the end of the month?
Perhaps someone forgot to delete a 24 Core, 56 GB of RAM high performance VM?
Azure has made available Reserved Instances, its fundamental principle is to save money over a period of time by paying upfront. You can pay 1 or 3 years in advance. The savings go from 40% to 70% depending on the size of the VM selected.
There are two types of subscription to make use of Reserved Instances:
- The production type available as part of the Enterprise Agreement
- The Pay as you Go
With Reserved Instances it’s possible to:
- Make One Single up-front payment
- Select 1 or 3 year terms
- Reserve Virtual Machines in advance
- Save around 70% over on-demand pricing
- If the VM(s) run Windows Server you can save around 80% with hybrid use benefit
- Have flexibility to modify
- Have a simple purchase experience
- Assign at the Enrolment level or subscription level
A practical Example
The following example reflects the significant savings Reserved Instances provide.
Let’s say you need a horsepower VM: 4 CPUs plus 28 GB of RAM running 24×7 on Windows, let’s see how much it costs:
How to Purchase
The following is an example of a Pay-as-you-Go Subscription. This resources were created in the Australia Southeast Region (Melbourne).
In the Azure portal do: Create a Resource – Type Reserved Instances and Select Create
Then let’s just fill the blanks. This first example is for 1 Year
Things to understand:
- Name: VM Name
- Subscription: Where will this instances be assigned
- Scope: Will this instance be shared among multiple subscriptions? In an Enterprise Agreement (EA) it’s quite common to have multiple subscriptions
- Region: In which of the Azure datacenters this instance will exist
- Optimize For:
- Instance size flexibility will apply the reservation discount to other VMs in the same VM size group
- Capacity priority reserves data center capacity for your deployments, offering additional confidence in your ability to launch the VM instances when you need them
You will have a view of the cost of the reservation before executing it. Then all you have to do is select Purchase and that’s it.
The reservation term will begin as soon as payment is processed.
Once you’ve done it your next option is View this Reservation to see the status of your purchase.
- If later on you decide to cancel or exchange at any time, you have the option to do it in the overview section of your reservation.
- If you need to cancel there may be a 12% early termination fee, the refund you’d receive is the remaining pro-rated balance minus the early termination fee.
- If you need to do an exchange you can do it to change to another region, VM size group or term. It has to be something equal or greater value, then the new 1 or 3 year term starts from when you create the new reservation.
How it is applied?
Once you’ve bought it, the reservation discount will automatically apply to VMs that match the size and quantity.
- You don’t have to change anything in your deployment
- You don’t have to pick the OS either, just purchase the amount of instances you require.
The VM usage is separate from the RI (Reserved Instances) inventory, on the backend the Microsoft systems are doing the match-making to ensure the usage is matched automatically to the right reservation.
For VMs that may not run the full hour, the reservation will be filled from other VMs not using a reservation, including concurrently running VMs
The diagram below clarifies how the Reserved VM Instance is applied
To understand restrictions and clarify more you can visit the Azure Reserved VM Instances offering page, the FAQ at the end clarifies about restrictions in VM sizes.
If you want to see an example of how the usage is presented across different means like the CSV file in your billing and EA Portal you can check this documents:
And this tutorial explains with detail how you can manage your Reserved Instances through Azure Cost Management
Now, go and save some money!