You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/virtual-network/tutorial-connect-virtual-networks.md
-59Lines changed: 0 additions & 59 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -368,65 +368,6 @@ az network vnet create \
368
368
369
369
---
370
370
371
-
### [Portal](#tab/portal)
372
-
373
-
Create a virtual network with [az network vnet create](/cli/azure/network/vnet#az-network-vnet-create). The following example creates a virtual network named **vnet-1** with the address prefix **10.0.0.0/16**.
374
-
375
-
```azurecli-interactive
376
-
az network vnet create \
377
-
--name vnet-1 \
378
-
--resource-group test-rg \
379
-
--address-prefixes 10.0.0.0/16 \
380
-
--subnet-name subnet-1 \
381
-
--subnet-prefix 10.0.0.0/24
382
-
```
383
-
384
-
Create the Bastion subnet with [az network vnet subnet create](/cli/azure/network/vnet/subnet).
385
-
386
-
```azurecli-interactive
387
-
# Create a bastion subnet.
388
-
az network vnet subnet create \
389
-
--vnet-name vnet-1 \
390
-
--resource-group test-rg \
391
-
--name AzureBastionSubnet \
392
-
--address-prefix 10.0.1.0/24
393
-
```
394
-
395
-
Create a public IP address for the Azure Bastion host with [az network public-ip create](/cli/azure/network/public-ip). The following example creates a public IP address named *public-ip-bastion* in the *vnet-1* virtual network.
396
-
397
-
```azurecli-interactive
398
-
az network public-ip create \
399
-
--resource-group test-rg \
400
-
--name public-ip-bastion \
401
-
--location eastus2 \
402
-
--allocation-method Static \
403
-
--sku Standard
404
-
```
405
-
406
-
Create an Azure Bastion host with [az network bastion create](/cli/azure/network/bastion). The following example creates an Azure Bastion host named *bastion* in the *AzureBastionSubnet* subnet of the *vnet-1* virtual network. Azure Bastion is used to securely connect Azure virtual machines without exposing them to the public internet.
0 commit comments