Cloud Connectivity Costs: Peering, Transit Gateway, Virtual WAN, VPN and Dedicated Connections
Compare AWS and Azure connectivity architecture, transit processing, VPN and dedicated circuits, with capacity planning and practical centralization calculations.
Connecting two networks is easy to describe and surprisingly easy to underprice. A diagram may show one line between locations while the commercial design includes attachments, hub processing, gateways, circuit capacity, carrier charges, and redundant paths.
The right comparison is between complete architectures that meet the same routing, throughput, security, and availability requirements. This guide compares AWS VPC peering, Transit Gateway, VPN and Direct Connect with Azure VNet peering, Virtual WAN, VPN Gateway and ExpressRoute.
Worked calculations use illustrative USD rates and 730 hours per month. They isolate specified components rather than represent full provider quotes.
1. Start with topology and traffic direction
A peering connection links two networks. A transit hub routes among attached networks. A VPN provides an encrypted tunnel over an underlying network. A dedicated connection provides private connectivity through a provider and connectivity partner or physical port.
These functions can coexist. A dedicated circuit may connect to a transit service, while an encrypted tunnel provides backup. Each layer can contribute its own bill.
Before selecting a product, inventory required network pairs, address ranges, throughput in each direction, latency, routes, failure behavior, and inspection requirements. Overlapping IP ranges can rule out a simple peering design or introduce additional translation.
2. AWS connectivity options and cost units
| Option | Architecture | Cost model to examine |
|---|---|---|
| VPC peering | Direct, nontransitive connection between two VPCs | Applicable transfer; no managed transit hub fee |
| Transit Gateway | Regional routing hub with attachments and route tables | Attachment hours, processing, transfer, optional features |
| Site-to-Site VPN | IPsec connections between customer and AWS gateways | Connection hours, transfer and applicable attachment/acceleration fees |
| Direct Connect | Private connectivity through dedicated or hosted arrangements | Port/capacity, transfer, partner services and associated transit |
Peering is nontransitive: A ↔ B and B ↔ C do not automatically create A ↔ C connectivity. Transit Gateway is designed for hub routing and segmentation. A route table and propagation policy still determine which attachments can communicate.
AWS Transit Gateway pricing separates attachments from processing. For ordinary VPC-to-VPC traffic, processing is charged where traffic is sent into transit. Peering attachments have exceptions, including no processing fee for traffic entering a gateway from a peering attachment. Inter-region transfer and optional resilience features can add charges.
That means “two gateways, therefore twice the processing” is not a safe general rule. Annotate each leg with its attachment type and charged account.
3. Azure connectivity options and cost units
| Option | Architecture | Cost model to examine |
|---|---|---|
| VNet peering | Direct connectivity within or across regions | Ingress/egress peering meters at participating ends |
| Virtual WAN | Managed hubs connecting VNets, branches and gateways | Hub hours, processing, connection and scale units, security add-ons |
| VPN Gateway | Managed IPsec gateway in a VNet | Provisioned gateway SKU, transfer and configuration-specific meters |
| ExpressRoute | Private circuit connectivity to Microsoft | Circuit plan, gateway, provider connectivity and optional features |
Azure VNet peering is also nontransitive. Gateway transit lets a spoke use an eligible gateway in a peered VNet; it does not turn arbitrary peerings into a complete transit fabric. Configure the hub’s gateway-transit setting and the spoke’s remote-gateway setting according to Microsoft’s peering guidance.
Virtual WAN provides managed hub routing, but base hub fees do not include every VPN, ExpressRoute, firewall, or inter-hub charge. Consult the Virtual WAN pricing components for the deployed configuration.
4. When peering is simple—and when the mesh becomes hard
For N networks, a full mesh contains N × (N − 1) / 2 network pairs. Ten networks imply 45 pairs; 50 imply 1,225. Not every organization needs a full mesh, so calculate the actual allowed communication graph.
Peering can be effective for a small number of high-volume relationships. As the graph grows, route management, segmentation, incident response, and approval work may become more important than the number of connection objects.
Azure peering charges can make high-volume hub hairpins costly. AWS peering economics differ by zone and region. A transit service buys routing capabilities and operating simplicity; it is not automatically a lower per-GB option.
5. Worked example: attachment charges and processing
Suppose an AWS transit design has ten VPC attachments. For this hypothetical estimate, assume $0.05 per attachment-hour and $0.02 per GB sent into transit. The measured traffic has 20,000 GB of qualifying ingress to transit across all directions combined.
Attachment cost = 10 × 730 × $0.05 = $365
Processing cost = 20,000 × $0.02 = $400
Modeled transit subtotal = $765/month
The 20,000 GB already includes the measured reverse traffic; do not double it simply because connections are bidirectional. Add actual cross-region, VPN, inspection, and other applicable charges. If billing already reports each processed ingress event, do not multiply again by the number of destination attachments.
For an Azure peering sensitivity example, assume 20,000 GB of total one-way payload events, with $0.01/GB charged at the sending end and $0.01/GB at the receiving end. The modeled peering cost is 20,000 × ($0.01 + $0.01) = $400. These are illustrative rates, and the architecture does not provide all of a transit hub’s capabilities.
6. Centralized versus distributed connectivity
Centralization can reduce duplicated gateways, policies, and operational work. It can also create more hops, more billable processing, traffic concentration, and a larger failure impact.
Assume centralization saves $300/month of duplicated fixed infrastructure but adds $0.02/GB of qualifying processing. The meter-only break-even is 15,000 GB/month:
$300 fixed saving / $0.02 added processing per GB = 15,000 GB
Above that volume, the added meter exceeds the fixed saving under these assumptions. This does not include operational savings or security requirements, which can justify a central design. Compare both paths under normal and failure traffic.
If the central service is shared, allocate fixed availability costs using an agreed funding policy and variable costs using a defensible traffic driver. Do not charge a product for another team’s traffic merely because both traverse the same hub.
7. VPN: cost and capacity need the same attention
AWS Site-to-Site VPN and Azure VPN Gateway have different billing objects. AWS connection fees are not the same concept as an Azure provisioned gateway SKU. Check termination on transit, tunnel options, acceleration, public IPs, and data transfer.
Throughput figures are not a guarantee for every packet size or cryptographic configuration. Test latency, packets per second, encryption overhead, route convergence, and failover. Two configured tunnels do not establish that both can carry the required load independently.
A cheap primary path with an undersized backup is an incomplete availability design. Include backup gateway hours and test traffic in the estimate.
8. Direct Connect and ExpressRoute: the provider bill is only part
Direct Connect pricing separates the selected connection economics from other network services. Confirm whether the proposal is dedicated, hosted, pay-as-you-go, or another available commercial plan. Include partner charges, last-mile access, cross-connects, and colocation where applicable.
ExpressRoute has circuit options such as metered and unlimited data plans, plus gateway and provider costs. Local, Standard, Premium, Direct, and Global Reach capabilities have different eligibility and cost implications. “Unlimited” refers to the defined plan’s eligible transfer, not every service in the architecture.
Dedicated does not automatically mean end-to-end encrypted. Determine where TLS, IPsec, or supported link encryption is required, and include any necessary capacity or equipment.
A simple metered-versus-unlimited calculation
Assume one suitable metered circuit option costs $600/month plus $0.025/GB of eligible outbound transfer. A comparable unlimited option costs $1,100/month. Ignoring common gateway and carrier charges:
Incremental fixed cost = $1,100 − $600 = $500
Break-even eligible outbound traffic = $500 / $0.025 = 20,000 GB/month
This is a commercial sensitivity example, not a quote for an ExpressRoute SKU. Validate matching bandwidth, scope, locations, redundancy, and exclusions before applying the formula.
9. Redundancy, security and deployment gotchas
| Design issue | What to verify |
|---|---|
| Two circuits share one physical failure point | Carrier diversity, locations, devices and access paths |
| Route propagation permits excessive access | Segmentation and explicit allowed routes |
| Return traffic bypasses the inspection path | Route symmetry for stateful appliances |
| Hub capacity fits normal traffic only | Failure-mode throughput and headroom |
| Global peering is estimated at local rates | Region pair and charged ends |
| Backup connectivity exists but is untested | Failover, recovery time and application behavior |
| IP ranges overlap | Renumbering, supported translation or alternative service access |
Security groups, NSGs, firewalls and application authorization remain necessary. Private routing alone is not authorization. Validate both allowed and denied paths after changes.
10. How CloudVectra helps
CloudVectra cost analysis helps compare shared connectivity service costs across AWS and Azure. Cost Centers put those costs into business ownership and budget discussions.
Use provider routing and circuit telemetry to establish the usage driver, then apply an agreed allocation policy. The cost allocation guide explains how to keep direct and shared spending reconciled.