Deploy a VMSS that connects each VM to an Azure Files share

Azure Public Test Date Azure Public Test Result

Azure US Gov Last Test Date Azure US Gov Last Test Result

Best Practice Check Cred Scan Check

Bicep Version

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.):

  1. Storage Account Name
  2. Storage Account Key
  3. File Share Name
  4. Mount point

Step1: To create an Azure Storage Account

Step 2: Run this template with parameters

Deploy To Azure Deploy To Azure US Gov Visualize

Tags: Microsoft.Network/virtualNetworks, Microsoft.Network/publicIPAddresses, Microsoft.Network/loadBalancers, Microsoft.Compute/virtualMachineScaleSets, CustomScript