Create a standard internal load balancer

Azure Public Test Date Azure Public Test Result

Azure US Gov Last Test Date Azure US Gov Last Test Result

Best Practice Check Cred Scan Check

Bicep Version

Deploy To Azure Deploy To Azure US Gov Visualize

This template creates a standard internal Azure Load Balancer with backend pool containing two virtual machines. The Azure Load Balancer is assigned a static IP in the Virtual Network and is configured to load balance on Port 80. Health probes are configured to check the status of the virtual machines.

Diagram of internal load balancer with backend pool of virtual machines.

As part of the deployment, Azure Bastion is deployed for virtual machine management, and NAT Gateway is deployed for outbound connectivity. This template also deploys a Storage Account, Virtual Network & subnets, and network interfaces.

To learn more about how to deploy the template, see the quickstart article.

Outbound rules are not created as part of this template. For more information on providing outbound connectivity to the backend pool see, What is Virtual Network NAT?.

Tags: Microsoft.Network/virtualNetworks, Microsoft.Network/virtualNetworks/subnets, Microsoft.Network/networkInterfaces, Microsoft.Network/loadBalancers