Auto-Stop Virtual Machines based on CPU utilization
Auto-Stop Virtual Machines based on CPU utilization: Microsoft Azure provides a service to Start or stop virtual machines (VMs) whenever there is more/less load of CPU utilization. Prerequisites to test the Auto shutdown based on CPU utilization: A resource group containing the VMs An automation account with an azure run as account An azure monitor log analytics workspace Go to Home> "Start/Stop VMs during off hours" > Create Click on Add Solution> Create New Workspace > Fill-up the details > Create. Click on Automation Account> Create an Automation Account> Ok Click on Configuration> Parameters >Fill-up the required details. You can mention * to include for all resource group as target resource group and none to include all VM’s . In this case we mentioned a resource group.To exclude any VM’s mention the VM Name with comma separated values. Mention the Start and Stop schedule of the VM’s and configure mail id for notification ...