Search code examples
azureazure-blob-storageazure-cdnazure-files

Is it possible to create an Azure CDN with Azure Files Storage?


All the documentation talks about Azure Blob Storage to be used with CDN. Unfortunately the Azure Web Portal doesn't allow me to upload any "blobs" to the Blob storage. On the other side I can do that with a Files storage type.

However I wasn't able to access my Files storage through my CDN Endpoint. Is it not supported?

Do I need to use Blob Storage and upload files programmatically?


Solution

  • We can only access Azure File storage via SMB or Rest API. If you want to use anonymous Http access, I would suggest your choose Azure blob storage. If you want to use CDN in Azure file storage. I think you need to write a web application and access the files via Rest API. Then you only need to connect CDN with your web application.