# Azure Load Balancer

Azure Load Balancer is a managed Layer 4 service that distributes TCP and UDP traffic across Azure virtual machines and Virtual Machine Scale Sets.

Cloud service · Azure. Updated 2026-11-25. Page: https://blowstack.com/tools/cloud-services-hub/azure-load-balancer

> Azure Load Balancer provides public and private network endpoints, health-based traffic distribution, and configurable outbound connectivity for virtual machine workloads. It supports regional deployments, availability-zone resilience, and global load balancing across regional public load balancers, without terminating TLS or performing application-layer routing.

## 9 key features of Azure Load Balancer

1. **Public and internal frontends**: Expose internet-facing services through public IP addresses or private services through internal frontend IP addresses. Configure separate rules and frontends when applications require different ports or network exposure.
2. **Flow-based TCP and UDP distribution**: Distribute connections using five-tuple hashing while preserving the inbound client source IP. Optional two-tuple or three-tuple affinity supports client-IP-based persistence, with a potential trade-off in distribution fairness.
3. **Health probes and backend administration**: Use TCP, HTTP, or HTTPS probes to control backend eligibility for new flows. Administrative State lets operators override probe behavior for individual instances during maintenance, while backend health status provides diagnostic reasons.
4. **Availability-zone and global architectures**: Use zonal or zone-redundant frontend configurations and spread backends across zones. For public multi-region services, place a global load balancer in front of regional Standard Load Balancers and separately implement application and data redundancy.
5. **Explicit outbound SNAT**: Configure outbound rules on a public Standard Load Balancer to provide backend internet egress through selected frontend public IP addresses. Size SNAT port allocations for expected concurrency and monitor for exhaustion.
6. **Inbound NAT rules**: Map a frontend port to a specific backend instance rather than distributing that connection across the pool. Use inbound NAT rules v2 for scale-set access, and restrict management access instead of exposing administrative ports broadly.
7. **HA ports and floating IP**: An HA ports rule on an internal Standard Load Balancer distributes flows across all TCP and UDP ports, supporting network virtual appliance deployments. Floating IP supports selected clustering and port-reuse designs but requires the corresponding guest operating system configuration.
8. **Operational metrics and health events**: Use Azure Monitor metrics, Load Balancer Insights, backend health status, and health event logs to diagnose availability and traffic-distribution issues. Byte, packet, and SYN count metrics support a protocol dimension for separating TCP and UDP observations.
9. **Cross-subscription configurations**: Supported configurations allow frontend public IP resources or backend instances to reside in subscriptions different from the load balancer. Apply the required permissions and networking constraints when separating shared network resources from application ownership.

## Where Azure Load Balancer is used

1. **Internet-facing TCP and UDP services**: Expose services such as game servers, messaging endpoints, or custom TCP applications through a public Standard Load Balancer. Keep TLS termination on the application instances and use application-aware health endpoints where appropriate.
2. **Private application tiers**: Provide a stable private endpoint for an application tier used by other services over connected virtual networks. An internal load balancer distributes flows without requiring a public endpoint on that tier.
3. **Highly available network appliances**: Use an internal Standard Load Balancer with HA ports to distribute traffic across supported firewall, routing, or other network virtual appliance instances. Validate appliance-specific routing, flow symmetry, and failover requirements.
4. **Multi-region public service availability**: Place a global load balancer ahead of regional public Standard Load Balancers to direct new traffic toward healthy regional deployments. Design regional application capacity and data replication so the surviving region can actually serve the workload.
5. **Scaling virtual machine workloads**: Associate a Virtual Machine Scale Set with a backend pool so additional instances can serve incoming connections as capacity grows. Coordinate application readiness, health probes, and scale-in behavior to avoid sending traffic to unready instances.
6. **Controlled public egress**: Use outbound rules to give backend virtual machines a defined set of public source IP addresses for outbound connections. Check SNAT capacity and compare the design with Azure NAT Gateway when connection scale or subnet-wide egress management is the primary requirement.

## How Azure Load Balancer is priced

- **Standard regional usage-based pricing**: Standard Load Balancer charges are based on configured load-balancing and outbound rules and the volume of data processed. Rule pricing uses published tiers, so estimate both rule-hours and processed traffic rather than treating the service as a fixed monthly appliance.
- **Global load balancing**: Global deployments have their own applicable load-balancing rule and data-processing rates. Budget for the global layer, regional load balancers, public IP addresses, and applicable network transfer charges.
- **Gateway SKU metering**: Gateway Load Balancer uses separate gateway-hour and data-processing meters for network virtual appliance insertion scenarios. Appliance virtual machines, vendor licenses, and related networking resources are additional costs.
- **Associated infrastructure and observability**: Public IP addresses, virtual machines, outbound bandwidth, and diagnostic log ingestion or retention can add charges independently of load balancing. Rates vary by region, currency, and agreement; Basic Load Balancer is retired and should not be used as a free deployment option.

## Services Azure Load Balancer works with

A common regional architecture places virtual machines or a Virtual Machine Scale Set across availability zones behind a Standard Load Balancer. The frontend provides a stable endpoint, while virtual networks, network security groups, and host firewalls determine reachability. Health probes should reflect application readiness, and scale-set autoscaling should be coordinated with startup and shutdown behavior. For private tiers, use an internal frontend reachable through explicitly configured peering or hybrid connectivity.

AKS uses the same platform service for supported Kubernetes LoadBalancer services, but the cluster controller owns the relevant resource configuration. Manage those endpoints through Kubernetes manifests and supported AKS settings. Where internet egress needs dedicated source addresses or greater SNAT capacity, combine inbound load balancing with NAT Gateway on the backend subnets rather than relying on implicit outbound connectivity.

Across these architectures, use Azure Monitor alerts and health event logs alongside application telemetry to distinguish probe failures, backend faults, and outbound port pressure. Multi-region designs add a global load balancer above regional public load balancers, but still require independent planning for replicated data, application state, and regional failover capacity.

- **[Virtual Machines](https://blowstack.com/tools/cloud-services-hub/virtual-machines)**: Virtual machine network interfaces or supported backend IP configurations populate a regional backend pool. For example, place three application VMs across availability zones behind a zone-redundant frontend and probe an application readiness endpoint. Configure network security groups and host firewalls to admit both client traffic and health probes.
- **[Azure Kubernetes Service (AKS)](https://blowstack.com/tools/cloud-services-hub/azure-kubernetes-service-(aks))**: AKS can provision and manage Azure Load Balancer resources for Kubernetes Services of type LoadBalancer. For example, expose a UDP service publicly or use the appropriate Azure service annotation to create an internal endpoint. Make changes through supported Kubernetes and AKS configuration rather than manually editing controller-managed load balancer resources.
- **[Azure Virtual Network](https://blowstack.com/tools/cloud-services-hub/azure-virtual-network)**: Internal frontends obtain private IP addresses from a virtual network subnet, and backend reachability depends on the surrounding network configuration. For example, expose a private application tier to a peered application network or to on-premises clients connected through VPN or ExpressRoute. Validate routing, address-space overlap, and network security rules along the complete path.
- **[Azure Monitor](https://blowstack.com/tools/cloud-services-hub/azure-monitor)**: Azure Monitor collects platform metrics and supports alerts for availability, probe health, and connection-related indicators. For example, alert when backend health declines and send supported health event logs to a Log Analytics workspace for investigation. Correlate load balancer observations with guest and application telemetry because transport-level health alone does not establish application correctness.
- **[Azure NAT Gateway](https://blowstack.com/tools/cloud-services-hub/azure-nat-gateway)**: NAT Gateway can provide outbound internet connectivity for a subnet while a public or internal load balancer handles inbound distribution. For example, retain a public load balancer for application ingress and attach NAT Gateway to backend subnets for outbound API calls through dedicated egress IP addresses. NAT Gateway takes precedence for new outbound internet connections where both mechanisms apply, so update external IP allowlists and validate existing connection behavior during migration.
- **[API Management](https://blowstack.com/tools/cloud-services-hub/api-management)**: An internal Azure Load Balancer provides the private frontend for API Management instances deployed in internal virtual network mode. Clients that can reach the virtual network can call the API gateway without exposing it to the public internet.
- **[App Service](https://blowstack.com/tools/cloud-services-hub/app-service)**: An internal load balancer gives an internal App Service Environment a private inbound IP address. Apps in the environment can receive requests from connected networks without exposing a public application endpoint.
- **[Azure Adaptive Virtual Patching](https://blowstack.com/tools/cloud-services-hub/azure-adaptive-virtual-patching)**: Gateway Load Balancer can steer workload traffic through Azure Adaptive Virtual Patching for inspection. The service can block traffic that exploits a known vulnerability while the underlying workload awaits a software patch.
- **[Azure Advisor](https://blowstack.com/tools/cloud-services-hub/azure-advisor)**: Azure Advisor evaluates Load Balancer configurations and surfaces resource-specific recommendations. For example, it can identify a load balancer that should be upgraded from the retired Basic SKU to Standard.
- **[Azure App Testing](https://blowstack.com/tools/cloud-services-hub/azure-app-testing)**: A load balancer can be added as a monitored application component in an Azure load test. This lets you compare server-side metrics such as data path availability and SNAT connection counts with the load test's request rate and errors.
- **[Azure Application Gateway](https://blowstack.com/tools/cloud-services-hub/azure-application-gateway)**: An internal Load Balancer frontend can serve as an Application Gateway backend. Application Gateway handles HTTP routing and TLS termination, then sends requests to the private frontend, where Load Balancer distributes the resulting connections across healthy instances.
- **[Azure Blob Storage](https://blowstack.com/tools/cloud-services-hub/azure-blob-storage)**: Load Balancer diagnostic settings can archive supported resource logs and metrics in Blob Storage. For example, retain Standard Load Balancer health event logs in a storage account for later review.
- **[Azure Center for SAP solutions](https://blowstack.com/tools/cloud-services-hub/azure-center-for-sap-solutions)**: Azure Center for SAP solutions can provision internal Standard Load Balancers when it deploys highly available SAP infrastructure. A frontend IP gives clients a stable address for SAP Central Services or a database listener when its active node changes.
- **[Azure Container Apps](https://blowstack.com/tools/cloud-services-hub/azure-container-apps)**: A managed Azure Load Balancer provides an ingress frontend for a Container Apps environment integrated with a virtual network. In an internal environment, that frontend has a private IP address rather than a public one.
- **[Azure DDoS Protection](https://blowstack.com/tools/cloud-services-hub/azure-ddos-protection)**: Azure DDoS Protection monitors and mitigates attacks against supported public IP addresses assigned to Load Balancer frontends. For example, enable DDoS Network Protection on the virtual network hosting a public Standard Load Balancer for a multiplayer game.
- **[Azure DevOps](https://blowstack.com/tools/cloud-services-hub/azure-devops)**: Azure Pipelines has a Load Balancer task that removes a VM's network interface from a backend pool or adds it back. A release pipeline can take a VM out of rotation before deploying an update and reconnect it afterward.
- **[Azure DevTest Labs](https://blowstack.com/tools/cloud-services-hub/azure-devtest-labs)**: DevTest Labs uses a load balancer's inbound NAT rules to give multiple lab VMs a shared public IP address. Each VM can have a different frontend port for SSH or Remote Desktop.
- **[Azure DNS](https://blowstack.com/tools/cloud-services-hub/azure-dns)**: An Azure DNS alias record can reference the public IP resource assigned to a Load Balancer frontend. This ties the DNS record to the IP resource rather than to a manually entered address, so the record follows address changes on that resource.
- **[Azure Firewall](https://blowstack.com/tools/cloud-services-hub/azure-firewall)**: Azure Firewall can use a destination NAT rule to forward traffic from its public IP address to an internal Standard Load Balancer frontend. Load Balancer distributes the forwarded connections across healthy backends, and backend routes can send return traffic through the firewall.
- **[Azure Front Door](https://blowstack.com/tools/cloud-services-hub/azure-front-door)**: Azure Front Door Premium can use an internal Standard Load Balancer as a private origin through Private Link. Front Door accepts public HTTPS requests at the edge while the regional Load Balancer frontend stays private.
- **[Azure Kubernetes Fleet Manager](https://blowstack.com/tools/cloud-services-hub/azure-kubernetes-fleet-manager)**: Fleet Manager's Layer 4 multi-cluster load balancing uses Azure Load Balancer to expose a Kubernetes service across member clusters. A `MultiClusterService` gives clients one frontend IP for TCP or UDP traffic while Fleet Manager coordinates the participating clusters.
- **[Azure Machine Learning](https://blowstack.com/tools/cloud-services-hub/azure-machine-learning)**: Azure Machine Learning can provision a load balancer for public-IP compute clusters deployed in a customer-managed virtual network. The load balancer supports connectivity for the managed compute nodes.
- **[Azure Marketplace](https://blowstack.com/tools/cloud-services-hub/azure-marketplace)**: Azure Marketplace offers network virtual appliances that are designed to work with Gateway Load Balancer. For example, a supported firewall appliance can be deployed into a Gateway Load Balancer backend pool to inspect traffic from a chained public Standard Load Balancer frontend.
- **[Azure Network Watcher](https://blowstack.com/tools/cloud-services-hub/azure-network-watcher)**: Network Watcher topology shows load balancers and their relationships to resources such as public IPs and backend network interfaces. Connection troubleshoot can also test reachability to a frontend IP and port.
- **[Azure Policy](https://blowstack.com/tools/cloud-services-hub/azure-policy)**: Azure Policy can evaluate Load Balancer resources against deployment requirements. For example, a policy can audit load balancers that do not use the Standard SKU or deny deployments that violate that requirement.
- **[Azure Private Link](https://blowstack.com/tools/cloud-services-hub/azure-private-link)**: A Private Link service can attach to an internal Standard Load Balancer frontend and expose the service behind it to approved private endpoints. Consumers can connect from their own virtual networks without peering with the provider network or using a public IP address.
- **[Azure Red Hat OpenShift](https://blowstack.com/tools/cloud-services-hub/azure-red-hat-openshift)**: Azure Red Hat OpenShift provisions Azure Load Balancer resources for cluster connectivity. The load balancers provide frontends for cluster endpoints and can expose Kubernetes services of type `LoadBalancer`.
- **[Azure Resource Manager](https://blowstack.com/tools/cloud-services-hub/azure-resource-manager)**: Azure Resource Manager provisions load balancers as `Microsoft.Network/loadBalancers` resources. An ARM template can declare a frontend, backend pools, probes, and traffic rules alongside the public IP addresses and network interfaces they reference.
- **[Azure Resource Mover](https://blowstack.com/tools/cloud-services-hub/azure-resource-mover)**: Azure Resource Mover can include supported internal and public load balancers in a move to another Azure region. It tracks dependencies so the target load balancer can be prepared alongside its network and backend resources.
- **[Azure role-based access control (Azure RBAC)](https://blowstack.com/tools/cloud-services-hub/azure-role-based-access-control-(azure-rbac))**: Azure RBAC controls who can read or modify a load balancer's configuration. For example, a custom role scoped to one load balancer can let operators manage its rules without granting write access to the rest of the virtual network.
- **[Azure Route Server](https://blowstack.com/tools/cloud-services-hub/azure-route-server)**: In supported network virtual appliance designs, Azure Route Server can propagate BGP routes that use an internal Load Balancer frontend as the next hop. Load Balancer then uses health probes to direct traffic to an available appliance.
- **[Azure Service Fabric](https://blowstack.com/tools/cloud-services-hub/azure-service-fabric)**: Azure Load Balancer provides stable frontends for Service Fabric cluster nodes. In a managed cluster, Service Fabric can provision the load balancer and configure probes and rules that expose application ports on a node type.
- **[Azure Service Health](https://blowstack.com/tools/cloud-services-hub/azure-service-health)**: Resource Health in Azure Service Health reports availability for individual load balancers. You can use it to check whether an Azure platform issue is affecting a load balancer while investigating an outage.
- **[Azure Site Recovery](https://blowstack.com/tools/cloud-services-hub/azure-site-recovery)**: An Azure Site Recovery recovery plan can use a load-balancer runbook to add failed-over VM network interfaces to a backend pool in the recovery region. This restores the application's load-balanced endpoint as part of failover.
- **[Azure Spring Apps](https://blowstack.com/tools/cloud-services-hub/azure-spring-apps)**: A virtual-network-injected Azure Spring Apps instance uses an internal load balancer for private application ingress. When an app is assigned an endpoint, private DNS can resolve its hostname to that load balancer's frontend IP.
- **[Azure SQL Managed Instance](https://blowstack.com/tools/cloud-services-hub/azure-sql-managed-instance)**: The virtual-network-local endpoint of Azure SQL Managed Instance uses an internal load balancer. The instance hostname resolves to a private frontend that directs SQL connections to the managed instance gateway.
- **[Azure Stack Hub](https://blowstack.com/tools/cloud-services-hub/azure-stack-hub)**: Azure Stack Hub provides an on-premises Azure Load Balancer implementation. Its public and internal frontends distribute TCP and UDP traffic to virtual machines running on the same Azure Stack Hub deployment.
- **[Azure Traffic Manager](https://blowstack.com/tools/cloud-services-hub/azure-traffic-manager)**: Traffic Manager can monitor regional public Load Balancer endpoints and use DNS to direct clients to a healthy region. The selected regional load balancer then distributes TCP or UDP flows across its healthy backends.
- **[Azure Virtual Machine Scale Sets](https://blowstack.com/tools/cloud-services-hub/azure-virtual-machine-scale-sets)**: A scale set can register its VM instances with a Load Balancer backend pool as they are provisioned. Load Balancer uses health probes to send new TCP or UDP flows only to healthy instances as the scale set grows or shrinks.
- **[Azure Virtual WAN](https://blowstack.com/tools/cloud-services-hub/azure-virtual-wan)**: Azure Virtual WAN can use an Azure Load Balancer to distribute inbound internet traffic across supported network virtual appliances in a virtual hub. The appliances can then apply destination NAT rules to publish workloads behind them.
- **[Batch](https://blowstack.com/tools/cloud-services-hub/batch)**: Batch can provision a public load balancer for pools configured with public IP connectivity. In pools that use inbound node access, NAT rules map frontend ports to individual compute nodes.
- **[Event Grid](https://blowstack.com/tools/cloud-services-hub/event-grid)**: An Azure resource group or subscription system topic can deliver Event Grid events for Load Balancer control-plane changes. For example, a subscription can filter for `Microsoft.Network/loadBalancers/write` to trigger a configuration review after a successful write.
- **[Event Hubs](https://blowstack.com/tools/cloud-services-hub/event-hubs)**: Load Balancer diagnostic settings can stream supported logs and metrics to Event Hubs. A consumer can process load balancer health events as they arrive without polling each load balancer.
- **[HDInsight](https://blowstack.com/tools/cloud-services-hub/hdinsight)**: HDInsight provisions load balancers for cluster endpoints. A load-balanced frontend gives clients a stable address for reaching HDInsight gateway services without connecting to an individual cluster node.
- **[Linux Virtual Machines](https://blowstack.com/tools/cloud-services-hub/linux-virtual-machines)**: Linux VM network interfaces can join a Load Balancer backend pool. For example, a Standard Load Balancer can expose a single private TCP endpoint and use health probes to distribute connections across healthy Linux VMs in multiple availability zones.
- **[SQL Server on Azure Virtual Machines](https://blowstack.com/tools/cloud-services-hub/sql-server-on-azure-virtual-machines)**: An internal Load Balancer can provide the virtual IP for a SQL Server Always On availability group listener or failover cluster instance. A dedicated health probe identifies the active node so new SQL connections follow it after failover.

## Alternatives to Azure Load Balancer in other clouds

### AWS

**[Elastic Load Balancing (ELB)](https://blowstack.com/tools/cloud-services-hub/elastic-load-balancing-(elb))**: AWS Elastic Load Balancing’s Network Load Balancer (NLB) and Azure Load Balancer distribute TCP and UDP traffic across healthy backends. AWS offers HTTP request routing through a separate type, Application Load Balancer (ALB), while Azure Load Balancer routes at Layer 4 and leaves TLS termination to the backend or a separate proxy.

| | Azure Load Balancer | Elastic Load Balancing (ELB) |
| --- | --- | --- |
| Network load balancing charges | Standard rule-hours + data processed | NLB running hours + capacity units |

Compared Nov 2026.

**[AWS Global Accelerator](https://blowstack.com/tools/cloud-services-hub/aws-global-accelerator)**: AWS Global Accelerator and Azure Load Balancer route traffic to healthy backends and support failover across regions. AWS Global Accelerator routes traffic to regional application endpoints, while Azure’s global load balancer routes traffic through regional public Standard Load Balancers.

| | Azure Load Balancer | AWS Global Accelerator |
| --- | --- | --- |
| Global routing targets | Regional public Standard Load Balancers | Regional application endpoints |
| Hourly billing | Configured rule-hours, tiered rates | $0.025 per accelerator-hour |
| Traffic billing | Volume of data processed | Per GB in each hour's busier direction |
| Inbound client IP preservation | Preserved for inbound flows | Optional on supported standard endpoints |

Compared Nov 2026.

## What is Azure Load Balancer

Azure Load Balancer distributes network flows across backend virtual machines or Virtual Machine Scale Sets. It operates at Layer 4 for TCP and UDP, making it suitable for services that need transport-level load balancing rather than HTTP routing. TLS sessions terminate on the backend application or a separate proxy, not on the load balancer. It does not inspect application payloads, rewrite HTTP headers, provide a web application firewall, or route requests by URL path.

A regional deployment consists of frontend IP configurations, backend pools, load-balancing rules, and health probes. A public frontend accepts internet traffic through a public IP address. An internal frontend uses a private IP address for clients with network connectivity to the virtual network, including appropriately connected peered networks and on-premises networks. Rules map a frontend protocol and port to a backend pool and port. Multiple frontend IP addresses and rules can expose different services through the same load balancer.

Traffic distribution uses a five-tuple hash comprising source IP address, source port, destination IP address, destination port, and protocol. Distribution happens per flow, not per application request, and does not guarantee equal connection counts across instances. Optional source-IP-based affinity can keep connections from a client on the same backend, but clients sharing a NAT address can cause uneven distribution. The original client source IP is preserved for inbound flows, although additional proxies elsewhere in the architecture can change what the application sees.

Configure TCP, HTTP, or HTTPS health probes to identify backends that can accept new flows. HTTP-based probes should target an endpoint that reflects application readiness rather than merely confirming that the operating system is running. Permit probe traffic through network security groups and host firewalls, and separately allow the required application traffic. Standard Load Balancer requires explicit inbound access controls. A failed probe stops new flows to an affected backend; it does not automatically terminate established TCP connections. Administrative State can override probe-based eligibility during maintenance.

For zone resilience, use a zone-redundant frontend where supported and distribute backend instances across availability zones. A resilient frontend does not compensate for an application tier deployed entirely in one zone. Global load balancing provides a separate public endpoint backed by regional Standard Load Balancers, supporting regional failover and geographic proximity routing. Application replication, shared state, and data recovery remain responsibilities of the workload architecture.

Design outbound connectivity explicitly. Public Standard Load Balancer outbound rules provide source network address translation for backend instances, but port allocation, connection concurrency, and idle timeouts require capacity planning. Azure NAT Gateway is an alternative for subnet-level internet egress. Internal load balancing alone does not provide internet outbound connectivity. Configure TCP reset and appropriate keepalive behavior when applications maintain long-lived connections.

Use Standard Load Balancer for general-purpose deployments; Basic Load Balancer was retired on September 30, 2025. Prefer inbound NAT rules v2 for Virtual Machine Scale Sets rather than legacy inbound NAT pools. Monitor frontend availability, backend probe health, traffic volume, and SNAT utilization with Azure Monitor, and use health event logs to investigate availability problems. Manage configuration through infrastructure as code, and test backend failure, zone failure, maintenance, and outbound connection pressure before production rollout.
