title | description | ms.topic | ms.date |
---|---|---|---|
Azure file share for Azure Batch pools |
How to mount an Azure Files share from compute nodes in a Linux or Windows pool in Azure Batch. |
how-to |
05/24/2018 |
Azure Files offers fully managed file shares in the cloud that are accessible via the Server Message Block (SMB) protocol. This article provides information and code examples for mounting and using an Azure file share on pool compute nodes.
-
Consider using an Azure file share when you have pools that run a relatively low number of parallel tasks if using non-premium Azure Files. Review the performance and scale targets to determine if Azure Files (which uses an Azure Storage account) should be used, given your expected pool size and number of asset files.
-
Azure file shares are cost-efficient and can be configured with data replication to another region so are globally redundant.
-
You can mount an Azure file share concurrently from an on-premises computer. However, ensure that you understand concurrency implications especially when using REST APIs.
-
See also the general planning considerations for Azure file shares.
Create a file share in a storage account that is linked to your Batch account, or in a separate storage account.
Please refer to the documentation on how to Mount a virtual file system on a Batch pool.
- For other options to read and write data in Batch, see Persist job and task output.
- See also the Batch Shipyard toolkit, which includes Shipyard recipes to deploy file systems for Batch container workloads.