Skip to content

Commit 52b206a

Browse files
authored
Merge pull request #103222 from yashesvi/patch-27
Refined the content
2 parents bfb3431 + d5280ac commit 52b206a

File tree

1 file changed

+12
-25
lines changed

1 file changed

+12
-25
lines changed

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

Lines changed: 12 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -13,35 +13,22 @@ ms.author: banders
1313
---
1414

1515
# How reservation recommendations are created
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 the reservation purchase experience in the Azure portal.
1617

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+
The following steps define how recommendations are calculated:
19+
1. The recommendation engine evaluates the hourly usage for your resources in the given scope over the past seven, 30, and 60 days.
20+
2. Based on the usage data, the engine simulates your costs with and without reservations.
21+
3. The costs are simulated for different quantities, and the quantity that maximizes the savings is recommended.
22+
4. If your resources are shut down regularly, the simulation won't find any savings, and no purchase recommendation is provided.
1823

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)
24+
## Recommendations in Azure Advisor
25+
Reservation purchase recommendations for virtual machines are available in Azure Advisor. Keep in mind the following points:
26+
- Advisor has only single-subscription scope recommendations.
27+
- Recommendations that are calculated with a 30 day look-back period are available in Advisor.
28+
- If you purchase a shared-scope reservation, Advisor reservation purchase recommendations can take up to 30 days to disappear.
4029

4130
## 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.
44-
- When using a look back period of seven days, you might not get recommendations when VMs are shut down for more than a day.
31+
- When using a look-back period of seven days, you might not get recommendations when VMs are shut down for more than a day.
4532

4633
## Next steps
4734
- Learn about [how the Azure reservation discount is applied to virtual machines](../manage/understand-vm-reservation-charges.md).

0 commit comments

Comments
 (0)