hands-on lab

Create and Configure Load Balancers in Microsoft Azure

Up to 1h 30m
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.


With Azure Load Balancer, you can scale your applications and create high availability for your services. Load Balancer supports inbound and outbound scenarios, provides low latency and high throughput, and scales up to millions of flows for all TCP and UDP applications. Load Balancer distributes new inbound flows that arrive on the Load Balancer's frontend to backend pool instances, according to rules and health probes.

In this lab, you will create a load balancer and configure it to serve traffic to a web application. You'll also create the necessary resources the Load Balancer will need to use in order to serve traffic, including an Azure Virtual Machine, Virtual Network, Network Security Group and more.

Lab Objectives

Upon completion of this lab you will be able to:

  • Understand the principles of Azure load balancing
  • Configure Azure load balancers using the Azure Portal
  • Configure resources related to load balancing in Azure

Intended Audience

This lab is intended for:

  • Azure administrators
  • Students who want to know how to serve load-balanced websites in Azure
  • Those looking to test for one of several Azure certifications, including AZ-104 and AZ-303


You should be familiar with:

  • Basic understanding of Azure networking concepts as they pertain to load balancing
  • Familiarity with the Azure Portal is helpful but not required


October 4th, 2023 - Updated the instructions and screenshots to reflect the latest UI

July 11, 2022 - Updated screenshot to match UI

January 19th, 2022 - Updated lab instructions and screenshots to reflect the latest UI

July 29th, 2021 - Updated lab instructions and image to reflect the changes in Azure Portal

April 14th, 2021 - Moved validation checks to the most relevant lab step for more immediate validation feedback


Environment before

Environment after

About the author

Matt Martinez, opens in a new tab
Cloud Content & Labs QA
Learning paths

Matt has worked for multiple Fortune 500 companies as a DevOps Engineer and Solutions Architect. He is an AWS Certified DevOps Engineer - Professional, and an AWS Certified Solution Architect - Associate. He enjoys reading and learning new technologies.

Covered topics

Lab steps

Logging in to the Microsoft Azure Portal
Creating an Azure Load Balancer
Creating Resources Needed to Serve Traffic With a Load Balancer
Creating Azure VMs to Receive Internet Traffic from a Public Load Balancer
Connecting to an Azure Virtual Machine Using RDP
Configuring an Azure VM to Serve a Basic Website