Skip to content

Commit e4587df

Browse files
committed
new article
1 parent dc2e14f commit e4587df

File tree

2 files changed

+73
-0
lines changed

2 files changed

+73
-0
lines changed

articles/vpn-gateway/TOC.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@
3131
href: vpn-gateway-about-vpn-gateway-settings.md
3232
- name: About gateway SKUs
3333
href: about-gateway-skus.md
34+
- name: About active-active mode gateways
35+
href: about-active-active-gateways.md
3436
- name: About VPN devices
3537
href: vpn-gateway-about-vpn-devices.md
3638
- name: About cryptographic requirements
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
---
2+
title: 'About active-active VPN gateways'
3+
titleSuffix: Azure VPN Gateway
4+
description: Learn about active-active VPN gateways, including configuration and design.
5+
author: cherylmc
6+
ms.service: vpn-gateway
7+
ms.topic: concept-article
8+
ms.date: 07/22/2024
9+
ms.author: cherylmc
10+
11+
---
12+
# About active-active mode VPN gateways
13+
14+
Azure VPN gateways can be configured as active-standby or active-active. This article helps you better understand active-active gateway configurations and why you might want to create a gateway in active-active mode.
15+
16+
## Why create an active-active gateway?
17+
18+
VPN gateways consist of two instances in an active-standby configuration unless you specify active-active mode. In active-standby mode, for any planned maintenance or unplanned disruption that happens to the active instance, behavior is as follows:
19+
20+
* **S2S and VNet-to-VNet**: The standby instance takes over automatically (failover), and resumes the site-to-site (S2S) VPN or VNet-to-VNet connections. This switch over causes a brief interruption. For planned maintenance, connectivity is restored quickly. For unplanned issues, the connection recovery is longer.
21+
* **P2S**: For point-to-site (P2S) VPN client connections to the gateway, P2S connections are disconnected. Users need to reconnect from the client machines.
22+
23+
To avoid this interruption, you can always create your gateway in **active-active** mode, or you can change an active-standby gateway to active-active.
24+
25+
### Active-active design
26+
27+
In an active-active configuration, both instances of the gateway VMs establish S2S VPN tunnels to your on-premises VPN device, as shown the following diagram:
28+
29+
:::image type="content" source="./media/vpn-gateway-highlyavailable/active-active.png" alt-text="Diagram shows an on-premises site with private IP subnets and an on-premises gateway connected to two VPN gateway instances.":::
30+
31+
In this configuration, each Azure gateway instance has a unique public IP address, and each will establish an IPsec/IKE S2S VPN tunnel to your on-premises VPN device specified in your local network gateway and connection. Both VPN tunnels are actually part of the same connection. You'll still need to configure your on-premises VPN device to accept or establish two S2S VPN tunnels to those two Azure VPN gateway public IP addresses.
32+
33+
Because the Azure gateway instances are in an active-active configuration, the traffic from your Azure virtual network to your on-premises network are routed through both tunnels simultaneously, even if your on-premises VPN device might favor one tunnel over the other. For a single TCP or UDP flow, Azure attempts to use the same tunnel when sending packets to your on-premises network. However, your on-premises network could use a different tunnel to send packets to Azure.
34+
35+
When a planned maintenance or unplanned event happens to one gateway instance, the IPsec tunnel from that instance to your on-premises VPN device will be disconnected. The corresponding routes on your VPN devices should be removed or withdrawn automatically so that the traffic will be switched over to the other active IPsec tunnel. On the Azure side, the switch over will happen automatically from the affected instance to the other active instance.
36+
37+
> [!NOTE]
38+
> If only one tunnel is connected, or both the tunnels are connected to one instance in active-active mode, the tunnel will go down during maintenance.
39+
40+
### Dual-redundancy active-active design
41+
42+
The most reliable design option is to combine the active-active gateways on both your network and Azure, as shown in the following diagram.
43+
44+
:::image type="content" source="./media/vpn-gateway-highlyavailable/dual-redundancy.png" alt-text="Diagram shows a Dual Redundancy scenario.":::
45+
46+
In this configuration, you create and set up the Azure VPN gateway in an active-active configuration, and create two local network gateways and two connections for your two on-premises VPN devices. The result is a full mesh connectivity of four IPsec tunnels between your Azure virtual network and your on-premises network.
47+
48+
All gateways and tunnels are active from the Azure side, so the traffic is spread among all four tunnels simultaneously, although each TCP or UDP flow will follow the same tunnel or path from the Azure side. Even though by spreading the traffic, you might see slightly better throughput over the IPsec tunnels, the primary goal of this configuration is for high availability. And due to the statistical nature of the spreading, it's difficult to provide the measurement on how different application traffic conditions affect the aggregate throughput.
49+
50+
This topology requires two local network gateways and two connections to support the pair of on-premises VPN devices. For more information, see [About highly available connectivity](vpn-gateway-highlyavailable.md).
51+
52+
## Configure an active-active gateway
53+
54+
You can configure an active-active gateway using the [Azure portal](tutorial-create-gateway-portal.md), PowerShell, or CLI. You can also change an active-standby gateway to active-active mode. For steps, see [Change a gateway to active-active](gateway-change-active-active.md).
55+
56+
An active-active gateway has slightly different configuration requirements than an active-standby gateway.
57+
58+
* You can't configure an active-active gateway using the Basic gateway SKU.
59+
* The VPN must be route based. It can't be policy based.
60+
* Two public IP addresses are required. Both must be **Standard SKU** public IP addresses that are assigned as **Static**.
61+
* An active-active gateway configuration costs the same as an active-standby configuration. However, active-active configurations require two public IP addresses instead of one. See [IP Address pricing](https://azure.microsoft.com/pricing/details/ip-addresses/).
62+
63+
## Reset an active-active gateway
64+
65+
If you need to reset an active-active gateway, you can reset both instances using the portal. You can also use PowerShell or CLI to reset each gateway instance separately using instance VIPS. See [Reset a connection or a gateway](reset-gateway.md#ps).
66+
67+
## Next steps
68+
69+
* [Configure an active-active gateway - Azure portal](tutorial-create-gateway-portal.md)
70+
* [Change a gateway to active-active mode](gateway-change-active-active.md)
71+
* [Reset an active-active gateway](reset-gateway.md#ps)

0 commit comments

Comments
 (0)