How do I optimize Azure cost recommendations?

Azure Cost Management works with Azure Advisor to provide cost optimization recommendations. Azure Advisor helps you optimize and improve efficiency by identifying idle and underutilized resources. This tutorial walks you through an example where you identify underutilized Azure resources and then you take action to reduce costs.

View cost optimization recommendations

NOTE:  Your subscription might not currently have any recommendations so the following is just included for informational purposes and you may not be able to follow along.

  1. To view cost optimization recommendations for a subscription, open the desired scope in the Azure portal and select Advisor recommendations.
  2. To view recommendations for a management group, open the desired scope in the Azure portal and select Cost analysis in the menu. Use the Scope pill to switch to a different scope, such as a management group. Select Advisor recommendations in the menu.

    The list of recommendations identifies usage inefficiencies or shows purchase recommendations that can help you save additional money. The totaled Potential yearly savings shows the total amount that you can save if you shut down or deallocate all of your VMs that meet recommendation rules. If you don't want to shut them down, you should consider resizing them to a less expensive VM SKU. The Impact category, along with the Potential yearly savings, are designed to help identify recommendations that have the potential to save as much as possible.

High impact recommendations include:

  • Buy reserved virtual machine instances to save money over pay-as-you-go costs
  • Optimize virtual machine spend by resizing or shutting down underutilized instances
  • Use Standard Storage to store Managed Disks snapshots

Medium impact recommendations include:

  • Delete Azure Data Factory pipelines that are failing
  • Reduce costs by eliminating un-provisioned ExpressRoute circuits
  • Reduce costs by deleting or reconfiguring idle virtual network gateways

Act on a recommendation

Azure Advisor monitors your virtual machine usage for 14 days and then identifies underutilized virtual machines. Virtual machines whose CPU utilization is five percent or less and network usage is seven MB or less for four or more days are considered low-utilization virtual machines.

The 5% or less CPU utilization setting is the default, but you can adjust the settings.

Although some scenarios can result in low utilization by design, you can often save money by changing the size of your virtual machines to less expensive sizes. Your actual savings might vary if you choose a resize action. Let's walk through an example of resizing a virtual machine.

In the list of recommendations,

To Resize a VM:

  1. click the Right-size or shutdown underutilized virtual machines In the list of virtual machine candidates,
  2. choose a virtual machine to resize and then click the virtual machine. The virtual machine's details are shown so that you can verify the utilization metrics. The potential yearly savings value is what you can save if you shut down or remove the VM. Resizing a VM will probably save you money, but you won't save the full amount of the potential yearly savings.

  3. In the VM details, check the utilization of the virtual machine to confirm that it's a suitable resize candidate.

Note the current virtual machine's size. After you've verified that the virtual machine should be resized, close the VM details so that you see the list of virtual machines.

  1. In the list of candidates to shut down or resize, select Resize the virtual machine.

  2. Next, you're presented with a list of available resize options. Choose the one that will give the best performance and cost-effectiveness for your scenario. In the following example, the option chosen resizes from a DS14_V2 to a DS13_V2. Following the recommendation saves $551.30/month or $6,615.60/year.

  3. After you choose a suitable size, click Select to start the resize action.Resizing requires an actively running virtual machine to restart. If the virtual machine is in a production environment, we recommend that you run the resize operation after business hours. Scheduling the restart can reduce disruptions caused by momentarily unavailability.
  4. When the VM resizing completes successfully, an Azure notification is shown.

Print Article


Article ID: 979
Fri 1/15/21 6:18 PM
Wed 9/15/21 8:30 PM

Related Services / Offerings (1)

Microsoft Azure is an ever-expanding set of cloud services to help UIC innovate and meet your organizational needs. It’s the freedom to build, manage, and deploy applications on a massive, global network using your favorite tools and frameworks.