CloudAcademy
  1. Home
  2. Training Library
  3. Microsoft Azure
  4. Courses
  5. Create and Manage Virtual Machines for Azure 70-532 Certification

Monitor VMs

Contents

keyboard_tab
Introduction
1
Overview4m 31s
play-arrow
Start course
Overview
DifficultyIntermediate
Duration1h
Students249

Description

Course Description

This course will show you how to create and manage virtual machines in the Azure ecosystem. 

Course Objectives

By the end of this course, you'll have gained a firm understanding of the key components that comprise the Azure virtual machine ecosystem. Ideally, you will achieve the following learning objectives:

  • How to create and manage virtual machines in the Azure environment. 
  • How to create and manage VM images, workloads, and more. 
  • How to monitor your Azure virtual machines. 

Intended Audience

This course is intended for individuals who wish to pursue the Azure 70-532 certification.

Prerequisites

You should have work experience with Azure and general cloud computing knowledge.

This Course Includes

  • 59 minutes of high-definition video.
  • Expert-led instruction and exploration of important concepts surrounding Azure virtual machines.

What You Will Learn

  • The concepts behind VM workloads.
  • How to create and manage Azure VM images.
  • Azure VM configuration management.
  • Azure VM networking.
  • How to scale Azure virtual machines.
  • How to design and implement Azure VM storage.
  • How to monitor your Azure virtual machines.  

Transcript

Hello and welcome to the final section of this course, which covers how to monitor your existing virtual machines. This section covers three main areas. We'll look first at how to cess up metrics on a virtual machine. Next we'll see how to monitor those metrics within the portal and lastly we'll look at alerts.

Metrics are statistics emitted by a single virtual machine that are captured by Azure. By default, a set of core metrics are emitted both on Windows and Linux VMs. In addition, by an extension installed on Windows VMs, a whole host of other metrics can be captured based on performance counter metrics. As you can see, a wide variety of metrics are available and configurable to capture at different time intervals, per minute or per hour. You can also capture different event logs. Again, configurable based on severity.

Metrics are mostly captured to Azure storage tables that begin with WAD. The only exception is the IAS logs, which are written as blobs in the WAD IAS log files container. Monitoring metrics in Azure is simple. In addition to checking the tables and blobs that are emitted manually, you can also use the portal to check logs. Simply navigate to the virtual machine and edit the chart in the monitoring panel. You can select from a wide variety of metrics and can filter data for a specific time range. Having confirmed metrics, you can see the updated charts in the main virtual machine blade.

Alerts can be used to check when a specific metric falls outside a specific pre-defined range over a specific time period. When an alert triggers, you can opt so send an email to a set of specific addresses as well as access and arbitrary HTTP endpoint. You might have many uses for this, such as identifying when an application on the VM crashes or if a load is too high.

In this demo we'll see how to create an alert for an existing VM. From the virtual machine settings blade, we can select the alert rule section. It's toward the bottom under the monitoring tag. Click on the alert rules. And we'll now choose a new alert so we'll add an alert. And we'll give it the name of CPU too high. And the metric that we'll choose is gonna be CPU user time. And we'll say it's gotta be greater than or equal to 90%. And that's gonna be over a period of 10 minutes. We'll choose to email the owners, contributors and readers and then we just click okay.

Now the alert is now ready and waiting for any activity to reach that threshold on this virtual machine. And we can now see that the alert is now running on this virtual machine. That was our last demo and thank you for watching the create and manage virtual machines, part of the Azure 70-532 exam prep by CloudAcademy. We hope you enjoy these set of videos and we hope to see you again in the future.

About the Author

Isaac has been using Microsoft Azure for several years now, working across the various aspects of the service for a variety of customers and systems. He’s a Microsoft MVP and a Microsoft Azure Insider, as well as a proponent of functional programming, in particular F#. As a software developer by trade, he’s a big fan of platform services that allow developers to focus on delivering business value.