Monitor Virtual Machines by Using Extensions and Azure Monitor

Learn to monitor a virtual machine (VM) by using extensions and Azure Monitor: Create a VM using a custom ARM template and deploy a Desired State Configuration (DSC) script extension; Create an alert to notify you when the average CPU threshold on the VM exceeds 90 percent; Create a custom script extension to configure a new web app on the VM.

Time
1 hour
Difficulty
Intermediate
Share
NEED TO TRAIN YOUR TEAM? LEARN MORE
Join over 3 million cybersecurity professionals advancing their career
Sign up with
Required fields are marked with an *
or

Already have an account? Sign In »

Overview

Learn to monitor a virtual machine by using extensions and Azure Monitor. First, you will create a virtual machine by using a custom deployment Azure Resource Manager (ARM) template, and then you will deploy a Desired State Configuration (DSC) script extension to the virtual machine. Next, you will create an alert rule to notify you when the average CPU threshold on the virtual machine exceeds 90 percent. Finally, you will delete the existing DSC extension, and then you will create a custom script extension to configure a new web app on the virtual machine.