Skip to content

Commit 8296018

Browse files
authored
Refined the content
1 parent ffeeee8 commit 8296018

File tree

1 file changed

+12
-26
lines changed

1 file changed

+12
-26
lines changed

articles/cost-management-billing/reservations/reserved-instance-purchase-recommendations.md

Lines changed: 12 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -13,34 +13,20 @@ ms.author: banders
1313
---
1414

1515
# How reservation recommendations are created
16-
17-
Azure reserved instance (RI) purchase recommendations are generated by the Azure Consumption [Reservation Recommendation API](/rest/api/consumption/reservationrecommendations). Recommendations from the API are also used by [Azure Advisor](../..//advisor/advisor-cost-recommendations.md#buy-reserved-virtual-machine-instances-to-save-money-over-pay-as-you-go-costs). Advisor shows recommendations in the Azure portal.
18-
19-
If you have VMs running in Azure, you can take advantage of discounted pricing for RIs and pre-pay for your VMs. Microsoft Consumption recommendation API evaluates your usage for 7, 30, and 60 days and recommends optimum configurations for RIs. It calculates the cost you'd pay if you didn't have RIs against the cost you'll pay with RIs to optimize savings.
20-
21-
Azure Advisor shows recommendations based on a 30-day period.
22-
23-
For simplicity, the following example shows calculations that happen for a seven-day recommendation. The same method is applied when calculating 30- or 60-day recommendations.
24-
25-
## Calculation method example
26-
27-
Assume that your hourly Windows VM usage for a specific SKU and region varies over seven days (168 hours). The minimum usage is 65 units and the maximum usage is 127 units over the seven days. In this example, hour 79 used 80 VMs and you purchased 75 RIs.
28-
29-
If you purchase 75 reserved instances, you pay the following costs for hour 79:
30-
31-
- 75 reserved instances. The cost is pre-paid when you purchase RIs.
32-
- Reserved instances cover the hardware cost of running VMs, so you'll pay for 75 hours at the software-only price.
33-
- Usage for hour 79 is 80, so you'll pay for five hours of the Windows plus the hardware combination meter price. The combination price is based on either your Enterprise Agreement (EA) or pay-as-you-go rate.
34-
35-
If you buy 75 RIs, you can calculate the total cost by adding the preceding hourly costs. You can also calculate your current cost using your rate. The difference between the two amounts is your savings for seven days in this example.
36-
37-
The API does calculations for each specific usage point. Then it returns the recommended quantity where savings are maximized. In the following example, the graph shows that savings peak at 68. Savings reduce afterward, so the API recommends 68.
38-
39-
![Diagram showing peak savings](./media/reserved-instance-purchase-recommendations/peak-savings.png)
16+
Azure reserved instance (RI) purchase recommendations are provided through Azure Consumption [Reservation Recommendation API](/rest/api/consumption/reservationrecommendations), [Azure Advisor](../..//advisor/advisor-cost-recommendations.md#buy-reserved-virtual-machine-instances-to-save-money-over-pay-as-you-go-costs) and through reservation purchase experience whithin Azure portal.
17+
Following steps define how recommendations are calculated:
18+
- Recommendation engine evaluates hourly usage for your resources in the given scope over past 7, 30, and 60 days.
19+
- Based on the usage data, it simulates your costs with and without reservations.
20+
- These cost are simulated for different quantities, and the quantity that maximizes the savings is recommended.
21+
- If your resources are shut down regularly then the simulation will not find any savings and no purchase recommendation will be provided.
22+
23+
## Recommendations in Azure Advisor
24+
Reservation purchase recommendations for virtual machines are available in Azure Advisor. Please note following:
25+
- Advisor only has single subscription scope recommendations.
26+
- Recommendations calculated with 30 day look back period are available in Advisor.
27+
- If you purchase a shared scope reservation, then Advisor reservation purchase recommendation might take up to 30 days to disappear.
4028

4129
## Other expected API behavior
42-
43-
- The API shows possible savings with [Azure Hybrid Benefit](https://azure.microsoft.com/pricing/hybrid-benefit/) for Windows when the benefit is used. If the benefit isn't used, then the API recommendations are based on the core Windows cost. If available to you, consider using Azure Hybrid Benefit to increase savings.
4430
- When using a look back period of seven days, you might not get recommendations when VMs are shut down for more than a day.
4531

4632
## Next steps

0 commit comments

Comments
 (0)