Create an Azure Application Gateway v2

Azure Public Test Date Azure Public Test Result

Azure US Gov Last Test Date Azure US Gov Last Test Result

Best Practice Check Cred Scan Check

Bicep Version

Deploy To Azure


This template deploys an Azure Application Gateway v2. The application gateway uses a simple setup with a public front-end IP, a basic listener to host a single site on the application gateway, a basic request routing rule, and two virtual machines in the backend pool.

The backend servers are Standard_B2ms virtual machines running Windows Server 2016 with IIS installed to test the application gateway functionality.

Deployment steps

You can select Deploy to Azure at the top of this document or follow the instructions for command line deployment using the scripts in the root of this repo.


This template is used by the Azure Application Gateway documentation quickstart article.

Tags: Application Gateway, Microsoft.Network/networkSecurityGroups, Microsoft.Network/publicIPAddresses, Microsoft.Network/virtualNetworks, Microsoft.Compute/virtualMachines, Microsoft.Compute/virtualMachines/extensions, CustomScriptExtension, Microsoft.Network/applicationGateways, Microsoft.Network/networkInterfaces