Search code examples
azureazure-virtual-machineazure-virtual-networkazure-load-balancer

Is there any way that Azure Loadbalancer talks to Virtual Machines which only have private IP address?


Need to configure a Azure Loadbalancer for VM's in VNet with only private IP's, but without VM's having public IP we cannot map to the loadbalancer. Why so?


Solution

  • Certainly, you can target VMs with only private IPs and without public IPs to the backend pool of Azure load balancer. If so, you could access the backend VMs via the load balancer public IP address.

    For example, you can create a Standard Load Balancer as the internal or public load balancer. Standard Load Balancer is fully integrated with the scope of a virtual network. It supports the VMs with standard SKU public IP or without public IP in a VNet as the backend resources.

    Quickstart: Create a Standard Load Balancer to load balance VMs using the Azure portal