Connect to on-premises resources using a Private Link service

A Private Link service provides a dedicated, private connection from serverless compute to resources in your VNet and in transitively connected networks, such as your on-premises network. Serverless compute connects to a private endpoint in your network connectivity configuration (NCC), which connects to a load balancer in your VNet. The load balancer routes traffic to your target resources.

This approach combines dedicated, private connectivity with routing flexibility. Use it as a fallback when a private network gateway is not an option.

What problem it solves

A Private Link service establishes a dedicated, private connection from serverless compute to:

  • Cloud services that don't support Private Link directly.
  • Resources in your VNet and transitively connected networks, such as databases hosted on VMs and custom TCP applications.
  • On-premises resources over ExpressRoute or a site-to-site VPN.

Use a Private Link service in the following cases:

  • A private network gateway is not an option.
  • You want to connect serverless compute to services and resources in your VNet, or in networks connected to it, that don't support Private Link directly.

How it works

You expose your resources to serverless compute through an Azure load balancer and an Azure Private Link service:

  1. Create an Azure load balancer that serves as the frontend for your resources.
  2. Set up a backend pool and configure custom routing to resources in your VNet and on-premises network using a proxy, such as HAProxy, Squid, or iptables.
  3. Link the Azure load balancer to an Azure Private Link service, and expose it to Azure Databricks through a private endpoint in an NCC.

Serverless compute reaching resources in your VNet and on-premises network through an NCC private endpoint, an Azure Private Link service, a load balancer, and proxy VMs in the backend pool.

For detailed steps, see Configure private connectivity to resources in your VNet.

Considerations

Review the following before you use a Private Link service:

  • This is not a managed solution. You must provision, monitor, and maintain infrastructure such as load balancers and proxies, which adds cost and operational overhead.
  • This approach requires deep technical knowledge, especially of proxy configuration and custom routing.
  • Application teams might need to work with infrastructure teams each time they connect to a new resource.

Before you set up a Private Link service, check whether your target resource supports a direct private endpoint rule. See Serverless compute plane networking.

Additional resources