使用 Azure 顾问降低服务成本Reduce service costs using Azure Advisor

通过识别闲置和未充分利用的资源,顾问有助于优化和降低 Azure 总支出。Advisor helps you optimize and reduce your overall Azure spend by identifying idle and underutilized resources. 可在顾问仪表板的“成本”选项卡获取成本建议。 You can get cost recommendations from the *Cost* tab on the Advisor dashboard.

通过调整或关闭未充分利用的实例来优化虚拟机花费Optimize virtual machine spend by resizing or shutting down underutilized instances

虽然某些应用程序方案有意使虚拟机利用率较低,但通过管理虚拟机大小和数量通常可降低成本。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. 顾问可监视虚拟机 7 天的使用情况,并识别出利用率较低的虚拟机。Advisor monitors your virtual machine usage for 7 days and then identifies low-utilization virtual machines. 以下情况可以将虚拟机视为使用率低:其 CPU 使用率为 5% 或更低且其网络使用率低于 2%,或者更小的虚拟机大小可以容纳当前工作负荷。Virtual machines are considered low-utilization if their CPU utilization is 5% or less and their network utilization is less than 2% or if the current workload can be accommodated by a smaller virtual machine size.

顾问会显示继续运行虚拟机的预估成本,以便你选择关闭它还是对其进行调整。Advisor shows you the estimated cost of continuing to run your virtual machine, so that you can choose to shut it down or resize it.

若要加强对低使用率虚拟机的标识,可在每个订阅的基础上调整平均 CPU 使用率。If you want to be more aggressive at identifying underutilized virtual machines, you can adjust the average CPU utilization rule on a per subscription basis.

通过消除未设置的 ExpressRoute 线路来降低成本Reduce costs by eliminating unprovisioned ExpressRoute circuits

顾问将识别提供程序状态为“未设置”长达一个月以上的 ExpressRoute 线路将被顾问标识,如果没有使用连接性提供程序配置该线路的计划,顾问将建议删除它。Advisor identifies ExpressRoute circuits that have been in the provider status of Not Provisioned for more than one month, and recommends deleting the circuit if you aren't planning to provision the circuit with your connectivity provider.

通过删除或重新配置空闲虚拟网络网关来降低成本Reduce costs by deleting or reconfiguring idle virtual network gateways

顾问会识别已闲置超过 90 天的虚拟网络网关。Advisor identifies virtual network gates that have been idle for over 90 days. 由于这些网关按小时计费,因此如果不打算再使用它们,则应考虑重新配置或删除它们。Since these gateways are billed hourly, you should consider reconfiguring or deleting them if you don't intend to use them anymore.

购买虚拟机预留实例可节省即用即付成本Buy reserved virtual machine instances to save money over pay-as-you-go costs

顾问将查看过去 30 天的虚拟机使用情况,并确定是否可以通过购买 Azure 预留来节省资金。Advisor will review your virtual machine usage over the last 30 days and determine if you could save money by purchasing an Azure reservation. 顾问将展示可能在其中最大程度节省资金的区域和大小,并展示通过购买预留节约下来的估算费用。Advisor will show you the regions and sizes where you potentially have the most savings and will show you the estimated savings from purchasing reservations.

顾问还会向你通知在接下来的 30 天内将过期的预留实例。Advisor will also notify you of reserved instances that you have that will expire in the next 30 days. 它将建议你购买新的预留实例来避免即用即付定价。It will recommend that you purchase new reserved instances to avoid paying pay-as-you-go pricing.

删除未关联的公共 IP 地址可节省资金Delete unassociated public IP addresses to save money

顾问可以标识目前未关联到 Azure 资源(例如负载均衡器或 VM)的公共 IP 地址。Advisor identifies public IP addresses that are not currently associated to Azure resources such as Load Balancers or VMs. 这些公共 IP 地址会产生少许费用。These public IP addresses come with a nominal charge. 如果不打算使用它们,删除它们可以节省成本。If you do not plan to use them, deleting them can result in cost savings.

如何访问 Azure 顾问中的成本建议How to access Cost recommendations in Azure Advisor

  1. 登录 Azure 门户,并打开顾问Sign in to the Azure portal, and then open Advisor.

  2. 在顾问仪表板中,单击“成本”选项卡。On the Advisor dashboard, click the Cost tab.

后续步骤Next steps

若要了解有关顾问建议的详细信息,请参阅以下资源:To learn more about Advisor recommendations, see: