Creating and analyzing metrics and alerts
There are several ways to consume and analyze alerts and metrics across Azure Monitor. You can consume this directly from the Monitor service as well as from the associated resource blade. In the upcoming sections, we will set up metrics and alerts and show you how to analyze them.
In order to follow along, you will need a resource to monitor metrics from; we will deploy a virtual machine (VM) to assist with this.
Creating a VM
For this exercise, you will be deploying a new VM to monitor against:
- Navigate to the Azure portal by clicking on https://portal.azure.com.
- Create a new resource group named
AZ104-Monitor
. - Create a new VM with the following attributes; you can also use the template from Chapter 17, Integrating On-Premises Networks with Azure, and modify the following as well as name the VNet and subnet:
- Subscription: Select your Azure subscription.
- Resource Group:
AZ104-Monitor
. - Virtual machine name:
MonitorServer...