Редактиране

Споделяне чрез


What is Azure Load Balancer?

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.

Diagram that depicts a load balancer directing traffic.

For more information on the service's individual components, see Azure Load Balancer components.

Why use Azure Load Balancer?

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:

Security by default

  • 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.

Pricing and SLA

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.

What's new?

Subscribe to the RSS feed and view the latest Azure Load Balancer updates on the Azure Updates page.