Best practice on Application Gateway?

Handinata Tanudjaja 230 Reputation points
2025-04-22T16:54:04.7933333+00:00

Hi everyone,

We would like to understand more on how to utilize Application Gateway better.

The questions we have are:

  1. How to determine the number of Web Server VMs could be handled by 1 Application Gateway?
  2. How to determine the number of Application Gateways we should have?
  3. How does Application Gateway charge?
  4. How to monitor the Application gateway usage?

Thank you

Azure Application Gateway
Azure Application Gateway
An Azure service that provides a platform-managed, scalable, and highly available application delivery controller as a service.
1,172 questions
{count} votes

Accepted answer
  1. Praveen Bandaru 2,665 Reputation points Microsoft External Staff
    2025-04-22T17:51:27.46+00:00

    Hello Handinata Tanudjaja

    I understand that you need some clarification on the Azure Application Gateway configuration and workflow. 

    1.How to determine the number of Web Server VMs could be handled by 1 Application Gateway?

    The number of web server virtual machines (VMs) that an Application Gateway can manage depends on several factors, such as the amount of traffic, the complexity of requests, and the performance of backend servers.

    Application Gateway V2 has an autoscaling feature that automatically adjusts the number of server instances based on demand. This ensures that your web application always performs optimally, even during busy times.

    Check the Azure Application Gateway v2 reference document.

    2.How to determine the number of Application Gateways we should have?

    The number of Application Gateways required depends on your workload, how your traffic is distributed, and your redundancy needs. To ensure high availability, it's recommended to deploy at least two instances. Autoscaling can help by automatically adjusting the number of instances based on traffic patterns, ensuring your application always performs optimally. check the Autoscaling for Application Gateway.

    3.How does Application Gateway charge?

    The charges for using an Application Gateway are mainly based on the amount of data it processes. Additionally, the total cost is influenced by the number of Application Gateway instances you have deployed. Check the Application Gateway pricing document.

    4.How to monitor the Application gateway usage?

    Azure Monitor provides valuable insights into metrics like request rates, response times, and the health of your backend servers. You can set up alerts to notify you of any anomalies and use diagnostic logs for detailed analysis.

    Additionally, tools like Azure Monitor Network Insights offer a comprehensive view of your Application Gateway’s performance, helping you keep everything running smoothly.

    1. Monitor Azure Application Gateway
    2. Application Gateway health probes
    3. Metrics for Application Gateway
    4. Diagnostic logs for Application Gateway

    Hope the above answer helps! Please let us know do you have any further queries.

    Please do consider to “up-vote” wherever the information provided helps you, this can be beneficial to other community members.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.