Azure Lab

Use Load Balancer to Route Between Two Web Server VMs

We deploy the real environment, you take the scenario-based labs on us. Hands-on, from anywhere, at any time.

Time required: 2 Hours

Scope

This lab will show you how a load balancer manages web traffic between two Linux virtual machines running Ubuntu and Apache. Specifically, you'll review the settings for the load balancer, see how traffic is routed between the machines, see what happens when each VM is stopped, and see how port forwarding through the load balancer allows you to SSH into each VM on the same public IP address.

Suggested Pre Requisites

This lab is conducted entirely through the Azure portal, using a web browser. You should have a general understanding of how network routing works to understand the concepts in this lab.

Overview

This lab will show you how a load balancer manages web traffic between two Linux virtual machines running Ubuntu and Apache. Specifically, you'll review the settings for the load balancer, see how traffic is routed between the machines, see what happens when each VM is stopped, and see how port forwarding through the load balancer allows you to SSH into each VM on the same public IP address.

Scenarios


  • Review the settings for a load balancer that is routing traffic between to Web servers and port forwarding SSH connections to those machines.

  • Make requests to the load balancer's public IP address to see which VM responds to the request.

  • Stop each VM and see how load balancer routes traffic away from the stopped instance.

  • SSH into each VM to see how port forwarding sends you to the correct VM.

Share our Labs
Start Your Free Trial

We have the longest and most in depth courses about cloud and engineering topics on the web. All of our training content is included with every membership.