Sunday, April 4, 2021

Internal Load Balancer Demo

 The Internal Load Balancer is an Azure Load Balancer that has only an internal-facing Virtual IP. This essentially means users cannot apply an Internal Load Balancer to balance a traffic load coming from the Internet to internal input endpoints.

The Internal Load Balancer implements load balancing only for virtual machines connected to an internal Azure cloud service or a virtual network.

Internal load balancer directs traffic only to resources that are inside a virtual network or that use a vpn to access Azure infrastructure.

Create a Virtual network named (myvnet).

Now we need to create 3 Virtual machine (vm1, vm2, vm3) within created Virtual network. select availability set same in all VM's.

Now take RDP of all VM's and install Web server.

Now Create new Load Balancer. 


Now go to created Load balancer. 


Go to Backend Pool and create a new Backend pool and add vm1 and vm2 virtual machine in that backend pool.


Now Go-to Health prob and add new health prob with it's required information.


Now go-to Load balancing rule and add new load balancing rule. 


all configurations are done in Load balancer.

Now go to vm1 and vm2 server and create index.html file in wwwroot directory.  you can write some content in index.html file. I have written server name (vm1 and vm2)


Now we need to test load balancer. So here we are testing internal load balancer. for this we will send request from any VM in same network. 
First copy the private Ip of load balancer (10.0.0.7).
Take rdp of vm3 and open IE browser. now paste the ip of load balancer in IE browser and hit enter button. 


You will see the data coming from vm1 server. If you frequently refresh the page you will see data from same server. Now wait for at least 4 minutes and again refresh the page. load balancer will redirect the request to another vm (vm2).


So this is the complete demo of Internal load balancer testing in same region.

Related Posts:

  • Azure API Management (APIM) Azure API Management is a fully managed service that helps developers to securely expose their APIs to external and internal customers. It provi… Read More
  • Azure DevOps Q/A1. What is Azure DevOps?Answer: Azure DevOps is a set of development tools and services provided by Microsoft that facilitates the entire DevOps lifec… Read More
  • Azure Virtual Network Azure Virtual Network (VNet) is the fundamental building block for your private network in Azure. VNet enables many types of Azure resources, su… Read More
  • Azure FunctionsAzure Functions allows a piece of code to be deployed and executed without needing server infrastructure, web server, or any configurations. In additi… Read More
  • Microsoft Azure Q/A What is Microsoft Azure?Answer: Microsoft Azure is a cloud computing platform provided by Microsoft that offers a wide range of services, includ… Read More

0 comments:

Post a Comment