Create a Storage Account File Share via Containers
Create a Storage Account and a File Share via az-cli in Container Instance
This template demonstrates creating a Storage File Share via az-cli and Azure Container Instance. Modify the template to create a blob or other similar storage operation. The Azure Container Instance and az-cli can be used to create services not directly available in an Azure Resource Manager Template.
Tags: Azure Container Instance, az-cli, Microsoft.Storage/storageAccounts, Microsoft.ContainerInstance/containerGroups
Solution overview and deployed resources
The following resources are deployed as part of the solution
- Storage Account: Storage account for the file share
- Azure Container Instance: Azure Container Instance, where the az-cli is executed to create the file share
- File share: Azure File share accessiable via SMB protocol
Deployment steps
You can click the "Deploy to Azure" button at the beginning of this document or follow the instructions for command line deployment using the scripts in the root of this repo.
Mount
Mount via SMB protocol on Windows, Linux, macOS or Azure Container Instance
Notes
Azure Container Instance is available in selected locations. Please use one of the available location for Azure Container Instance resource.