Azure Application Gateway Configuration
The following is the process for configuring Azure Application Gateway.
1. Create a standard application gateway in the standard tier.
2. Select the SKU size (medium or high, the recommended starting SKUs for production workloads). The instance count can be kept at default:
https://miro.medium.com/max/963/1*sgccyt0iNdsKJErA58_-0w.png
3. Select Configure the application gateway settings
https://miro.medium.com/max/963/1*qrJGk6_uPrjKNoxkT0FS1g.png
Application gateways should be created in the same VNet to which the VMs are connected. However, be mindful that the application gateway should be created in a subnet in the VNet that do not have any other resources connected to it. An application gateway needs a public IP in the basic SKU and an HTTP or HTTPs endpoint with the target port.
4. In this use case, we use port 8080, as it was configured for the load balancer. Review and click OK to create the application gateway.
5. Click Settings ➤ Backend pools. Select the defaultback-end pool and add targets, or create a new back-end pool:
https://miro.medium.com/max/963/1*edHwD2SN7XEkUr4wdt6TqA.png
6. Click the associated rule. Configure the back-end HTTP settings if you wish to change the default port settings:
https://miro.medium.com/max/963/1*tZcTzJWhNDV6H4qmTwP3YA.png
Once configured correctly, the application is available at http://<Public IP of application Gateway>:8080