Azure Documentation

How Azure Private Link Works

Azure Private Link provides private connectivity from a virtual network to Azure Platform as a Service (PaaS), customer-owned, and Microsoft partner services. Azure Private Link enables you to access these services from your Azure virtual network without going over the public internet. Traffic between your virtual network and the service travels the Microsoft backbone network.

Core Components

Azure Private Link relies on three core components:

Scenario 1: Accessing Azure PaaS Services Privately

This is the most common scenario. You want to access an Azure PaaS service, such as Azure SQL Database, Azure Storage, or Azure Key Vault, from your virtual network privately.

Diagram showing Azure Private Link for PaaS services

Conceptual diagram for accessing Azure PaaS services.

Here's how it works:

  1. Create a Private Endpoint: You create a private endpoint in your virtual network. This private endpoint gets a private IP address from your virtual network.
  2. Link to Service: The private endpoint is configured to connect to a specific Azure PaaS service.
  3. DNS Resolution: Azure DNS Private Zones are typically used to resolve the service's FQDN (Fully Qualified Domain Name) to the private IP address of the private endpoint.
  4. Traffic Flow: When an application in your virtual network tries to access the PaaS service using its FQDN, the DNS resolution directs the traffic to the private IP address of the private endpoint. The traffic then traverses the Microsoft backbone network directly to the PaaS service, bypassing the public internet.

Scenario 2: Exposing Your Own Service Privately

This scenario involves making your own application or service hosted within Azure (or on-premises via VPN/ExpressRoute) accessible to other Azure virtual networks privately.

Diagram showing Azure Private Link for customer services

Conceptual diagram for exposing your own services.

Here's the process:

  1. Deploy Your Service: Host your service behind an Azure Load Balancer (Standard SKU) in your subscription.
  2. Create a Private Link Service: Create a Private Link Service resource that references your Load Balancer. This service acts as the entry point for consumers.
  3. Consumer Creates Private Endpoint: A consumer in a different virtual network (or even your own) creates a private endpoint and links it to your Private Link Service.
  4. Secure Connectivity: Once the connection is approved (either automatically or manually by the service provider), the consumer's private endpoint connects securely to your Private Link Service. Traffic flows privately between the consumer's virtual network and your service.

Benefits of Azure Private Link

Key Considerations