Need to know whenever the instance count is reaching maximum instances(125) in application gateway of waf v2 sku.

Murarisetty Yamuna 140 Reputation points
2024-01-24T11:28:56.73+00:00

The current configuration of the application gateways includes recommendations such as utilizing the V2 SKU, enabling autoscale, and setting the maximum instance count to 125. As per MS Document each instance can uses a minimum of 10 capacity units for processing capability-got this from Instance count Reference: (https://learn.microsoft.com/en-us/azure/application-gateway/understanding-pricing#v2-skus). Then the maximum capacity units is 1250(125*10). This is my question:

  • To monitor instances approaching the maximum limit in application gateway , Is the metric signal "Current Capacity Unit " is the precise or not?
  • Is creating an alert on the capacity units with a threshold value of 940 (75%) is the precise solution for continuously monitoring instances, ensuring awareness as they approach the maximum limit?

NOTE: The aggregation type is average(this is only one option is giving in the alert creation), operation: count and Threshold value:940

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,142 questions
{count} votes

Accepted answer
  1. GitaraniSharma-MSFT 49,856 Reputation points Microsoft Employee
    2024-01-24T13:38:05.09+00:00

    Hello @Murarisetty Yamuna ,

    Welcome to Microsoft Q&A Platform. Thank you for reaching out & hope you are doing well.

    I understand that you would like to setup an alert for your WAF v2 Application gateway, whenever the instance count is reaching maximum instances of 125.

    To monitor instances approaching the maximum limit in application gateway, Is the metric signal "Current Capacity Unit " is the precise or not?

    Capacity units represent overall gateway utilization in terms of throughput, compute, and connection count.

    However, Compute unit's the measure of compute utilization of your Application Gateway.

    Compute unit metric is a representation of your gateway's CPU utilization and based on your peak usage divided by 10, you can set the minimum number of instances required. Note that 1 application gateway instance can handle a minimum of 10 compute units.

    So, the metric signal "Current Compute Unit" is more precise.

    Refer: https://learn.microsoft.com/en-us/azure/application-gateway/high-traffic-support#set-your-minimum-instance-count-based-on-your-average-compute-unit-usage

    Is creating an alert on the capacity units with a threshold value of 940 (75%) is the precise solution for continuously monitoring instances, ensuring awareness as they approach the maximum limit?

    As mentioned above, to monitor the instance count usage, you should configure an alert for Avg. Compute Unit utilization crossing 75%.

    https://learn.microsoft.com/en-us/azure/application-gateway/high-traffic-support#alerts-for-application-gateway-v2-sku-standard_v2waf_v2

    If you want to know whenever the instance count is reaching maximum instances of 125, then you could setup an alert for Avg. Compute Unit utilization as below:

    • Maximum compute units are 1250(125*10).
    • 75% of 1250 = 937.5 which could approx. to 940

    User's image

    Kindly let us know if the above helps or you need further assistance on this issue.


    Please don’t forget to "Accept the answer" wherever the information provided helps you, this can be beneficial to other community members.

    0 comments No comments

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.