Skip to content

Latest commit

 

History

History
39 lines (24 loc) · 1.95 KB

mounting_azure_blob.md

File metadata and controls

39 lines (24 loc) · 1.95 KB

Updates for Bring your Own Storage preview feature in Azure App Service

Azure App Service apps running on Linux support mapping an Azure Storage container (backed by Azure Blob or Azure Files) to a path accessible by your application ( learn more ).

Currently, both options support read / write scenarios. Due to limitations in the drivers used to provide the Azure Blob mounting functionality, mappings backed by Azure Blob will become read-only on February 2nd 2020. Azure Files backed configurations will not be affected by this change.

If your app needs to continue to support read / write scenarios with mounted storage, we recommend using Azure Files.

If you want to opt-in the read only behavior for read only Azure Blob mounts, you can add an app setting:

WEBSITE_DISABLE_BYOS_BLOB_READ_WRITE = <mount-name-01>,<mount-name-02>,...,<mount-name-N>

The value for this app setting should be a comma delimited list of mount names you want to make read only.

Example

Path Mappings

If you have 2 containers mounted to your app and you only want to make the media container read-only. Add an app setting with the following Key / Value:

WEBSITE_DISABLE_BYOS_BLOB_READ_WRITE = media

If you want to make both mounts read only:

WEBSITE_DISABLE_BYOS_BLOB_READ_WRITE = media,logs

Learn more