Azure Load Balancer

Azure Load Balancer is a Layer 4 (TCP/UDP) load balancer that enables you to distribute network traffic to applications. It provides high availability and helps improve application responsiveness by offloading the client from the original backend pool.

Key Features and Benefits

Load Balancer SKUs

Azure Load Balancer offers two SKUs: Basic and Standard. The Standard SKU provides enhanced features and higher performance.

Basic SKU

The Basic SKU is suitable for development and testing environments. It provides core load balancing functionalities but lacks some advanced features like availability zones and more robust diagnostics.

Standard SKU

The Standard SKU is recommended for production workloads. It offers:

Load Balancing Rules

Load balancing rules define how incoming traffic is directed to backend instances. Key components include:

Example Configuration

Here's a conceptual example of a load balancing rule:


# Example using Azure CLI for Standard Load Balancer
az network lb rule create \
  --resource-group MyResourceGroup \
  --lb-name MyLoadBalancer \
  --name http-rule \
  --protocol Tcp \
  --frontend-port 80 \
  --backend-port 80 \
  --frontend-ip-name MyFrontendIP \
  --backend-address-pool MyBackendPool \
  --health-probe MyHealthProbe
            
Note: For detailed deployment guides and advanced configurations, please refer to the official Azure documentation on Load Balancer SKUs and their respective features.

Learn More