Deploy a VMSS that connects each VM to an Azure Files share
This template demonstrates using Azure File with virtual machine scale sets on Ubuntu. Every VM in this scale set will have a mounted Azure Files file share at the location you specify, and a symbolic link will also be created in the user's home directory.
Prerequisites
In order to run this template you need to create a storage account and file share in advance, which you will pass in as parameters. This template expects the following parameters (in addition to scale set name, capacity etc.):
- Storage Account Name
- Storage Account Key
- File Share Name
- Mount point
Step1: To create an Azure Storage Account
Step 2: Run this template with parameters
Tags: Microsoft.Network/virtualNetworks, Microsoft.Network/publicIPAddresses, Microsoft.Network/loadBalancers, Microsoft.Compute/virtualMachineScaleSets, CustomScript