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/application-gateway/quick-create-cli.md
+10-27Lines changed: 10 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ services: application-gateway
6
6
author: mbender-ms
7
7
ms.service: azure-application-gateway
8
8
ms.topic: quickstart
9
-
ms.date: 07/11/2025
9
+
ms.date: 02/25/2026
10
10
ms.author: mbender
11
11
ms.custom:
12
12
- mvc
@@ -69,44 +69,26 @@ az network vnet subnet create \
69
69
--resource-group myResourceGroupAG \
70
70
--vnet-name myVNet \
71
71
--address-prefix 10.21.1.0/24
72
-
az network vnet subnet create \
73
-
--name AzureBastionSubnet \
74
-
--resource-group myResourceGroupAG \
75
-
--vnet-name myVNet \
76
-
--address-prefix 10.21.2.0/24
77
72
az network public-ip create \
78
73
--resource-group myResourceGroupAG \
79
74
--name myAGPublicIPAddress \
80
75
--allocation-method Static \
81
76
--sku Standard
82
77
```
83
78
84
-
## Deploy Azure Bastion
85
-
86
-
Azure Bastion uses your browser to connect to VMs in your virtual network over secure shell (SSH) or remote desktop protocol (RDP) by using their private IP addresses. The VMs don't need public IP addresses, client software, or special configuration. For more information about Azure Bastion, see [Azure Bastion](/azure/bastion/bastion-overview).
Create a public IP address for the Azure Bastion host with `az network public-ip create`. Then create the Azure Bastion host with `az network bastion create`.
81
+
Create a network security group with [az network nsg create](/cli/azure/network/nsg#az-network-nsg-create). The default rules in the network security group block all inbound access from the internet.
92
82
93
83
```azurecli-interactive
94
-
az network public-ip create \
95
-
--resource-group myResourceGroupAG \
96
-
--name myBastionIP \
97
-
--location eastus \
98
-
--allocation-method Static \
99
-
--sku Standard
100
-
az network bastion create \
84
+
az network nsg create \
101
85
--resource-group myResourceGroupAG \
102
-
--name myBastionHost \
103
-
--vnet-name myVNet \
104
-
--public-ip-address myBastionIP \
105
-
--location eastus \
106
-
--sku Basic \
107
-
--no-wait
86
+
--name myNSG
108
87
```
109
88
89
+
> [!NOTE]
90
+
> The default rules of the network security group block all inbound access from the internet, including SSH. To connect to the virtual machine, use Azure Bastion. For more information, see [Quickstart: Deploy Azure Bastion with default settings](../bastion/quickstart-host-portal.md).
91
+
110
92
## Create the backend servers
111
93
112
94
A backend can have NICs, virtual machine scale sets, public IP addresses, internal IP addresses, fully qualified domain names (FQDN), and multitenant backends like Azure App Service. In this example, you create two virtual machines to use as backend servers for the application gateway. You also install NGINX on the virtual machines to test the application gateway.
0 commit comments