Skill 4.3.2
Configure an internal or public load balancer
Key Concepts
A public load balancer has a public IP frontend and balances internet traffic to VMs; an internal load balancer has a private IP frontend in a subnet and balances traffic within the VNet or from on-premises, for example to a database tier. The Standard SKU supports up to 5,000 backend instances, availability zones, HTTPS health probes, HA ports and outbound rules, is secure by default (an NSG must allow traffic) and has a 99.99% SLA. The Basic SKU retired on 30 September 2025. The Gateway SKU chains third-party NVAs.
A configuration has a frontend IP configuration, a backend pool (NICs or IP addresses of VMs or scale set instances in one VNet), a health probe (TCP, HTTP or HTTPS on a port and path, with an interval), and load-balancing rules that map a frontend port to a backend port with session persistence (None, Client IP, or Client IP and protocol) and an idle timeout. Inbound NAT rules forward a frontend port to one VM, for example for management, and outbound rules provide SNAT for internet access. HA ports on an internal load balancer balance all ports and protocols, which suits NVAs.