Search code examples
azureazure-storageazure-virtual-network

Private Link backed storage and source ip


I have extended access to my storage account via Private Link backed by a private endpoint to a partner. This is how the setup looks -

  1. Storage account (StAccSource) in Azure Tenant A
  2. A private link service enabling a private endpoint to storage account "StAccSource" in Tenant B's VNET

The question I have is - when storage account "StAccSource" is accessed via private endpoint from Tenant B's subnet, what would be the IP address space that we will see on the storage account. Would it be the CIDR for Tenant B's VNET?


Solution

  • When you create a private endpoint in Tenant B's VNet for the Storage account StAccSource in Tenant A, then the private endpoint will be assigned a private IP address from the subnet in the VNet which in Tenant B. So the CIDR and IP address space of the Storage account depends on the configuration of the subnet that the private endpoint in, depends on the VNet that the subnet in.