Skip to content

Commit d1f1a0e

Browse files
authored
Merge pull request #207866 from themar-msft/themar-reduce-service-costs
Updates advisor topics to include vmss info
2 parents 74a4b9e + 1b56eb6 commit d1f1a0e

File tree

3 files changed

+33
-29
lines changed

3 files changed

+33
-29
lines changed

articles/advisor/advisor-cost-recommendations.md

Lines changed: 30 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -16,69 +16,73 @@ Azure Advisor helps you optimize and reduce your overall Azure spend by identify
1616

1717
1. On the **Advisor** dashboard, select the **Cost** tab.
1818

19-
## Optimize virtual machine spend by resizing or shutting down underutilized instances
19+
## Optimize virtual machine (VM) or virtual machine scale set (VMSS) spend by resizing or shutting down underutilized instances
2020

21-
Although certain application scenarios can result in low utilization by design, you can often save money by managing the size and number of your virtual machines.
21+
Although certain application scenarios can result in low utilization by design, you can often save money by managing the size and number of your virtual machines or virtual machine scale sets.
2222

23-
Advisor uses machine-learning algorithms to identify low utilization and to identify the ideal recommendation to ensure optimal usage of virtual machines. The recommended actions are shut down or resize, specific to the resource being evaluated.
23+
Advisor uses machine-learning algorithms to identify low utilization and to identify the ideal recommendation to ensure optimal usage of virtual machines and virtual machine scale sets. The recommended actions are shut down or resize, specific to the resource being evaluated.
2424

2525
### Shutdown recommendations
2626

27-
Advisor identifies resources that have not been used at all over the last 7 days and makes a recommendation to shut them down.
27+
Advisor identifies resources that haven't been used at all over the last 7 days and makes a recommendation to shut them down.
2828

29-
- Recommendation criteria include **CPU** and **Outbound Network utilization** metrics. **Memory** is not considered since weve found that **CPU** and **Outbound Network utilization** are sufficient.
29+
- Recommendation criteria include **CPU** and **Outbound Network utilization** metrics. **Memory** isn't considered since we've found that **CPU** and **Outbound Network utilization** are sufficient.
3030
- The last 7 days of utilization data are analyzed
31-
- Metrics are sampled every 30 seconds, aggregated to 1 min and then further aggregated to 30 mins (we take the max of average values while aggregating to 30 mins)
31+
- Metrics are sampled every 30 seconds, aggregated to 1 min and then further aggregated to 30 mins (we take the max of average values while aggregating to 30 mins). On virtual machine scale sets, the metrics from individual virtual machines are aggregated using the average of the metrics across instances.
3232
- A shutdown recommendation is created if:
3333
- P95th of the maximum value of CPU utilization summed across all cores is less than 3%.
3434
- P100 of average CPU in last 3 days (sum over all cores) <= 2%
3535
- Outbound Network utilization is less than 2% over a seven-day period.
3636

3737
### Resize SKU recommendations
3838

39-
Advisor recommends resizing virtual machines when it's possible to fit the current load on a more appropriate SKU, which is less expensive (based on retail rates).
39+
Advisor recommends resizing virtual machines when it's possible to fit the current load on a more appropriate SKU, which is less expensive (based on retail rates). On virtual machine scale sets, Advisor recommends resizing when it's possible to fit the current load on a more appropriate cheaper SKU, or a lower number of instances of the same SKU.
4040

4141
- Recommendation criteria include **CPU**, **Memory** and **Outbound Network utilization**.
4242
- The last 7 days of utilization data are analyzed
43-
- Metrics are sampled every 30 seconds, aggregated to 1 min and then further aggregated to 30 mins (we take the max of average values while aggregating to 30 mins)
44-
- An appropriate SKU is determined based on the following criteria:
45-
- Performance of the workloads on the new SKU should not be impacted.
43+
- Metrics are sampled every 30 seconds, aggregated to 1 minute and then further aggregated to 30 minutes (taking the max of average values while aggregating to 30 minutes). On virtual machine scale sets, the metrics from individual virtual machines are aggregated using the average of the metrics for instance count recommendations, and aggregated using the max of the metrics for SKU change recommendations.
44+
- An appropriate SKU (for virtual machines) or instance count (for virtual machine scale set resources) is determined based on the following criteria:
45+
- Performance of the workloads on the new SKU shouldn't be impacted.
4646
- Target for user-facing workloads:
4747
- P95 of CPU and Outbound Network utilization at 40% or lower on the recommended SKU
4848
- P100 of Memory utilization at 60% or lower on the recommended SKU
4949
- Target for non user-facing workloads:
5050
- P95 of the CPU and Outbound Network utilization at 80% or lower on the new SKU
5151
- P100 of Memory utilization at 80% or lower on the new SKU
52-
- The new SKU has the same Accelerated Networking and Premium Storage capabilities
53-
- The new SKU is supported in the current region of the Virtual Machine with the recommendation
54-
- The new SKU is less expensive
52+
- The new SKU, if applicable, has the same Accelerated Networking and Premium Storage capabilities
53+
- The new SKU, if applicable, is supported in the current region of the Virtual Machine with the recommendation
54+
- The new SKU, if applicable, is less expensive
55+
- Instance count recommendations also take into account if the virtual machine scale set is being managed by Service Fabric or AKS. For service fabric managed resources, recommendations take into account reliability and durability tiers.
5556
- Advisor determines if a workload is user-facing by analyzing its CPU utilization characteristics. The approach is based on findings by Microsoft Research. You can find more details here: [Prediction-Based Power Oversubscription in Cloud Platforms - Microsoft Research](https://www.microsoft.com/research/publication/prediction-based-power-oversubscription-in-cloud-platforms/).
56-
- Advisor recommends not just smaller SKUs in the same family (for example D3v2 to D2v2) but also SKUs in a newer version (for example D3v2 to D2v3) or a different family (for example D3v2 to E3v2) based on the best fit and the cheapest costs with no performance impacts.
57+
- Based on the best fit and the cheapest costs with no performance impacts, Advisor not only recommends smaller SKUs in the same family (for example D3v2 to D2v2), but also SKUs in a newer version (for example D3v2 to D2v3), or a different family (for example D3v2 to E3v2).
58+
- For virtual machine scale set resources, Advisor prioritizes instance count recommendations over SKU change recommendations because instance count changes are easily actionable, resulting in faster savings.
5759

5860
### Burstable recommendations
5961

6062
We evaluate if workloads are eligible to run on specialized SKUs called **Burstable SKUs** that support variable workload performance requirements and are less expensive than general purpose SKUs. Learn more about burstable SKUs here: [B-series burstable - Azure Virtual Machines](../virtual-machines/sizes-b-series-burstable.md).
6163

62-
- A burstable SKU recommendation is made if:
64+
A burstable SKU recommendation is made if:
65+
6366
- The average **CPU utilization** is less than a burstable SKUs' baseline performance
6467
- If the P95 of CPU is less than two times the burstable SKUs' baseline performance
65-
- If the current SKU does not have accelerated networking enabled (burstable SKUs dont support accelerated networking yet)
68+
- If the current SKU doesn't have accelerated networking enabled, since burstable SKUs don't support accelerated networking yet
6669
- If we determine that the Burstable SKU credits are sufficient to support the average CPU utilization over 7 days
67-
- The result is a recommendation suggesting that the user resize their current VM to a burstable SKU (with the same number of cores) to take advantage of the low costs and the fact that the workload has low average utilization but high spikes in cases, which can be best served by the B-series SKU.
70+
71+
The resulting recommendation suggests that a user should resize their current virtual machine or virtual machine scale set to a burstable SKU with the same number of cores. This suggestion is made so a user can take advantage of lower cost and also the fact that the workload has low average utilization but high spikes in cases, which can be best served by the B-series SKU.
6872

69-
Advisor shows the estimated cost savings for either recommended action: resize or shut down. For resize, Advisor provides current and target SKU information.
70-
To be more selective about the actioning on underutilized virtual machines, you can adjust the CPU utilization rule on a per-subscription basis.
73+
Advisor shows the estimated cost savings for either recommended action: resize or shut down. For resize, Advisor provides current and target SKU/instance count information.
74+
To be more selective about the actioning on underutilized virtual machines or virtual machine scale sets, you can adjust the CPU utilization rule on a per-subscription basis.
7175

72-
There are cases where the recommendations cannot be adopted or might not be applicable, such as some of these common scenarios (there may be other cases):
73-
- Virtual machine has been provisioned to accommodate upcoming traffic
74-
- Virtual machine uses other resources not considered by the resize algo, i.e. metrics other than CPU, Memory and Network
76+
In some cases recommendations can't be adopted or might not be applicable, such as some of these common scenarios (there may be other cases):
77+
- Virtual machine or virtual machine scale set has been provisioned to accommodate upcoming traffic
78+
- Virtual machine or virtual machine scale set uses other resources not considered by the resize algo, such as metrics other than CPU, Memory and Network
7579
- Specific testing being done on the current SKU, even if not utilized efficiently
76-
- Need to keep VM SKUs homogeneous
77-
- VM being utilized for disaster recovery purposes
80+
- Need to keep virtual machine or virtual machine scale set SKUs homogeneous
81+
- Virtual machine or virtual machine scale set being utilized for disaster recovery purposes
7882

79-
In such cases simply use the Dismiss/Postpone options associated with the recommendation.
83+
In such cases, simply use the Dismiss/Postpone options associated with the recommendation.
8084

81-
We are constantly working on improving these recommendations. Feel free to share feedback on [Advisor Forum](https://aka.ms/advisorfeedback).
85+
We're constantly working on improving these recommendations. Feel free to share feedback on [Advisor Forum](https://aka.ms/advisorfeedback).
8286

8387
## Next steps
8488

articles/advisor/advisor-release-notes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ To learn more, visit [How to filter Advisor recommendations using tags](advisor-
2626

2727
## January 2022
2828

29-
[**Shutdown/Resize your virtual machines**](advisor-cost-recommendations.md#optimize-virtual-machine-spend-by-resizing-or-shutting-down-underutilized-instances) recommendation was enhanced to increase the quality, robustness, and applicability.
29+
[**Shutdown/Resize your virtual machines**](advisor-cost-recommendations.md#optimize-virtual-machine-vm-or-virtual-machine-scale-set-vmss-spend-by-resizing-or-shutting-down-underutilized-instances) recommendation was enhanced to increase the quality, robustness, and applicability.
3030

3131
Improvements include:
3232

@@ -38,4 +38,4 @@ Improvements include:
3838

3939
![vm-right-sizing-recommendation](media/advisor-overview/advisor-vm-right-sizing.png)
4040

41-
Read the [How-to guide](advisor-cost-recommendations.md#optimize-virtual-machine-spend-by-resizing-or-shutting-down-underutilized-instances) to learn more.
41+
Read the [How-to guide](advisor-cost-recommendations.md#optimize-virtual-machine-vm-or-virtual-machine-scale-set-vmss-spend-by-resizing-or-shutting-down-underutilized-instances) to learn more.

articles/cost-management-billing/costs/tutorial-acm-opt-recommendations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ The **Impact** category, along with the **Potential yearly savings**, are design
5151

5252
High impact recommendations include:
5353
- [Buy reserved virtual machine instances to save money over pay-as-you-go costs](../../advisor/advisor-reference-cost-recommendations.md#buy-virtual-machine-reserved-instances-to-save-money-over-pay-as-you-go-costs)
54-
- [Optimize virtual machine spend by resizing or shutting down underutilized instances](../../advisor/advisor-cost-recommendations.md#optimize-virtual-machine-spend-by-resizing-or-shutting-down-underutilized-instances)
54+
- [Optimize virtual machine spend by resizing or shutting down underutilized instances](../../advisor/advisor-cost-recommendations.md#optimize-virtual-machine-vm-or-virtual-machine-scale-set-vmss-spend-by-resizing-or-shutting-down-underutilized-instances)
5555
- [Use Standard Storage to store Managed Disks snapshots](../../advisor/advisor-reference-cost-recommendations.md#use-standard-storage-to-store-managed-disks-snapshots)
5656

5757
Medium impact recommendations include:

0 commit comments

Comments
 (0)