Load balancer is indispensable for every network if there are multiple servers. The Network Load Balancer distributes traffic among multiple destination servers, inter-site or intra-site. This also provides DR capabilities and maintenance flexibility during production hours.
1. Launch URL portal.azure.com in your web browser and login credential.
2. After login, the azure dashboard screen will appear. Click on New > Networking > Load Balancer.
3. Fill in the relevant Name for load balancer, type any IP from the same subnet of both VMs and add Recourse Group, add Location of data centre and click Create.
4. After creating load balancer, select All resources and click on load balancer.
5. Click on Load Balancer, select Probes and Add Probes.
6. Now click on Backend Pools, click on Add, write name of Backend Pool, and Add a virtual machine.
7. After selecting a virtual machine click on the Availability set.
Type the Name of backend pool and click OK.
Now click on Load balancing rules, click on Add and go to the option – Add load balancing rule.
Your Load Balancer has been created.