You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/advisor/advisor-cost-recommendations.md
+19-17Lines changed: 19 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,44 +16,46 @@ Azure Advisor helps you optimize and reduce your overall Azure spend by identify
16
16
17
17
1. On the **Advisor** dashboard, select the **Cost** tab.
18
18
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
20
20
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.
22
22
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.
24
24
25
25
### Shutdown recommendations
26
26
27
27
Advisor identifies resources that have not been used at all over the last 7 days and makes a recommendation to shut them down.
28
28
29
29
- Recommendation criteria include **CPU** and **Outbound Network utilization** metrics. **Memory** is not considered since we’ve found that **CPU** and **Outbound Network utilization** are sufficient.
30
30
- 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). For virtual machine scale sets, the metrics from individual virtual machines are aggregated using the average of the metrics across instances.
32
32
- A shutdown recommendation is created if:
33
33
- P95th of the maximum value of CPU utilization summed across all cores is less than 3%.
34
34
- P100 of average CPU in last 3 days (sum over all cores) <= 2%
35
35
- Outbound Network utilization is less than 2% over a seven-day period.
36
36
37
37
### Resize SKU recommendations
38
38
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). FOr virtual machine scale sets, Advisor recomments 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.
40
40
41
41
- Recommendation criteria include **CPU**, **Memory** and **Outbound Network utilization**.
42
42
- 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:
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). For virtual machine scale sets the metrics from individual VMs are aggregated using the avg 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
45
- Performance of the workloads on the new SKU should not be impacted.
46
46
- Target for user-facing workloads:
47
47
- P95 of CPU and Outbound Network utilization at 40% or lower on the recommended SKU
48
48
- P100 of Memory utilization at 60% or lower on the recommended SKU
49
49
- Target for non user-facing workloads:
50
50
- P95 of the CPU and Outbound Network utilization at 80% or lower on the new SKU
51
51
- 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 VMSS is being managed by Service Fabric or AKS. In the case of service fabric managed resources, recommendations take into account reliability and durability tiers.
55
56
- 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
57
- 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.
58
+
- For VMSS resources, Advisor prioritizes instance count recommendations over SKU change recommendations due to the easy actionability of instance count changes, resulting in faster savings.
57
59
58
60
### Burstable recommendations
59
61
@@ -64,17 +66,17 @@ We evaluate is workloads are eligible to run on specialized SKUs called **Bursta
64
66
- If the P95 of CPU is less than two times the burstable SKUs' baseline performance
65
67
- If the current SKU does not have accelerated networking enabled (burstable SKUs don’t support accelerated networking yet)
66
68
- 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.
69
+
- The result is a recommendation suggesting that the user resize their current virtual machine or virtual machine scale sets 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.
68
70
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.
71
+
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.
72
+
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.
71
73
72
74
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
75
+
- Virtual machine or virtual machine scale set has been provisioned to accommodate upcoming traffic
76
+
- Virtual machine or virtual machine scale set uses other resources not considered by the resize algo, i.e. metrics other than CPU, Memory and Network
75
77
- 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
78
+
- Need to keep virtual machine or virtual machine scale set SKUs homogeneous
79
+
-Virtual machine or virtual machine scale set being utilized for disaster recovery purposes
78
80
79
81
In such cases simply use the Dismiss/Postpone options associated with the recommendation.
0 commit comments