3 Types of Azure Load Balancers

Load Balancers helps to distribute the Network Traffic across different servers or applications.  Thus high response systems are maintained.

In Azure there are 3 types of Load Balancers.

Azure Traffic Manager

This is an External Global Load Balancer which determines the User’s Location and Redirect to the Closest Region of Deployment.

Azure Application Gateway

This is Layer 7 load balancing.  Here the incoming traffic is distributed using the cookie, url-routing rules etc.  There will be backend pool websites behind a single application gateway.

Azure Load Balancer

This is Layer 4 load balancing.  There are 2 types under this category:

  • External Load Balancer for routing requests to Frontend Public IP Addresses
  • Internal Load Balancer for routing request to Backend Private IP Addresses





Azure PowerShell

Azure PowerShell is derived from Windows PowerShell.  It allows Rapid Automation of Azure Resource Management through Scripts.

Step 1: Open Windows PowerShell from your windows.


Step 2: Run Command to Install Azure PowerShell Module

Install-Module -Name Az -AllowClobber -Scope AllUsers

In the appearing prompt enter A for All.

Optionally, you can run following command.

Import-Module Az.Accounts

Step 3: Test Connectivity


If you get the following prompt enter your Azure Credentials.


If you get the following Information you are Good!


Common Errors

If you encounter common errors like below.

Import-Module : File c:\Az.Accounts\1.6.6\Az.Accounts.psm1 cannot be
loaded because running scripts is disabled on this system.

Solution Commands


Set-ExecutionPolicy remoteSigned