Hands-on Lab: Creating and Managing Azure Virtual Machines   Real Time Labs Enabled

Level 300

Published 2017-05-19

Length 3 hours 50 minutes



In this lab, you will learn the foundations of deploying and configuring virtual machines in Microsoft Azure. You will configure a web farm using availability sets, load balancing, and virtual machine extensions to deploy a web app. You will configure diagnostics and monitoring for the virtual machine as well as setup network security groups to lower any potential attack surface area.

Lab Audience

  • IT Professionals

Lab Objectives

  • Provision a virtual machine using the Azure Management Portal
  • Provision a virtual machine using Azure PowerShell
  • Configure diagnostics and monitoring
  • Setup virtual machines for high availability
  • Custom a virtual machine’s guest operating system using virtual machine extensions
  • Configure virtual machine storage and storage spaces in Windows Server
  • Setup the load balancer to distribute traffic between multiple virtual machines
  • Understand the basics of network security groups and public/private IP addresses

You can complete this lab online now! Purchase Real Time Lab Credits

Lab Guide

Exercise 1: Overview and Environment Setup

In this exercise, you will create a Virtual Machine in Azure that will be used to complete the exercises in this lab.

Exercise 2: Create a Virtual Machine in a Virtual Network

In this exercise, you will create a virtual network that will be used for several of the hands-on labs in this course. You will then create a virtual machine and specify the virtual network configuration and the availability set configuration along with storage for the virtual machine.

Exercise 3: Creating an Azure VM with PowerShell

In this exercise, you will next configure a PowerShell script that will deploy a second virtual machine in the same availability set as the first virtual machine for a second web server. The script will also deploy a virtual machine using a SQL Server image that will later be used to host a database.

Exercise 4: Using Virtual Machine Extensions

In this exercise, you will execute several PowerShell scripts that will in turn run PowerShell Desired State Configuration (DSC) scripts to customize each of the virtual machines that were created in the previous labs.

Exercise 5: Diagnostics and Monitoring

In this exercise, you will explore the diagnostics capabilities built into the Azure Virtual Machine platform. You will configure the diagnostics agent, configure alerts, and review the boot diagnostics capabilities.

Exercise 6: Virtual Machine Storage

In this exercise, you will learn how to attach additional storage from the Azure Management Portal and manage the underlying storage using Azure Storage Explorer.

Exercise 7: Configuring the Load Balancer

In this exercise, you will create a new load balancer resource and a public static IP address. The web virtual machines created earlier will be added to the back-end pool of the load balancer.

Exercise 8: Delete Resources in your Subscription

In this exercise, you will delete the resource groups for the resources you created in this lab. This will delete all of the artifacts created in Azure for this lab.

You can complete this lab online now! Purchase Real Time Lab Credits

Try this lab on your own with Opsgility Real Time Labs!

Real Time Lab Enabled: Learn by Doing

Studies have consistently proven that students that perform projects hands-on have a much deeper understanding of the topic at hand, compared to just listening to a lecture such as traditional video based training.

Real Time Labs from Opsgility provides students with the ability to perform practical exercises within the technology in a real-time and isolated environment to allow a truly immersive learning experience. A student can take advantage of Real Time Labs by first purchasing the lab credits required for the course of interest and then Real Time Labs will setup all of the necessary tools and additional dependencies behind the scenes for the student to begin their learning journey.

Real Time Lab credit cost: 25 - ($25 US Dollars)