title | titleSuffix | description | services | author | ms.service | ms.topic | ms.date | ms.author | ms.custom |
---|---|---|---|---|---|---|---|---|---|
What is Azure Load Balancer? |
Azure Load Balancer |
Get an overview of Azure Load Balancer features, architecture, and implementation. Learn how the service works and how to use it in the cloud. |
load-balancer |
mbender-ms |
azure-load-balancer |
overview |
06/18/2024 |
mbender |
template-overview, engagement-fy23 |
Load balancing refers to efficiently distributing incoming network traffic across a group of backend servers or resources.
Azure Load Balancer operates at layer 4 of the Open Systems Interconnection (OSI) model. It's the single point of contact for clients. The service distributes inbound flows that arrive at the load balancer's frontend to backend pool instances. These flows are distributed according to configured load-balancing rules and health probes. The backend pool instances can be Azure virtual machines (VMs) or virtual machine scale sets.
A public load balancer can provide both inbound and outbound connectivity for the VMs inside your virtual network. For inbound traffic scenarios, Azure Load Balancer can load balance internet traffic to your VMs. For outbound traffic scenarios, the service can translate the VMs' private IP addresses to public IP addresses for any outbound connections that originate from your VMs.
Alternatively, an internal (or private) load balancer can provide inbound connectivity to your VMs in private network connectivity scenarios, such as accessing a load balancer frontend from an on-premises network in a hybrid scenario. Internal load balancers are used to load balance traffic inside a virtual network.
:::image type="content" source="media/load-balancer-overview/load-balancer.png" alt-text="Diagram that depicts a load balancer directing traffic.":::
For more information on the service's individual components, see Azure Load Balancer components.
With Azure Load Balancer, you can scale your applications and create highly available services.
The service supports both inbound and outbound scenarios. It provides low latency and high throughput, and it scales up to millions of flows for all TCP and UDP applications.
Key scenarios that you can accomplish by using Azure Standard Load Balancer include:
-
Load balance internal and external traffic to Azure virtual machines.
-
Use pass-through load balancing, which results in ultralow latency.
-
Increase availability by distributing resources within and across zones.
-
Configure outbound connectivity for Azure virtual machines.
-
Use health probes to monitor load-balanced resources.
-
Employ port forwarding to access virtual machines in a virtual network by public IP address and port.
-
Enable support for load balancing of IPv6.
-
Use multidimensional metrics through Azure Monitor. You can filter, group, and break out these metrics for a particular dimension. They provide current and historic insights into performance and health of your service.
Insights for Azure Load Balancer offer a preconfigured dashboard with useful visualizations for these metrics. Resource Health is also supported. For more details, review Standard load balancer diagnostics.
-
Load balance services on multiple ports, multiple IP addresses, or both.
-
Move internal and external load balancer resources across Azure regions.
-
Load balance TCP and UDP flow on all ports simultaneously by using high-availability ports.
-
Chain Standard Load Balancer and Gateway Load Balancer.
-
Standard Load Balancer is built on the Zero Trust network security model.
-
Standard Load Balancer is part of your virtual network, which is private and isolated for security.
-
Standard load balancers and standard public IP addresses are closed to inbound connections, unless network security groups (NSGs) open them. You use NSGs to explicitly permit allowed traffic. If you don't have an NSG on a subnet or network interface card (NIC) of your virtual machine resource, traffic isn't allowed to reach the resource. To learn about NSGs and how to apply them to your scenario, see Network security groups.
-
Basic Load Balancer is open to the internet by default.
-
Azure Load Balancer doesn't store customer data.
For Standard Load Balancer pricing information, see Load Balancer pricing. For service-level agreements (SLAs), see the Microsoft licensing information for online services.
Basic Load Balancer is offered at no charge and has no SLA.
Subscribe to the RSS feed and view the latest Azure Load Balancer updates on the Azure Updates page.