hands-on lab

Load Balancing (Standard Load Balancer)

Up to 2h 47m
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.



There may be times when you want to have a system that is highly available, one way to achieve this is to deploy multiple virtual machines and load balance them. This Lab starts with a single virtual machine that you will add to a Load Balancer and then you will add a second virtual machine., After adding the second virtual machine, you will test the connectivity to both.

In this Lab exercise, you will:

Start with a pre-existing virtual network, with a single virtual machine (TestVM1). Then, you will complete the below tasks.

  • Provision a Standard Load Balancer
    • Create a Backend Pool
    • Create a Health Probe
    • Create a Load Balance Rule
  • Test access to the Load Balancer Public IP
  • Create a new virtual machine from the portal
    • Add the virtual machine into the existing Load Balancer
  • Check access to both virtual machines with the load balancer public IP


May 18th, 2023 - Resolved PowerShell script issue

About the author

David Bedford, opens in a new tab
Principal Technical Learning Specialist - Cloud

David’s IT career started in 1990, when he took on the role of Database Administrator as a favor for his boss. He redirected his career into the Client Server side of Microsoft with NT4, and then progressed to Active Directory and each subsequent version of Microsoft Client/Server Operating Systems. In 2007 he joined QA as a Technical Trainer, and has delivered training in Server systems from 2003 to 2016 and Client systems from XP onwards. Currently, David is a Principal Technical Learning Specialist (Cloud), and delivers training in Azure Cloud Computing, specializing in Infrastructure Compute and Storage. David also delivers training in Microsoft PowerShell, and is qualified in the Alibaba Cloud Space.

Lab steps

Logging in to the Microsoft Azure Portal
Create a Standard Load Balancer
Test the website access through the Load Balancer Public IP
Create a new VM and link to the Load Balancer