CloudVectra Logo CloudVectra
CloudVectra Knowledge Hub

Azure Network Architecture Mistakes: Hub-and-Spoke, Firewall and Private Link Costs

Map hub-and-spoke traffic through firewalls, peering, NAT and Private Endpoints, including the regional Private Link peering exception.

6 min read

1. The scenario: the hub becomes a paid detour

An organization standardizes on hub-and-spoke networking. Every spoke sends internet traffic through Azure Firewall; some traffic is forced back on-premises. Private Endpoints are deployed separately in many spokes, and shared services communicate through multiple peering links.

The security intent is reasonable. The cost problem arises when nobody checks which flows need inspection, which bypass or traverse it, and which hourly deployments and data-processing meters remain in the final path.

Calculations use illustrative USD assumptions, decimal GB and a 730-hour month. They exclude discounts and taxes and are not current regional quotes.

2. How it works: routing and name resolution work together

VNet peering connects address spaces but is not transitive routing by default. Spoke-to-spoke traffic through a hub typically needs an explicitly configured forwarding design. User-defined routes, gateway propagation and network appliances determine the actual path.

Azure Firewall can centralize application/network filtering. Its fixed deployment and processed-data charges differ by tier; optional capabilities can add meters. NAT Gateway provides outbound translation, not equivalent content inspection. The current NAT overview distinguishes zonal Standard and zone-redundant StandardV2 offerings; check regional availability and supported combinations.

Private Endpoints provide private IP access to a service subresource. DNS must resolve the service’s normal name appropriately for clients. A Private Endpoint is not a general-purpose tunnel for every service in a subscription.

Azure network architecture showing resource dependencies and the costs to evaluate.

3. Cost components: every hop needs its own rule

MeterWhat to model
FirewallDeployment hours, data processed and selected optional capacity/features
VNet peeringEligible ingress and egress at both peered ends
NATSelected gateway hours, processing and associated addresses
Private LinkEndpoint hours and inbound/outbound processed data
Hybrid connectivityVPN/ExpressRoute gateway, circuit/provider and data plan
OtherDNS, resolver resources, network logs and regional/internet transfer

Firewall pricing and VNet pricing show distinct meters. Do not add an imaginary VM compute bill for the managed Firewall on top of its deployment fee.

There is an important exception: direct traffic to/from Private Endpoints across regional VNet peering does not incur ordinary peering fees. Private Link charges and applicable transfer still remain. See the Private Link hub-and-spoke guidance and pricing FAQ. An inspected detour through a firewall/NVA needs its own path-level assessment; do not extend the direct-endpoint exception to arbitrary forwarded traffic.

4. Where things go wrong

Forcing every flow through a hub can add peering legs, inspection, latency and failure dependencies. Keep the approved inspection requirements explicit. A default route alone does not prove Private Endpoint traffic follows the intended inspection path; specific routes, endpoint policies and forwarding behavior matter.

Forced tunneling to on-premises can add a gateway/circuit dependency and a second inspection estate. Return-path asymmetry can break connections and cause retries. Firewall forced-tunneling guidance describes specific configuration constraints.

Endpoint multiplication increases fixed hourly cost. Centralized endpoints can reduce count when regional access, trust, quotas and DNS design permit sharing. Local endpoints can offer clearer isolation and ownership. Compare both against the actual access pattern.

Azure inter-zone transfer within a region is not charged as a generic zone-transfer fee. Peering, Firewall and Private Link meters are different charges. Do not import an AWS cross-AZ multiplier into this Azure model.

ExpressRoute private connectivity is not synonymous with free or universally encrypted traffic. Account for gateway/circuit/provider pricing and the selected data plan; encryption and resilience requirements need their own design.

5. Real-world example: price the direct and inspected paths

Assume a shared firewall costs $1.25/hour plus $0.016/GB. At 20,000 processed GB/month, it costs 730 × $1.25 + 20,000 × $0.016 = $1,232.50.

For a separate ordinary VM-to-VM spoke-to-spoke flow through a hub NVA, assume 10,000 GB crosses two regional peering links. Each link charges an assumed $0.01/GB at the sending end and $0.01 at the receiving end. Peering totals 10,000 × 2 × ($0.01 + $0.01) = $400. Return bytes must be added if not already included in the 10,000 GB measurement.

Do not apply that $400 formula to direct regional-peered access to a Private Endpoint. For an eligible direct endpoint flow of 10,000 processed GB, assume $0.01/GB and one endpoint at $0.01/hour: $100 + $7.30 = $107.30, before applicable additional transfer or DNS costs.

If approved routing removes 8,000 GB of unnecessary firewall processing, the variable saving is $128/month at the assumed rate. The $912.50 firewall-hour floor remains unless a deployment is actually removed. This distinction prevents overstating savings from a traffic-path change.

6. Alternatives and their tradeoffs

Use a shared regional connectivity layer when its operational and security benefits justify the baseline. Allow direct approved paths for eligible private service traffic where inspection policy permits them.

Distributed egress can shorten paths but repeats deployment floors and policy operations. Virtual WAN introduces a different hub/routing/security price model; it is not a free replacement for manually managed peering.

Private DNS zones, forwarding and resolver capacity should be designed as shared dependencies with tested failure behavior. A cheaper endpoint arrangement that cannot resolve during an outage is not a usable alternative.

7. Practical recommendations

Build a source-to-destination ledger including DNS answer, next hop, return path, bytes and each meter. Distinguish ordinary peering from direct regional Private Endpoint traffic.

Validate effective routes and packet reachability before and after changes. Test connection capacity, SNAT behavior, firewall policy and hybrid-link failure. Retain the controls required by the approved threat model.

Allocate the hub’s fixed base separately from variable processing. Review unused endpoints, redundant gateways and forced-tunnel detours with the network and security owners.

8. CloudVectra perspective: explain shared network spending

CloudVectra cost insights helps compare network spending with the applications consuming connectivity. Cost Centers supports a documented allocation for shared hubs and inspection.

Track fixed deployment cost, processed GB and business ownership separately. Billing and anomaly detection help locate changes; effective routes, DNS and network diagnostics explain the cause.

Continue the architecture series

Sources and further reading

Choose whether CloudVectra may load optional analytics. You can change this at any time.

Cookie names, providers, and retention