Lewati Navigasi

Templat Azure Quickstart saat ini tersedia dalam bahasa Inggris

Multi tier App with NSG, ILB, AppGateway

Terakhir diperbarui: 14/05/2021

This template deploys a Virtual Network, segregates the network through subnets, deploys VMs and configures load balancing

Templat Azure Resource Manager ini dibuat oleh anggota komunitas dan bukan oleh Microsoft. Setiap templat Resource Manager dilisensikan kepada Anda berdasarkan perjanjian lisensi oleh pemiliknya, bukan Microsoft. Microsoft tidak bertanggung jawab atas templat Resource Manager yang disediakan dan dilisensikan oleh anggota komunitas dan tidak menyaring keamanan, kompatibilitas, atau performa. Templat Community Resource Manager tidak didukung di bawah program atau layanan dukungan Microsoft apa pun, dan tersedia SEBAGAIMANA ADANYA tanpa jaminan apa pun.

Parameter

Nama Parameter Deskripsi
newDBStorageAccountName Unique DNS Name for the Storage Account where the DB Virtual Machine disks will be placed.
adminUsername Username for the Virtual Machine.
adminPassword Password for the Virtual Machine.
appVmNamePrefix Prefix for the name of Application servers
dbVmNamePrefix Prefix for the name of Database servers
vmSize Size of the VM
publicIPAddressType Type of public IP address
appServersPublicIPPrefix Prefix for the name of Database servers
skuName Sku Name
appGatewayCapacity Number of instances of the Application Gateway
multitierILB Internal Load Balancer name
windowsOSVersion The Windows version for the VM. This will pick a fully patched image of this given Windows version. Allowed values: 2008-R2-SP1, 2012-Datacenter, 2012-R2-Datacenter, 2016-Datacenter, 2019-Datacenter.
location Location for all resources.

Menggunakan templat

Windows 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 deployment
New-AzResourceGroupDeployment -ResourceGroupName <resource-group-name> -TemplateUri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/demos/multi-tier-service-networking/azuredeploy.json
Menginstal dan mengonfigurasi Azure PowerShell

Baris perintah

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 deployment
az group deployment create --resource-group <my-resource-group> --template-uri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/demos/multi-tier-service-networking/azuredeploy.json
Menginstal dan Mengonfigurasi Azure Cross-Platform Command-Line Interface