Azure reserved instance (RI) purchase recommendations are provided through Azure Consumption Reservation Recommendation API, Azure Advisor, and through the reservation purchase experience in the Azure portal.
The following steps define how recommendations are calculated:
- The recommendation engine evaluates the hourly usage for your resources in the given scope over the past 7, 30, and 60 days.
- Based on the usage data, the engine simulates your costs with and without reservations.
- The costs are simulated for different quantities, and the quantity that maximizes the savings is recommended.
- If your resources are shut down regularly, the simulation won't find any savings, and no purchase recommendation is provided.
- The recommendation calculations include any special discounts that you might have for your on-demand usage rates, such as Microsoft Azure Consumption Commitment (MACC) and Azure Commitment Discount (ACD) based solely on historic usage.
- The recommendations account for existing reservations and savings plans. So, previously purchased reservations and savings plans are excluded when providing recommendations.
Recommendations in the Azure portal
Reservation purchase recommendations are also shown in the Azure portal in the purchase experience. Recommendations are shown with the Recommended Quantity. When purchased, the quantity that Azure recommends will give the maximum savings possible. Although you can buy any quantity that you like, if you buy a different quantity your savings won't be optimal.
Let's look at some examples why.
In the following example image for the selected recommendation, Azure recommends a purchase quantity of 6.
More information about the recommendation appears when you select See details. The following image shows details about the recommendation. The quantity recommended is calculated for the highest possible usage and it's based on your historical usage. Your recommendation might not be for 100% utilization if you have inconsistent usage. In the example, notice that utilization fluctuated over time. The cost of the reservation, possible savings, and utilization percentage is shown.
The chart and estimated values change when you increase the recommended quantity. By increasing the reservation quantity, your savings will be reduced because you'll end up with reduced reservation use. In other words, you'll pay for reservations that aren't fully used.
If you lower the reservation quantity, your savings will also be reduced. Although you'll have increased utilization, there will likely be periods when your reservations won't fully cover your use. Usage beyond your reservation quantity will be used by more expensive pay-as-you-go resources. The following example image illustrates the point. We've manually reduced the reservation quantity to 4. The reservation utilization is increased, but the overall savings are reduced because pay-as-you go costs are present.
To maximize savings with reservations, try to purchase reservations as close to the recommendation as possible.
Recommendations in Azure Advisor
Reservation purchase recommendations are available in Azure Advisor. Keep in mind the following points:
- Advisor has only single-subscription scope recommendations. If you want to see recommendations for the entire billing scope (Billing account or billing profile), then:
- In the Azure portal, navigate to Reservations > Add and then select the type that you want to see the recommendations for.
- Recommendations available in Advisor consider your past 30-day usage trend.
- The recommendations quantity and savings are for a three-year reservation, where available. If a three-year reservation isn't sold for the service, the recommendation is calculated using the one-year reservation price.
- The recommendation calculations include any special discounts that you might have on your on-demand usage rates.
- If you purchase a shared-scope reservation, Advisor reservation purchase recommendations can take up to five days to disappear.
- Azure classic compute resources such as classic VMs are explicitly excluded from reservation recommendations. Microsoft recommends that users avoid making long-term commitments to legacy services that are being deprecated.
Other expected API behavior
- When using a look-back period of seven days, you might not get recommendations when VMs are shut down for more than a day.