Lab: Creating and Managing Azure VMs


Lab Overview

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 Length

  • Estimated Time: 3 hours, 50 minutes, 0 seconds
  • Lab: 3 hours, 50 minutes, 0 seconds

Who this lab is designed for

  • IT Professionals

What You Will Learn

  • 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

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.
Labs:
  • Exercise 1: Overview and Environment Setup

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. 
Labs:
  • Exercise 2: Create a Virtual Machine in a Virtual Network

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. 
Labs:
  • Exercise 3: Creating an Azure VM with PowerShell

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.
Labs:
  • Exercise 4: Using Virtual Machine Extensions

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. 
Labs:
  • Exercise 5: Diagnostics and Monitoring

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. 
Labs:
  • Exercise 6: Virtual Machine Storage

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. 
Labs:
  • Exercise 7: Configuring 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.
Labs:
  • Exercise 8: Delete Resources in your Subscription

Try Risk Free

Individual For Teams
Opsgility subscriptions include unlimited access to Opsgility official courseware, the most comprehensive online training for the Microsoft cloud and related technologies.
Subscription Benefits
  • Access to Real Time Lab environments and lab guides
  • Course Completion Certificates when you pass assessments
  • 5% off instructor-led courses
  • Easy purchase of Microsoft On-Demand Official Curriculum
  • MUCH MORE!