Az Azure-gyorskonfigurálási sablonok jelenleg angol nyelven érhetők el
VMs in Availability Zones with a Load Balancer and NAT
This template allows you to create Virtual Machines distributed across Availability Zones with a Load Balancer and configure NAT rules through the load balancer. This template also deploys a Virtual Network, Public IP address and Network Interfaces. In this template, we use the resource loops capability to create the network interfaces and virtual machines
Ezt az Azure Resource Manager-sablont (ARM-sablont) nem a Microsoft, hanem a közösség egyik tagja készítette. Az egyes ARM-sablonok nem a Microsofttól, hanem a sablon tulajdonosától licencelhetők licencszerződés keretében. A Microsoft semmilyen felelősséget nem vállalal a közösség tagjai által biztosított és licencbe adott ARM-sablonokért, és azokat a biztonság, kompatibilitás és teljesítmény szempontjából nem ellenőrzi. A közösségi ARM-sablonokat a Microsoft semmilyen terméktámogatási programja vagy szolgáltatása nem támogatja, és ezek „adott állapotukban” állnak rendelkezésre, mindennemű garancia nélkül.
Paraméterek
Paraméter neve | Leírás |
---|---|
location | Location for the VMs, only certain regions support zones. |
adminUsername | Username for the Virtual Machine. |
dnsName | Unique DNS Name for the Public IP for the frontend load balancer. |
windowsOrUbuntu | Operation System for the Virtual Machine. |
numberOfVms | Number of VMs to provision |
authenticationType | Type of authentication to use on the Virtual Machine. SSH key is recommended. |
adminPasswordOrKey | SSH Key or password for the Virtual Machine. SSH key is recommended. |
vmSize | Size of the virtual machine |
A sablon használata
PowerShell
New-AzResourceGroup -Name <resource-group-name> -Location <resource-group-location> #use this command when you need to create a new resource group for your deploymentAz Azure PowerShell telepítése és konfigurálása
New-AzResourceGroupDeployment -ResourceGroupName <resource-group-name> -TemplateUri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/quickstarts/microsoft.compute/multi-vm-lb-zones/azuredeploy.json
Parancssor
az group create --name <resource-group-name> --location <resource-group-location> #use this command when you need to create a new resource group for your deploymentAz Azure többplatformos parancssori felületének telepítése és beállítása
az group deployment create --resource-group <my-resource-group> --template-uri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/quickstarts/microsoft.compute/multi-vm-lb-zones/azuredeploy.json