Skip to content

Commit 21b9d63

Browse files
authored
Add Basic SKU
1 parent 03c5f7d commit 21b9d63

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

articles/vpn-gateway/create-routebased-vpn-gateway-powershell.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Learn how to create a route-based virtual network gateway for a VPN
55
author: cherylmc
66
ms.service: vpn-gateway
77
ms.topic: how-to
8-
ms.date: 03/12/2024
8+
ms.date: 05/07/2024
99
ms.author: cherylmc
1010
ms.custom: devx-track-azurepowershell
1111
---
@@ -88,12 +88,19 @@ $vnet | Set-AzVirtualNetwork
8888

8989
## <a name="PublicIP"></a>Request a public IP address
9090

91-
A VPN gateway must have an allocated public IP address. When you create a connection to a VPN gateway, this is the IP address that you specify. Use the following example to request a public IP address:
91+
A VPN gateway must have an allocated public IP address. When you create a connection to a VPN gateway, this is the IP address that you specify. Use the following example to request a public IP address when you want to create a VPN gateway using a SKU other than the VPN Gateway "Basic" SKU.
9292

9393
```azurepowershell-interactive
9494
$gwpip = New-AzPublicIpAddress -Name "VNet1GWIP" -ResourceGroupName "TestRG1" -Location "EastUS" -AllocationMethod Static
9595
```
9696

97+
If you want to use the Basic SKU for your VPN Gateway, use the following example. The Basic SKU requires a Basic public IP address that's dynamically allocated:
98+
99+
```azurepowershell-interactive
100+
$gwpip = New-AzPublicIpAddress -Name "VNet1GWIP" -ResourceGroupName "TestRG1" -Location "EastUS" -AllocationMethod Dynamic -Sku Basic
101+
```
102+
103+
97104
## <a name="GatewayIPConfig"></a>Create the gateway IP address configuration
98105

99106
The gateway configuration defines the subnet and the public IP address to use. Use the following example to create your gateway configuration:

0 commit comments

Comments
 (0)