Download as pdf or txt
Download as pdf or txt
You are on page 1of 20

Azure Load Balancer

With Azure Load Balancer, you can scale your applications and create high
availability for your services.

Load Balancer distributes new inbound flows that arrive on the Load
Balancer's frontend to backend pool instances, according to rules and
health probes.

Azure Load Balancer type: Basic and Standard. There are differences in
scale, features, and pricing. Any scenario that's possible with Basic Load
Balancer can also be created with Standard Load Balancer, although the
approaches might differ slightly.
Azure Load Balancer
You can create a public Load Balancer or an internal Load Balancer. When
you create a public Load Balancer, you must also create a new Public IP
address that is configured as the frontend (named
as LoadBalancerFrontend by default) for the Load Balancer.
what is availability set in azure
Availability set provides redundancy for your virtual machines.
By deploying your vms across multiple hardware nodes Azure ensures that
if hardware or software failure happens within Azure, only a sub-set of your
virtual machines are impacted and your overall solution is safe and in
working condition.
Azure Load Balancing Configuration--00

Tasks
1.Setup new resource group

2. Setup two new windows VM

3. Setup IIS (windows) or Apache web server(Linux) with sample web page

4. Create Azure load balancer

5. Create a backend pool

6. Create health probes

7. Create load balancer rule

8. Testing
Azure Load Balancing Configuration--1

Open VM- Create VM- Follow the steps - Create new


Availability set
Azure Load Balancing Configuration--2

Now select OS and VM size


Azure Load Balancing Configuration --3

Next - Next - Next - Next - Review and create


In the same way Create one more VM with same Availability set, same OS and
Same VM size
Now open networking ---Load Balancer
Azure Load Balancing Configuration --4

Create Load balancer -fill the detail --Type-Public, SKU - Basic


Azure Load Balancing Configuration --5

Next -Next -Next- Create


Now open the Created Load Balancer
Azure Load Balancing Configuration --6

Click on Backend Pools --- Add


Azure Load Balancing Configuration --7

Fill the detail to select the Vnet and selecting the VMs
Azure Load Balancing Configuration --8

--OK Now click on Health probe


Azure Load Balancing Configuration --9

Type name only– and change protocol from TCP to HTTP


Azure Load Balancing Configuration --10

Now click on load balancer rule


Azure Load Balancing Configuration --11

Type name only -- remaining options taken


automatically --- finally –OK
Azure Load Balancing Configuration --12

Click on Frontend-IP –Add – give name—select either static or


dynamic IP –ok
Click on frontend IP configuration – copy the public IP
Azure Load Balancing Configuration --13

Now go to VM - Connect both VM and configure HTTP web pages there and
access the web pages through the common Frontend IP.

Refresh the page continuously – one by one server switch to show the web
page

You might also like