This template allows you to deploy a simple VM (Windows or Ubuntu), using the latest patched version. This will deploy a A2_v2 size VM in the location specified and return the FQDN of the VM.
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.
|location||Location for the VM, only certain regions support zones during preview.|
|adminUsername||Username for the Virtual Machine.|
|adminPassword||Password for the Virtual Machine.|
|dnsLabelPrefix||Unique DNS Name for the Public IP used to access the Virtual Machine.|
|windowsOrUbuntu||Operation System for the Virtual Machine.|
Use the template
New-AzureRmResourceGroupDeployment -Name <deployment-name> -ResourceGroupName <resource-group-name> -TemplateUri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/101-vm-simple-zones/azuredeploy.jsonInstall and configure Azure PowerShell
azure config mode armInstall and Configure the Azure Cross-Platform Command-Line Interface
azure group deployment create <my-resource-group> <my-deployment-name> --template-uri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/101-vm-simple-zones/azuredeploy.json