Skip to content

Commit 82d80e9

Browse files
committed
add AEZ
1 parent 1ec558e commit 82d80e9

File tree

1 file changed

+25
-3
lines changed

1 file changed

+25
-3
lines changed

articles/expressroute/expressroute-howto-add-gateway-resource-manager.md

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services: expressroute
55
author: duongau
66
ms.service: azure-expressroute
77
ms.topic: how-to
8-
ms.date: 09/11/2023
8+
ms.date: 12/03/2024
99
ms.author: duau
1010
ms.custom: devx-track-azurepowershell, template-tutorial
1111
---
@@ -36,7 +36,7 @@ The steps for this task use a VNet based on the values in the following configur
3636
| Subnet1 Name | *FrontEnd* |
3737
| Gateway Subnet name | *GatewaySubnet* |
3838
| Gateway Subnet address space | *192.168.200.0/26* |
39-
| Region | *East US* |
39+
| Region | *West US* |
4040
| Gateway Name | *GW* |
4141
| Gateway IP Name | *GWIP* |
4242
| Gateway IP configuration Name | *gwipconf* |
@@ -55,7 +55,19 @@ The steps for this task use a VNet based on the values in the following configur
5555

5656
```azurepowershell-interactive
5757
$RG = "TestRG"
58-
$Location = "East US"
58+
$Location = "West US"
59+
$GWName = "GW"
60+
$GWIPName = "GWIP"
61+
$GWIPconfName = "gwipconf"
62+
$VNetName = "TestVNet"
63+
```
64+
65+
If you want to create the gateway in an Azure Extended Zone, declare the following variables.
66+
67+
```azurepowershell-interactive
68+
$RG = "TestRG"
69+
$Location = "West US"
70+
$ExtendedLocation = “losangeles”
5971
$GWName = "GW"
6072
$GWIPName = "GWIP"
6173
$GWIPconfName = "gwipconf"
@@ -90,6 +102,11 @@ The steps for this task use a VNet based on the values in the following configur
90102

91103
```azurepowershell-interactive
92104
$pip = New-AzPublicIpAddress -Name $GWIPName -ResourceGroupName $RG -Location $Location -AllocationMethod Static -SKU Standard
105+
```
106+
If you want to create the gateway in an Azure Extended Zone, request a public IP address in an Extended Zone using the **-ExtendedLocation** parameter.
107+
108+
```azurepowershell-interactive
109+
$pip = New-AzPublicIpAddress -Name $GWIPName -ResourceGroupName $RG -Location $Location -AllocationMethod Static -SKU Standard -ExtendedLocation $ExtendedLocation
93110
```
94111

95112
> [!NOTE]
@@ -105,6 +122,11 @@ The steps for this task use a VNet based on the values in the following configur
105122
```azurepowershell-interactive
106123
New-AzVirtualNetworkGateway -Name $GWName -ResourceGroupName $RG -Location $Location -IpConfigurations $ipconf -GatewayType Expressroute -GatewaySku Standard
107124
```
125+
If you want to create the gateway in an Azure Extended Zone, add the **-ExtendedLocation** parameter.
126+
127+
```azurepowershell-interactive
128+
New-AzVirtualNetworkGateway -Name $GWName -ResourceGroupName $RG -Location $Location -ExtendedLocation $ExtendedLocation -IpConfigurations $ipconf -GatewayType Expressroute -GatewaySku Standard
129+
```
108130

109131
## Verify the gateway was created
110132

0 commit comments

Comments
 (0)