How to create and configure Load Balancer on Microsoft Azure
To Create And Configure Load Balancer On Microsoft Azure
Introduction:
An Azure load balancer is an ultra-low-latency Open Systems Interconnection (OSI) model Layer 4 inbound and outbound load balancing service for all UDP and TCP protocols.
Installation Steps:
Step 1: Login to Microsoft Azure portal
Step2: Select virtual machine and click Create the virtual machine primary-server
Step 3: Enter the Project details Instance Details and Administration account details
Step 4: Enter the Disk Details and click next
Step 5: Enter the Networking Interface Details
Step 6: Set to Default configuration in management, advanced and tags tab
Step 7: Review and Click Create to create the virtual machine
Step 8: The Deployment is successful
Step 9: Again, Create another virtual machine the virtual machine name secondary-server
Step10: After Create the two Virtual Copy the public Ip address and login via ssh
Step 11: Next Check the Ip Address for Two virtual machine and install the Apache webserver by using following commands.
Step 12: After install the Apache webserver give full permission for html file and change the Apache webserver default page by using following commands
Step 13: Next, go to the browser browse the primary and secondary Virtual machine Ip address
Step 14: Next, go to azure create the load balancer.
Step 15: After creating the load balancer go to resource create a add health probe
Step 16: Next check the load balancer Ip address and virtual machine Ip address for same. Go to browser browse the Ip address. Automatically open server2 again refresh the page change server1 machine.
Conclusion:
We have reached the end of this article. In this guide, we have walked you through the steps required to Create and Configure Load Balancer on Microsoft Azure. Your feedback is much welcome.
External load balancers, which load balance external traffic to an internet-connected endpoint. For more information, see Azure Load Balancer Types.
For both types, Azure offers a basic SKU and standard SKU that have different functional, performance, security, and health tracking capabilities. For more information about the other load balancer SKUs, see SKU Comparison.