You manage an Azure subscription for your company.
The subscription has one hundred Azure virtual machines (VMs) that run different workloads.
You need to identify underutilized VMs and suggest a less expensive service tier for these VMs.
What should you use?
You should use Azure Advisor to identify underutilized VMs. You can use Azure Advisor to display personalized recommendations for your subscription. These recommendations are divided into five different categories. The Cost category includes recommendations on how to optimize VM costs by resizing or shutting down underutilized instances. Azure Advisor uses multiple metrics to identify underutilized VMs and suggests the most appropriate service tier for each workload.
You should not use Application Insights to identify underutilized VMs. You can use Application Insights as an Application Performance Management (APM) platform to monitor the applications to give visibility about performance anomalies, unhandled exceptions, and how users behave when using the applications.
You should not use Azure Monitor to identify underutilized VMs. Azure Monitor is a complete monitoring service that centralizes performance and availability by monitoring applications and services with the use of metrics and logs. You can use Azure Monitor to aggregate multiple metrics, like CPU usage percentage, network utilization, and others, to determine if a VM is underutilized. However, you need to adjust which metrics to use based on the VM workload and determine manually the most appropriate service tier to use.
You should not use Azure Log Analytics to identify underutilized VMs. Log Analytics is a tool in the Azure portal for writing log queries and analyzing their results. You can write a log query to calculate and correlate performance records and identify underutilized VMs. However, you need to write different queries based on the VM workload and determine manually the most appropriate service tier to use.