PublicLoadBalancer
Resource Icon
Resource Overview
A Load Balancer efficiently distributes incoming network traffic across a group of backend resources or servers. Azure Load Balancer operates at Layer 4 of the OSI (Open Systems Interconnection) model, serving as a single point of contact for clients. The Load Balancer distributes inbound traffic arriving at its front end across the backend pool instances. This distribution follows the configured load balancing rules and health probes. Backend pool instances can be Azure Virtual Machines or instances from a Virtual Machine Scale Set. A Public Load Balancer provides outbound connectivity for virtual machines within a virtual network by translating private IP addresses to public IP addresses. The Public Load Balancer is also used to distribute internet traffic to the VMs.
Associated Resources
Parent Resource
Connected Resources
Resource Setting Values
sku
: The SKU to select the scale and features of the Azure Load Balancer -standard
,Basic
public_lb_frontend_ip_config
virtual_network_name
: The name of Virtual Machine which forward trafficbackend_pool
: Name of the Load Balancer's backend poollinked_virtual_machine_names
: Names of the virtual machines to which the Load Balancer will route traffic
health_probe
protocol
: The type of Backend endpoint protocol which health probe uses -Http
,Https
,Tcp
port
: The port which health probe uses to check backend endpoint -0
~65535
request_path
: The path to use for GET when using Http(s) probesinterval_in_seconds
: Specifies the number of seconds between checking response of the backend pool instance by health probes -5
~2147483646
rule
protocol
: The transport protocol for the external endpoint -Tcp
,Udp
,All
frontend_port
: The port for the external endpoint, Range between 0 and 65534 -0
~65534
backend_port
: The port used for internal connections on the endpoint, Range between 0 and 65535 -0
~65535
disable_outbound_snat
: Enable SNAT for outbound connections -true
,false
frontend_ip_configuration_name
: The name of Public Load Balancer Frontend IP Configurationbackend_pool_name
: The name of the Backend Address Pool to which the Load Balancer will forward traffic
nat_rule
protocol
: The transport protocol for the external endpoint -Tcp
,Udp
,All
frontend_port
: The port for the external endpoint, Range between 0 and 65534 -0
~65534
-0
~65534
backend_port
: The port used for internal connections on the endpoint, Range between 0 and 65535 -0
~65535
frontend_ip_configuration_name
: The name of Public Load Balancer Frontend IP Configuration
outbound_rule
protocol
: The transport protocol for the external endpoint -Tcp
,Udp
,All
frontend_ip_config_name
: The name of Public Load Balancer Frontend IP Configurationbackend_pool_name
: The name of the Backend Address Pool to which the Load Balancer will forward traffic
tag
: Tag to categorize resources - up to 512 characters,key
:value