Application Gateway with WAF, end to end SSL, two IIS servers and HTTP to HTTPS redirection

Jason Boeshart 提供
上次更新时间: 2017/4/28

This template deploys an Application Gateway with WAF, end to end SSL and HTTP to HTTPS redirect on the IIS servers.

此 Azure Resource Manager (ARM) 模板由社区的某个成员(而不是由 Microsoft)创建。每个 ARM 模板都根据其所有者(不是 Microsoft)的许可协议向你授予许可。Microsoft 不对由社区成员提供并授予许可的 ARM 模板负责,并且不针对安全性、兼容性和性能进行筛选。社区 ARM 模板不由任何 Microsoft 支持计划或服务提供支持,按“原样”提供,没有任何种类的担保。

参数

参数名 说明
adminUsername Username for the Virtual Machine.
adminPassword Password for the Virtual Machine.
windowsOSVersion The Windows version for the VM. This will pick a fully patched image of this given Windows version. Allowed values: 2012-R2-Datacenter, 2016-Datacenter.
virtualMachineSize The virtual machine size. Allowed values: Standard_A1, Standard_A2, Standard_A3.
applicationGatewaySize Application Gateway size
capacity Number of instances
wafMode WAF Mode
frontendCertData Base-64 encoded form of the .pfx file. This is the cert terminating on the Application Gateway.
frontendCertPassword Password for .pfx certificate
backendCertData Base-64 encoded form of the .pfx file. This is the cert installed on the web servers.
backendCertPassword Password for .pfx certificate
backendPublicKeyData Base-64 encoded form of the .cer file. This is the public key for the cert on the web servers.
backendCertDnsName DNS name of the backend cert
_artifactsLocation The base URI where artifacts required by this template are located. For example, if stored on a public GitHub repo, you'd use the following URI: https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/201-vmss-windows-webapp-dsc-autoscale.
_artifactsLocationSasToken The sasToken required to access _artifactsLocation. If your artifacts are stored on a public repo or public storage account you can leave this blank.

使用模板

PowerShell

New-AzureRmResourceGroupDeployment -Name <deployment-name> -ResourceGroupName <resource-group-name> -TemplateUri https://raw.githubusercontent.com/azure/azure-quickstart-templates/master/201-application-gateway-2vms-iis-ssl/azuredeploy.json
安装和配置 Azure PowerShell

命令行

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-application-gateway-2vms-iis-ssl/azuredeploy.json
安装和配置 Azure 跨平台命令行界面

Jason Boeshart 提供的更多模板