This template allows you to quickly deploy Azure Application Gateway demo to test load-balancing with or without cookie-based affinity.
- Push Deploy to Azure button.
- Choose admin credentials for the backend Web servers.
- If needed change size, capacity, cookie-based affinity mode (you can re-configure later).
- Start template deployment.
Once your demo setup is deployed use DNS name of your Azure Application Gateway that was generated for you automatically to test how it works. To get your Azure Application Gateway DNS name you can open Azure Application Gateway's Public IP address properties in Azure Portal:
In order to try your test setup in action you can re-send your requests, bring down/up the VMs/Web servers created as a part of the deployment, change Azure Application Gateway settings.
When your HTTP request hits backend server, you should be able to see a page like the one below: