Azure Documentation

Private Endpoints

A private endpoint is a network interface that connects you privately and securely to a PaaS service (like Azure Storage, Azure SQL Database, or Azure Cosmos DB), an Azure solution that supports private link, or your own solution that is powered by Azure Private Link.

The private endpoint uses a private IP address from your virtual network, effectively bringing the service into your virtual network. This eliminates the need for a public IP address, inbound traffic rules, NAT devices, or complex network configurations.

Note: Private endpoints are the foundational technology for Azure Private Link.

Key Benefits of Private Endpoints

Diagram showing a private endpoint connecting a virtual network to an Azure service

Conceptual diagram of a private endpoint connection.

How Private Endpoints Work

When you create a private endpoint for a service, Azure creates a network interface (NIC) within your virtual network. This NIC is assigned a private IP address from the address space of your subnet.

When traffic is sent to the service through its Private DNS zone or the service's FQDN, it is routed to the private endpoint's IP address within your virtual network. This ensures that the traffic never leaves your virtual network or the Microsoft backbone network.

Creating a Private Endpoint

You can create private endpoints through the Azure portal, Azure CLI, Azure PowerShell, or ARM templates. The general steps involve:

  1. Select the resource: Choose the Azure PaaS service or your own service you want to connect to.
  2. Select your virtual network and subnet: Specify where the private endpoint's network interface will reside.
  3. Configure DNS: Set up a Private DNS Zone for the service to ensure name resolution directs traffic to the private IP.
Tip: Using a Private DNS Zone is highly recommended for seamless name resolution of the service through its private endpoint.

Supported Services

Private endpoints are supported for a wide range of Azure services, including:

Use Cases

Important: Ensure that your network security group (NSG) rules allow traffic to and from the private endpoint.

Learn More

For detailed steps and advanced configurations, please refer to the official Azure Private Link documentation.