Skip to content

Commit 9537c3f

Browse files
Merge pull request #50028 from cherylmc/patch-1
Update 5-exercise-create-azure-vpn-gateway.yml
2 parents 91a78e1 + a7eb2ca commit 9537c3f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

learn-pr/azure/configure-network-for-azure-virtual-machines/5-exercise-create-azure-vpn-gateway.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Exercise - Create an Azure VPN gateway
44
metadata:
55
title: Exercise - Create an Azure VPN gateway
66
description: Exercise - Create an Azure VPN gateway
7-
ms.date: 11/01/2023
7+
ms.date: 04/16/2025
88
author: cherylmc
99
ms.author: cherylmc
1010
ms.topic: unit
@@ -13,4 +13,4 @@ metadata:
1313
durationInMinutes: 40
1414
content: |
1515
[!include[](includes/5-exercise-create-azure-vpn-gateway.md)]
16-
16+

learn-pr/azure/configure-network-for-azure-virtual-machines/includes/5-exercise-create-azure-vpn-gateway.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ $GWIPconfName = "gwipconf"
7070
1. Run the following command to request a dynamically assigned public IP address.
7171
7272
```PowerShell
73-
$pip = New-AzPublicIpAddress -Name $GWIPName -ResourceGroupName $ResourceGroup -Location $Location -AllocationMethod Dynamic
73+
$pip = New-AzPublicIpAddress -Name $GWIPName -ResourceGroupName $ResourceGroup -Location $Location -AllocationMethod Static -Sku Standard -Zone 1,2,3
7474
$ipconf = New-AzVirtualNetworkGatewayIpConfig -Name $GWIPconfName -Subnet $subnet -PublicIpAddress $pip
7575
```
7676
@@ -88,7 +88,7 @@ This part of the exercise can take up to 45 minutes to complete.
8888
```PowerShell
8989
New-AzVirtualNetworkGateway -Name $GWName -ResourceGroupName $ResourceGroup `
9090
-Location $Location -IpConfigurations $ipconf -GatewayType Vpn `
91-
-VpnType RouteBased -EnableBgp $false -GatewaySku VpnGw1 -VpnClientProtocol "IKEv2"
91+
-VpnType RouteBased -EnableBgp $false -GatewaySku VpnGw1AZ -VpnClientProtocol "IKEv2"
9292
```
9393
9494
1. Wait for the command output to appear.

0 commit comments

Comments
 (0)