Articles → MICROSOFT AZURE → Load Balancer In Azure
Load Balancer In Azure
Purpose
Components Of Load Balancer
- Backend pool → It is the pool of virtual machines. The load balancer distributes the load on the virtual machines present in the backend pool
- Frontend IP → An IP address assigned to the load balancer. All requests will hit the frontend IP address and further, the load balancer distributes the load on the virtual machines in the backend pool
- Health probe → Checks the health of the virtual machine at regular intervals. If the virtual machine is not well, then the load balancer will not distribute the load on that virtual machine
- Load Balancing Rule → A set of rules applied to the specific components of the load balancer
Basic Vs Standard Load Balancer
Load balancer category | Virtual machines | Availability Sets | Scale Sets |
---|
Basic load balancer | Single virtual machine | Yes | Yes |
Standard load balancer | Multiple virtual machines | Yes | Yes |
Internal Vs External Load Balancer
Click to Enlarge
Steps Of Creating The Load Balancer
- Creation of a virtual machine
- Creation of the public IP address
- Create a load balancer with the public IP address
- Setting different components of the load balancer
- Configure the backend pool
- Configure the health probe
- Configure the load-balancing rules
- Test the load balancer
Creation Of A Virtual Machine
- Availability options are Availability set
Click to Enlarge
- Public IP is set to None
Click to Enlarge
Click to Enlarge
Creation Of The Public IP Address
Click to Enlarge
Create A Load Balancer With The Public IP Address
Click to Enlarge
Click to Enlarge
Click to Enlarge
Configure The Backend Pool
Click to Enlarge
Click to Enlarge
Configure The Health Probe
Click to Enlarge
Click to Enlarge
Configure The Load Balancing Rules
Click to Enlarge
Click to Enlarge
Test The Load Balancer
Click to Enlarge
Click to Enlarge