0

I see that I can do this with Azure Front Door Premium (CDN).

Azure Front Door can securely access the Storage Account via the private link while not exposing the Storage Account to the public internet, works great and very secure.

The issue is the price of Azure Front Door Premium, $330 per month minimum.

Other flavors of Azure Front door can't use the private link

Is there a more affordable way to securely connect via Private Link and serve images to public from Blob Storage? Or is Azure Front Door premium the only option?

thomp361
  • 21
  • 3

1 Answers1

0

• You surely can serve public images from Blob Storage via the private link through the private endpoint created but when accessed from the public internet, i.e., from outside the virtual network where the storage account’s private endpoint is not assigned a private IP address from the virtual network in which the private link is created. Kindly refer to the below point for more details: -

When you resolve the storage endpoint URL from outside the VNet with the private endpoint, it resolves to the public endpoint of the storage service. When resolved from the VNet hosting the private endpoint, the storage endpoint URL resolves to the private endpoint's IP address.

Please find the below steps for demonstrating the above stated point wherein you can serve public images from an Azure blob storage through a private endpoint: -

• For accessing a storage account through the private endpoint configured, kindly ensure that the DNS records for the storage account should be configured as below wherein the custom domain name through which the storage account’s public endpoint is accessible should be configured as below: -

Once, the custom domain name is configured, its related DNS records should be created as below for ensuring that the accessibility from inside the virtual network to the storage account through the private link created is possible. Also, create DNS records as below for that purpose: -

DNS records creation Azure DNS record creation DNS zone record creation Networking section in Azure DNS Private endpoint creation Azure storage account firewall exception

Thus, in this way, configuring the correct DNS records and allowing specific services access over Microsoft’s trusted network to the private endpoint created for the storage account can be very helpful in configuring the public access to the blob storage for accessing the images stored on it.

Please find the below links for more relevant information on this: -

https://learn.microsoft.com/en-us/azure/storage/common/storage-private-endpoints

https://learn.microsoft.com/en-us/azure/storage/files/storage-files-networking-endpoints?tabs=azure-portal

Kartik Bhiwapurkar
  • 4,550
  • 2
  • 4
  • 9
  • Thanks for the reply. Correct me if I am wrong, but this requires Public Network Access as you've enabled "Enabled from selected virtual networks and IP addresses". Correct? I've should been more specific in that I don't want to allow any public network access to the storage container. – thomp361 Nov 11 '22 at 18:04