Azure VPN Gateway Performance

Understand, measure, and optimize the performance of your Azure VPN Gateway connections.

This article provides essential information on understanding the performance characteristics of Azure VPN Gateway. We'll cover factors that influence performance, how to monitor your gateway, and best practices for optimization.

Key Performance Factors

Several factors can impact the throughput and latency of your VPN Gateway connections:

Understanding Throughput and Latency

Throughput is the amount of data that can be transferred over a period, typically measured in Mbps or Gbps. For VPN Gateway, this is often measured as the aggregate throughput of all tunnels.

Latency is the time it takes for a data packet to travel from source to destination and back (Round Trip Time - RTT). Lower latency is crucial for real-time applications.

Metric Description Impacted By
Throughput (Aggregate) Total data transfer rate across all tunnels. Gateway SKU, number of tunnels, encryption.
Latency (RTT) Time for a packet to travel and return. Network distance, congestion, gateway processing.
Packet Loss Percentage of packets that do not reach their destination. Network congestion, device issues.

Monitoring VPN Gateway Performance

Azure Monitor is your primary tool for tracking VPN Gateway performance. Key metrics to watch include:

Tip:

Set up alerts in Azure Monitor for critical metrics like high bandwidth utilization or increased latency to proactively identify potential issues.

Optimizing VPN Gateway Performance

To achieve optimal performance, consider the following strategies:

1. Choose the Right Gateway SKU

Select a SKU that aligns with your expected throughput requirements. Refer to the Azure VPN Gateway SKUs documentation for details on available options.

2. Optimize Tunnel Configuration

3. Manage MTU Settings

Ensure consistent MTU settings across your network to prevent fragmentation. VPN Gateway typically uses a default MTU, but it's crucial to verify and adjust if necessary. For detailed guidance, see Optimizing MTU for VPN Gateway.

4. Load Balancing and Redundancy

For high availability and increased throughput, consider using multiple VPN Gateways or Azure Virtual WAN, which offers a global transit network.

5. Network Path Optimization

Minimize hops and congestion on the network path between your on-premises network and Azure. If you experience high latency, investigate your ISP's routing and your on-premises network infrastructure.

Troubleshooting Common Performance Issues

Important:

Before making significant configuration changes, document your current settings and perform changes during off-peak hours.

Low Throughput

High Latency

Best Practices Summary

By understanding these factors and utilizing Azure's monitoring and optimization tools, you can ensure your Azure VPN Gateway provides reliable and performant connectivity for your organization.