Skip to content

Repository files navigation

description This template deploys an Ubuntu Virtual Machine Scale Set and uses a custom script extension to connect each VM to an Azure Files share
page_type sample
products
azure
azure-resource-manager
urlFragment vmss-azure-files-linux
languages
bicep
json

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 (default is /mnt/azurefiles)

Step1: To create an Azure Storage Account

Step 2: Run this template with parameters

Deploy To Azure Visualize

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

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages