Azure Internal Load Balancer
Internal Load Balancer:-
An Internal load balancer directs traffic only to resources that are inside a virtual network or that use a VPN to access Azure infrastructure.
It Enables 4 types of load balancing:-
- Within a virtual network.
- For a cross premies virtual network.
- For multi-tier application.
- For line of Business applications.
Azure Internal Load Balancer Labs:-
Step1. Create Virtual Network.
— myvnet, 10.0.0.0/16
— RG-ILB, East US
— mysubnet, 10.0.0.0/24
— Review + Create, Create.
Step2. Create 3 Virtual Machines. VM1, VM2, VMTest.
— Availability Set — MyAvailSet.
— Image — Windows-2019.
— Size — 2vCPU, 4RAM.
— VM1. Pass, RDP, HTTP, HTTPS
— Boot Diagnostics — off
— Review + Create, Create.
— Do the same for VM2 and VMTest.
— install webserver (IIS) on VM1, VM2
—> Go to C:\ Drive —> inetpub —> wwwroot —> Create index.html file and write some data into that file.
Step3. Create Load Balancer.
— Name — Web-LB
— Internal
— SKU — Standard, RG-ILB, East US.
— VNet — myvnet
— mysubnet, Next.
— Add frontend ip:
—FE-ip01
— MySubnet, Add, Save.
— Add backend pool:
— BP01
— Add — VM1, VM2, Add, Save.
— Add Load Balancing Rule — Add
— LB-Rule, FE-ip01, 80, 80, Save.
— Health probe:
— HP01, HTTP, Save.
— Review + Create, Create.
—>> Go to resource copy Web-LB-ip.
Step4. Go to 3rd VM
—> VMTest take RDP and connect.
—> Open I-Explorer and paste ip and check the details.
—> Wait 4 minutes and hit again and see the another VM data.
ConversionConversion EmoticonEmoticon