Create an Application Gateway

Last updated: 7/10/2017

This template deploys an Application Gateway with enhanced probe functionality.

This Azure Resource Manager template was created by a member of the community and not by Microsoft. Each Resource Manager template is licensed to you under a license agreement by its owner, not Microsoft. Microsoft is not responsible for Resource Manager templates provided and licensed by community members and does not screen for security, compatibility, or performance. Community Resource Manager templates are not supported under any Microsoft support program or service, and are made available AS IS without warranty of any kind.

Parameters

Parameter Name Description
addressPrefix Address prefix for the Virtual Network
subnetPrefix Subnet prefix
applicationGatewaySize application gateway size
capacity Number of instances
backend1 Backend 1
probeEnabled Probe Enabled
healthyStatusCodes Status codes for which the backend is healthy.
probeProtocol Probe protocol to use.
probeHost Host header to send to the backend.
probePath Path invoked on the backend.
probeIntervalInSeconds Interval between probes in seconds.
probeTimeoutInSeconds Timeout of a probe request in seconds.
probeUnhealthyThreshold Maximum number of probe attempts until a backend is marked unhealthy.
probePickHostNameFromBackendHttpSettings If set to true the host will be taken from the BackendHttpSettings or the backend address if BackendHttpSettings does not specify a custom host header.
probeMinServersAvailable Minimum number of servers that are kept in healthy state regardless of probe results.

Use the template

PowerShell

New-AzureRmResourceGroupDeployment -Name <deployment-name> -ResourceGroupName <resource-group-name> -TemplateUri https://raw.githubusercontent.com/azure/azure-quickstart-templates/master/201-application-gateway-probe/azuredeploy.json
Install and configure 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-application-gateway-probe/azuredeploy.json
Install and Configure the Azure Cross-Platform Command-Line Interface