Use an Azure file share with a Batch pool

Azure Files offers fully managed file shares in the cloud that are accessible via the Server Message Block (SMB) protocol. You can mount and use an Azure file share on Batch pool compute nodes.

Considerations for use with Batch

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 to be 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

You can create an Azure file share in a storage account that is linked to your Batch account, or in a separate storage account. For more information, see Create an Azure file share.

Mount an Azure file share on a Batch pool

For details on how to mount an Azure file share on a pool, see Mount a virtual file system on a Batch pool.

Next steps