Comprehensive dashboard illustration detailing Application Gateway cost and capacity unit management in Azure.

Managing your Application Gateway cost in Azure requires a close look at how v2 load balancers reserve capacity. When your team deploys a Standard_v2 or WAF_v2 gateway, you pay a fixed hourly rate plus a variable charge for capacity units. However, many teams unknowingly lock in a high minimum instance count. Because each reserved instance guarantees a set block of capacity units, you might pay for an idle floor that your traffic never reaches. Fortunately, you can right-size this reservation without hurting availability. Meanwhile, autoscaling still handles sudden traffic spikes on demand.

Key takeaways

  • Each minimum or fixed instance on a v2 gateway reserves 10 capacity units every hour, regardless of low traffic.
  • Azure bills each hour for the greater value between your reserved capacity units and your actual consumed units.
  • Right-sizing your baseline to 1.5 times your 95th-percentile usage removes idle floor charges while keeping safe headroom.
  • A 3-step change process — confirming peaks, lowering the minimum, and watching metrics for 1 week — safely lowers excess reservations.

How Application Gateway cost is built from capacity units

The Azure Application Gateway pricing model for v2 SKUs splits your bill into two distinct meters: a fixed gateway-hour charge and a capacity-unit charge. The fixed fee applies simply because the gateway exists in your subscription. Next, the capacity-unit meter tracks the work the load balancer performs.

According to the Azure Application Gateway monitoring data reference, a single capacity unit supports up to three limits:

  • 1 compute unit (driven by TLS handshakes, URL rewrites, and WAF rule checks)
  • 2,500 persistent connections
  • 2.22 Mbps of throughput

During any hour, Azure checks which of those three factors used the most resources. That highest number becomes your current capacity unit usage. However, usage is only half of the billing rule. Each hour bills the larger of your reserved capacity units and your actual used units. As a result, when your reserved floor sits higher than your real traffic, your Application Gateway cost is driven by your settings rather than your users.

The minimum instance count as reserved capacity

In a v2 gateway, you do not reserve capacity units directly by typing a unit number into the portal. Instead, you set an instance count. You can pick a manual, fixed instance count, or you can turn on autoscaling and set a minimum instance count. Also, some teams use automation scripts or scheduled steps to raise and lower this minimum floor at set times of the day.

Every instance you lock in through a minimum or fixed count reserves 10 capacity units. For example, if you set a minimum of five instances, you reserve 50 capacity units every hour. If your traffic only uses a small fraction of those units, the capacity-unit meter still charges for all 50.

You can see this gap in your native telemetry. First, check Azure Cost Management to view your billed capacity-unit charges over time. Next, open Azure Monitor and compare two metrics: Current capacity units and Fixed billable capacity units, alongside Estimated Billed Capacity units. When the fixed billable line stays flat and high above the current usage line for days, you are paying for idle reserved capacity. In addition, tools like Binadox can flag these oversized reservations across your Azure subscriptions automatically.

Sizing the reservation from the 95th-percentile use

You do not need to drop your minimum instance count to zero to cut waste. Instead, you should size your baseline reservation from your real traffic peaks. Look at the complete days of your tracking window in Azure Monitor and find your 95th-percentile capacity unit usage. Using the 95th percentile filters out brief, rare anomalies while capturing your true daily peak load.

Once you know that 95th-percentile used unit level, multiply it by 1.5 to set your needed units. This 1.5x buffer gives your gateway immediate breathing room above its typical peak. Next, translate those needed units into an instance count, since each instance covers 10 capacity units. That new minimum instance setting defines your target reserved units.

Because each hour bills the larger of your reservation and your actual use, the difference between your old reservation and your new target units shows what the capacity-unit meter would not have charged under the lower floor. Any reservations or scheduled steps that already sit at or below this target should stay as they are.

Autoscaling still adds instances on demand

Network teams often leave high minimum instance counts in place out of fear. They worry that lowering the baseline will cause dropped requests during a flash sale or a busy morning login wave. However, lowering the minimum instance count on an autoscale-enabled v2 gateway does not cap your performance.

Instead, it only lowers the pre-warmed floor that you pay for during quiet hours. When traffic grows past your reserved target units, Azure autoscaling still adds instances on demand up to your configured maximum limit (which supports up to 125 instances, or 1,250 capacity units). During those busy hours, your used capacity units exceed your reserved floor, so Azure simply bills you for the actual units consumed.

At the same time, keeping a 1.5x buffer over your 95th-percentile usage protects against cold scale-out lag. Your gateway keeps enough warm instances ready for normal daily surges, while autoscaling handles rare spikes above that buffer.

Lower the minimum and watch capacity units

Before you change any production load balancer, you must verify the context behind the numbers. Billing data and Azure Monitor metrics show past usage, but they cannot prove why an engineer set a high minimum count in the first place. Furthermore, billing data cannot show upcoming marketing campaigns, failover capacity rules, or disaster recovery plans.

Step 1: Confirm the peak with the network owner

First, review the 95th-percentile usage and the proposed target units with the network owner or application team. You should investigate a few details before changing the setting:

  • Scheduled scaling steps: Check whether Azure Automation runbooks, Logic Apps, or Terraform pipelines raise the minimum instance count on a schedule.
  • Downstream dependencies: Confirm whether backend pools or linked firewalls expect a fixed warm footprint for failover traffic.
  • Pending events: Ask if the high floor was set for an upcoming load test or seasonal launch.

Step 2: Lower the minimum instance count

Next, once the network owner confirms that the extra headroom is not needed, lower every reservation above your target units down to the recommended minimum instance count. If the gateway runs on a fixed manual instance count, switch it to autoscale with the new minimum, or lower the fixed count if policy requires manual scaling. Similarly, if a scheduled step sets the high floor, update that schedule step to the new minimum. Leave any reservations or schedule steps that are already at or below the target untouched.

Step 3: Watch the capacity units for a week

Finally, watch the gateway metrics in Azure Monitor for a full week after the change. Track Current capacity units, Fixed billable capacity units, Estimated Billed Capacity units, and backend response latency. Confirm that your new floor covers daily traffic smoothly and that autoscaling responds cleanly if a spike crosses your target units.

How Binadox helps identify excessive Application Gateway capacity

Binadox is a cloud cost visibility and optimization tool that inspects your Azure load balancing telemetry to spot oversized reservations. Rather than requiring you to calculate percentiles manually for every gateway, Binadox flags any Application Gateway that reserves more capacity units through its minimum instance count than its workload needs.

When it detects this issue, Binadox reports the gateway name, the currently reserved capacity units, and the 95th-percentile used units over the complete days of the analysis window. Next, it calculates the needed units required to keep 1.5 times that peak and shows the exact minimum instance setting and target units that cover it. In addition, it shows the historical charge difference: the amount the capacity-unit meter would not have charged had every reservation above the target units been set to that target. It then provides the clear recommendation to confirm the peak with the network owner, lower the excess reservations or schedule steps while relying on autoscaling for demand spikes, and watch the capacity units for a week.

Conclusion

Paying for an oversized minimum instance count on a v2 gateway is like paying rent on an empty parking lot just in case a parade drives by. Because each reserved instance locks in 10 capacity units every hour, an inflated baseline inflates your Application Gateway cost day and night. Instead, size your reservation to 1.5 times your 95th-percentile usage. Confirm the change with your network owner, lower the minimum floor, and watch your capacity units for a week. You will keep a safe buffer for regular traffic and let autoscaling handle the parades.

To catch idle reserved capacity across your infrastructure and reclaim wasted spend, you can start your free Binadox trial or book a demo with our cloud optimization experts today.