Deploys a N node Gluster File System

Last updated: 03/07/2018

This template deploys a 2, 4, 6, or 8 node Gluster File System with 2 replicas on Ubuntu

This Azure Resource Manager (ARM) template was created by a member of the community and not by Microsoft. Each ARM template is licensed to you under a licence agreement by its owner, not Microsoft. Microsoft is not responsible for ARM templates provided and licensed by community members and does not screen for security, compatibility or performance. Community ARM templates are not supported under any Microsoft support programme or service, and are made available AS IS without warranty of any kind.


Parameter Name Description
hostOs OS to install on the host system (Centos was removed due to breaking change)
scaleNumber Number of nodes in the gluster file system
adminUsername ssh user name
adminPassword ssh password
vmSize VM size for the nodes
diskSize The size of the datadisks to be striped. The total capacity will be this size multiplied by the number of data disks you specify.
vmNamePrefix VM name prefix, a number will be appended for each node
vnetAddressPrefix virtual network CIDR in which the cluster will be created
gfsSubnetName name of the subnet for the Gluster nodes
gfsSubnetPrefix CIDR of the subnet for the Gluster nodes
volumeName Gluster file system volume name
location Location for all resources.
_artifactsLocation The base URI where artifacts required by this template are located. When the template is deployed using the accompanying scripts, a private location in the subscription will be used and this value will be automatically generated.
_artifactsLocationSasToken The sasToken required to access _artifactsLocation. When the template is deployed using the accompanying scripts, a sasToken will be automatically generated.

Use the template


New-AzureRmResourceGroupDeployment -Name <deployment-name> -ResourceGroupName <resource-group-name> -TemplateUri
Installing and configuring Azure PowerShell

Command line

azure config mode arm
azure group deployment create <my-resource-group> <my-deployment-name> --template-uri
Installing and configuring the Azure cross-platform command-line interface