@@ -182,7 +182,7 @@ Azure Bastion uses your browser to connect to VMs in your virtual network over S
182182 New-AzPublicIpAddress @ip
183183 ```
184184
185- 1. Use the [New-AzBastion](/powershell/module/az.network/new-azbastion) command to create a new standard Bastion host in **AzureBastionSubnet**:
185+ 1. Use the [New-AzBastion](/powershell/module/az.network/new-azbastion) command to create a new Basic SKU Bastion host in **AzureBastionSubnet**:
186186
187187 ```azurepowershell-interactive
188188 $bastion = @{
@@ -241,6 +241,39 @@ Azure Bastion uses your browser to connect to VMs in your virtual network over S
241241 --service-endpoints Microsoft.Storage
242242 ```
243243
244+ 1. Create a Bastion subnet with [az network vnet subnet create](/cli/azure/network/vnet/subnet).
245+
246+ ```azurecli-interactive
247+ az network vnet subnet create \
248+ --vnet-name vnet-1 \
249+ --resource-group test-rg \
250+ --name AzureBastionSubnet \
251+ --address-prefix 10.0.2.0/26
252+ ```
253+
254+ 1. Create a public IP address for the Azure Bastion host with [az network public-ip create](/cli/azure/network/public-ip).
255+
256+ ```azurecli-interactive
257+ az network public-ip create \
258+ --resource-group test-rg \
259+ --name public-ip-bastion \
260+ --sku Standard \
261+ --location westus2
262+ ```
263+
264+ 1. Create an Azure Bastion host with [az network bastion create](/cli/azure/network/bastion).
265+
266+ ```azurecli-interactive
267+ az network bastion create \
268+ --resource-group test-rg \
269+ --name bastion \
270+ --vnet-name vnet-1 \
271+ --public-ip-address public-ip-bastion \
272+ --location westus2 \
273+ --sku Basic \
274+ --no-wait
275+ ```
276+
244277---
245278
246279## Restrict network access for a subnet
0 commit comments