Invalid Login Attempt

Lab: Deploying a Linux Web Farm with Azure VMs


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.

  • Estimated time required to complete: 3 hours, 30 minutes
  • You will have access to this environment for 6 hours, 0 minutes
  • Learning Credits Required: 10

Learning Objectives

  • Deploying an Azure VM running Linux Operating System from the Azure Portal
  • Adding Azure Storage to a Linux VM in Azure
  • Enabling and configuring Azure VM monitoring and diagnostics features
  • Deploying an Azure Load Balancer from the Azure Portal
  • Deploying an Azure Network Security Group including rules


Exercise 1: Creating the Lab VM

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 Network and VM Infrastructure

In this exercise, you will create a virtual network that will be used for several of the exercises in this lab. 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. The following diagram illustrates what we will provision in this exercise.

Exercise 3: Create the 2nd Web Server and Database Server
In this exercise, you will use the Azure portal to deploy two additional virtual machines, WEBVM1 and SQLVM1. The following diagram illustrates what we will provision in this lab.
Exercise 4: Using Virtual Machine Extensions

In this exercise, you will execute a custom script extension that will install Apache on the web servers as well as deploying a simple web page.  Additionally, you will execute custom script extension to install the mySQL database management system on SQLVM1.

Exercise 5: Load Balancing and Network Security Groups

In this exercise, you will configure load balancing and network security groups to enable connectivity in to the solution but also to restrict which ports can be accessed.

Login to Start Lab

Not Registered? Already Registered?
Real Time Labs allow you to learn technology in an isolated environment without the hassle or cost of setting up a dedicated learning environment.

How it works