CentOS/UbuntuServer Auto Dynamic Disks & Docker 1.12(cs)

Last updated: 30/10/2016

Cost estimate

$0.1377

Estimated monthly cost

Understand how this was calculated and customise it to your needs

Pricing calculator

This is a common template for creating single instance CentOS 7.2/7.1/6.5 or Ubuntu Server 16.04.0-LTS with configurable number of data disks (configurable sizes). Maximum 16 disks can be mentioned in the portal parameters and maximum size of each disk should be less than 1023 GB. The MDADM RAID0 Array is automounted and survives restarts. Latest Docker 1.12(cs3) (Swarm), docker-compose 1.9.0 & docker-machine 0.8.2 is available for usage from user azure-cli is auto running as a docker container. This single instance template is an offshoot of the HPC/GPU Clusters Template @ https://aka.ms/azurebigcompute

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.

Parameters

Parameter Name Description
dnsLabelPrefix Unique public dns prefix where the node will be exposed
adminUserName User name for the Virtual Machine. Pick a valid username otherwise there will be a BadRequest error.
imagePublisher openlogic/Canonical are the respective CentOS/Ubuntu Distributor in Azure Market Place
imageOffer New CentOS/UbuntuServer Image Offer
imageSku P.S: OpenLogic CentOS version to use **docker usage Only for 7.1/7.2 kernels 3.10 and above **
sshPublicKey This field must be a valid SSH public key. ssh with this RSA public key
mountFolder The Folder system to be auto-mounted.
nodeSize Size of the node.
storageType Storage Account Type : Standard-LRS, Standard-GRS, Standard-RAGRS, Standard-ZRS
dockerVer The docker version **Only for 7.1/7.2 kernels 3.10 and above **
dockerComposeVer The Docker Compose Version **Only for 7.1/7.2 kernels 3.10 and above **
dockerMachineVer The docker-machine version **Only for 7.1/7.2 kernels 3.10 and above **
dataDiskSize The size in GB of each data disk that is attached to the VM. A MDADM RAID0 is created with all data disks auto-mounted, that is dataDiskSize * dataDiskCount in size n the Storage .
masterVMName The Name of the VM.
numDataDisks This parameter allows the user to select the number of disks wanted

Use the template

PowerShell
New-AzureRmResourceGroupDeployment -Name <deployment-name> -ResourceGroupName <resource-group-name> -TemplateUri https://raw.githubusercontent.com/azure/azure-quickstart-templates/master/201-vm-linux-dynamic-data-disks/azuredeploy.json
Installing and configuring Azure PowerShell
Command line
azure config mode arm
azure group deployment create <my-resource-group> <my-deployment-name> --template-uri https://raw.githubusercontent.com/azure/azure-quickstart-templates/master/201-vm-linux-dynamic-data-disks/azuredeploy.json
Installing and configuring the Azure cross-platform command-line interface