Study guide

7.4 Azure Private Link Service for Multi-Tenant Solutions

Designing and Implementing Microsoft Azure Networking Solutions AZ-700

Track your progress as you read

Finished sections get a check mark.

1 Introduction & AZ-700 Exam Overview

0.1 About the AZ-700 Exam: Format, Scoring & Skills Measured

2 Chapter 1: Azure Virtual Networks, Addressing & Subnet Architecture

1.1 VNet Planning, IP Addressing & Subnet Design 1.2 Virtual Network Peering & Global Peering 1.3 Azure NAT Gateway & Outbound Connectivity 1.4 Azure Virtual Network Manager (AVNM) & Network Groups 1.5 Public IP Addresses, Public IP Prefixes & Custom IP Prefixes (BYOIP)

3 Chapter 2: Azure Name Resolution & Core Routing

2.1 Azure DNS & Private DNS Zones 2.2 Azure Private DNS Resolver & Hybrid Name Resolution 2.3 System Routes & User-Defined Routes (UDR) 2.4 BGP & Custom Route Propagation 2.5 Azure Route Server & Dynamic NVA Route Exchange

4 Chapter 3: Hybrid Connectivity with Azure VPN Gateway

3.1 Azure VPN Gateway Architecture & SKUs 3.2 Site-to-Site (S2S) VPN & High Availability 3.3 Point-to-Site (P2S) VPN & Client Authentication 3.4 Azure Extended Network, Always On VPN & Azure Network Adapter

5 Chapter 4: Azure ExpressRoute & Virtual WAN

4.1 Azure ExpressRoute Architecture & Peering Models 4.2 ExpressRoute Routing, Resiliency & Global Reach 4.3 Azure Virtual WAN Architecture & Hub Routing 4.4 ExpressRoute BFD, Monitoring & Connection Troubleshooting

6 Chapter 5: Regional Load Balancing & Application Gateway

5.1 Azure Load Balancer Architecture & Rules 5.2 Azure Application Gateway Architecture & Routing 5.3 Web Application Firewall (WAF) on Application Gateway 5.4 Inbound NAT Rules, Port Forwarding & Health Probe Design

7 Chapter 6: Global Traffic Management & Azure Front Door

6.1 Azure Front Door Architecture & Routing 6.2 Azure Traffic Manager & DNS Load Balancing 6.3 Load Balancing Decision Matrix & Multi-Tier Design 6.4 Web Application Firewall on Azure Front Door

8 Chapter 7: Azure Private Link & Service Endpoints

7.1 Virtual Network Service Endpoints & Policies 7.2 Azure Private Endpoints & Private Link Architecture 7.3 Private Endpoint DNS Integration & Hybrid Resolution 7.4 Azure Private Link Service for Multi-Tenant Solutions

9 Chapter 8: Network Security Groups & Azure Bastion

8.1 Network Security Groups (NSGs) & Application Security Groups (ASGs) 8.2 Azure Bastion Architecture & Secure Remote Access 8.3 Azure Virtual Network Manager Security Admin Rules

10 Chapter 9: Azure Firewall & Security Policies

9.1 Azure Firewall Architecture & Rule Processing 9.2 Azure Firewall Manager & DDoS Protection

11 Chapter 10: Azure Network Observability & Troubleshooting

10.1 Network Watcher Diagnostic Tools 10.2 NSG Flow Logs, VNet Flow Logs & Traffic Analytics 10.3 Network Troubleshooting Scenarios & End-to-End Connectivity 10.4 Azure Monitor Network Insights & Defender for Cloud Network Posture

7.4 Azure Private Link Service for Multi-Tenant Solutions

Key Takeaways Explain This Topic AI

Azure Private Link Service (PLS) allows service providers and SaaS vendors to publish custom services running behind a Standard Internal Load Balancer (ILB) directly to consumer VNets via Private Endpoints.

PLS operates at Layer 4 (TCP/UDP) and eliminates the need for VNet peering, complex routing tables, and public IP addresses, completely preventing IP address overlapping conflicts between providers and consumers.

A dedicated NAT Subnet is required for PLS; each NAT IP address supports up to 64,000 concurrent TCP connections, and sizing recommendations suggest allocating at least a /27 or /24 subnet for dynamic scale.

Access control is governed by subscription allowlists and RBAC, supporting both automated approval for trusted subscriptions and manual approval workflows for external consumers.

PROXY Protocol Version 2 (PPv2) can be enabled on the PLS to preserve consumer source IP addresses and unique LinkIDs, transmitting them in a binary header to backend applications across Source NAT.

Last updated: August 2026

Azure Private Link Service for Multi-Tenant Solutions

While Private Endpoints are widely known for securing Azure first-party PaaS services, Azure Private Link Service (PLS) extends this exact same software-defined architecture to your own custom applications , third-party Independent Software Vendor (ISV) solutions, and multi-tenant Software-as-a-Service (SaaS) offerings.

By creating a Private Link Service in a provider virtual network, you enable consumers in different virtual networks, different Azure subscriptions, and even different Microsoft Entra ID tenants to connect directly to your application using a standard Azure Private Endpoint. Connectivity is private, secure, and operates entirely over the Microsoft global SDN fabric.

1. Provider vs. Consumer Architecture & Overlapping IP Elimination

Traditional multi-VNet connectivity architectures—such as Virtual Network Peering or cross-tenant VPN tunnels—require complex IP address coordination to avoid address space collisions. If both the service provider and the consumer use 10.0.0.0/16 , VNet peering is impossible.

Azure Private Link Service completely eliminates overlapping IP address conflicts by decoupling provider and consumer network address spaces through Layer 4 Source Network Address Translation (SNAT). +-----------------------------------------------------------------------------+

  • | AZURE PRIVATE LINK SERVICE ARCHITECTURE |
  • | |
  • | CONSUMER VNET (10.0.0.0/16) PROVIDER VNET (10.0.0.0/16) |
  • | (Notice Overlapping IP Space!) (Same IP range supported!) |
  • | +-------------------------------------+ +-------------------------+ |
  • | | Subnet-Client (10.0.1.0/24) | | PLS NAT Subnet | |
  • | | [Client VM: 10.0.1.10] | | (10.0.50.0/24) | |
  • | | | | | [NAT IP: 10.0.50.4] | |
  • | | v | +-------------------------+ |
  • | | Subnet-Endpoints (10.0.2.0/24) | | |
  • | | [Private Endpoint: 10.0.2.15] | v |
  • | +-------------------------------------+ +-------------------------+ |
  • | | | Standard ILB Frontend | |
  • | | | [Private IP: 10.0.10.5] | |
  • | v +-------------------------+ |
  • | ===================== | |
  • | Azure SDN Fabric Mesh v |
  • | ===================== +-------------------------+ |
  • | | | Backend Pool Workloads | |
  • | +----------------------->| [VMSS / AKS Pods] | |
  • | +-------------------------+ |
  • +-----------------------------------------------------------------------------+

Core Benefits for SaaS Providers and Enterprises:

No IP Address Overlap Constraints: Consumers and providers can use the exact same CIDR blocks (e.g., 10.0.0.0/16 or 192.168.0.0/16 ) without conflicts.

Unidirectional Consumer-to-Provider Exposure: Consumers can access only the specific service exposed behind the load balancer frontend; consumers gain zero access to any other VMs or subnets in the provider VNet.

Simplified Routing: No User-Defined Routes (UDRs), Virtual Network Gateways, or BGP peering sessions are required.

Loading diagram... Private Link Service Ingress, SNAT and Load Balancing Topology

2. Standard ILB Integration, Dedicated NAT Subnet & Sizing

Creating an Azure Private Link Service requires specific prerequisite network configurations in the service provider's virtual network.

1. Standard Internal Load Balancer (ILB) Requirement

A Private Link Service must attach to the frontend IP configuration of a Standard SKU Internal Load Balancer .

Basic SKU Load Balancers are not supported.

Public Load Balancers are not supported.

The ILB frontend must use a private IP from a provider subnet.

2. Dedicated NAT IP Subnet Configuration

When incoming packets from a consumer's Private Endpoint arrive at the provider network, the Private Link Service performs Source NAT (SNAT) , replacing the consumer's private source IP with a NAT IP address drawn from the provider's dedicated NAT subnet. +-----------------------------------------------------------------------------+

  • | NAT SUBNET SIZING AND SCALE RULES |
  • | |
  • | Metric Value / Rule |
  • | -------------------------------- ------------------------------------ |
  • | Concurrent TCP Ports per NAT IP 64,000 concurrent connections |
  • | Minimum Recommended Subnet Size /27 (provides 8+ assignable IPs) |
  • | Enterprise Recommended Subnet Size /24 (allows massive dynamic scale) |
  • | Maximum NAT IPs per PLS Up to 8 NAT IP configurations |
  • | Network Policies on NAT Subnet Must disable PrivateLinkServiceNetwork-|
  • | Policies if managing via legacy APIs |
  • +-----------------------------------------------------------------------------+

Subnet Sizing and Scaling Guidance:

Each configured NAT IP address provides 64,000 ephemeral TCP ports for concurrent connection tracking.

If a SaaS provider expects 200,000 concurrent TCP sessions from multiple consumers, the PLS requires at least 4 active NAT IP addresses ( 4 × 64 , 000 = 256 , 000 4 \times 64,000 = 256,000 4 × 64 , 000 = 256 , 000 available connection states).

Always allocate at least a /27 subnet (or /24 for high-growth SaaS) to ensure sufficient room for adding additional NAT IPs as workload demand scales without tearing down and re-provisioning infrastructure.

3. Subscription Allowlists, RBAC & Connection Approval Lifecycle

To control which customers or business units can connect to your Private Link Service, Azure provides granular access control models.

Access Control Settings

Role-Based Access Control (RBAC): If the consumer subscription is within the same Entra ID tenant or managed by the same organization, granting the consumer RBAC Read permissions on the Private Link Service resource allows them to create Private Endpoints with Auto-Approval .

Subscription Allowlist: For external, cross-tenant SaaS customers, the provider specifies allowed Azure Subscription IDs in the PLS access configuration.

Specific Subscriptions: Only explicitly listed Subscription IDs can request connections.

Wildcard Allowlist ( * ): Allows any Azure subscription to request a connection (useful for public marketplace SaaS offerings). Connections still require manual approval unless auto-approval subscriptions are defined. +-----------------------------------------------------------------------------+

  • | PLS CONNECTION LIFECYCLE MANAGEMENT |
  • | |
  • | State Description & Data Plane Status |
  • | -------------- ------------------------------------------------------ |
  • | Pending Consumer requested connection; data plane BLOCKED. |
  • | Approved Provider approved request; data plane ACTIVE & FLOWING. |
  • | Rejected Provider denied request; data plane TERMINATED. |
  • | Disconnected Connection severed by provider/consumer; session CLOSED. |
  • +-----------------------------------------------------------------------------+
  • Private Link Service Alias

When a Private Link Service is created, Azure generates a globally unique identifier called the Private Link Service Alias (e.g., pls-prod-eastus-01.8a7b6c5d-4e3f.eastus.azure.privatelinkservice ).

Consumers can create a Private Endpoint by supplying this Alias string instead of the underlying Azure Resource ID.

This allows SaaS providers to keep their internal Azure Subscription IDs and Resource Group names completely confidential.

4. PROXY Protocol Version 2 (PPv2) & Client Identity Preservation

Because the Private Link Service translates the client's source IP address to a provider NAT IP address (Source NAT), backend application servers (VMs, NGINX reverse proxies, Envoy, IIS) only see the PLS NAT IP in incoming TCP headers.

The Source IP Visibility Problem

In multi-tenant SaaS environments, backend servers must know the original client IP address and tenant identity for:

Security logging, SIEM auditing, and regulatory compliance.

Rate limiting and DDoS protection per consumer.

Tenant-specific request routing and customization. +-----------------------------------------------------------------------------+

  • | PROXY PROTOCOL V2 HEADER INJECTION |
  • | |
  • | WITHOUT PROXY PROTOCOL V2: |
  • | [Consumer: 10.0.1.10] ---> [PLS NAT: 10.0.50.4] ---> [Backend App VM] |
  • | Backend sees Source IP = 10.0.50.4 (Client identity is LOST!) |
  • | |
  • | WITH PROXY PROTOCOL V2 ENABLED ON PLS: |
  • | [Consumer: 10.0.1.10] ---> [PLS NAT: 10.0.50.4] |
  • | | |
  • | v (Prepends binary PPv2 header) |
  • | [Backend App VM / Reverse Proxy] |
  • | - Extracts True Client IP: 10.0.1.10 |
  • | - Extracts Unique LinkID: 0x1A4F |
  • +-----------------------------------------------------------------------------+

How PROXY Protocol v2 Operates:

Enabling PPv2: Set the enableProxyProtocol property to true on the Azure Private Link Service configuration.

Binary Header Prepending: Before forwarding the TCP handshake to the backend VM or container, the Azure load balancing fabric prepends a standardized PROXY Protocol Version 2 binary header to the payload.

Transmitted Metadata:

Original Source IP Address & Port: The consumer's actual private IP (e.g., 10.0.1.10:52410 ).

LinkID (Type-Length-Value / TLV vector): A unique 32-bit integer generated by Azure that represents the specific Private Endpoint connection.

Backend Server Configuration: Backend services (e.g., NGINX proxy_protocol directive, HAProxy, or custom application code) must be configured to parse and strip the PPv2 header to extract client metadata before processing standard HTTP/TCP requests.