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/load-balancer/basic/quickstart-basic-internal-load-balancer-cli.md
+2-42Lines changed: 2 additions & 42 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -224,12 +224,11 @@ Create two network interfaces with [az network nic create](/cli/azure/network/ni
224
224
225
225
Create the availability set with [az vm availability-set create](/cli/azure/vm/availability-set#az_vm_availability_set_create).
226
226
227
-
```azurecli-interactive
227
+
```azurecli
228
228
az vm availability-set create \
229
229
--name myAvailabilitySet \
230
230
--resource-group CreateIntLBQS-rg \
231
-
--location westus3
232
-
231
+
--location westus3
233
232
```
234
233
235
234
### Create the virtual machines
@@ -272,45 +271,6 @@ Add the virtual machines to the backend pool with [az network nic ip-config addr
272
271
done
273
272
274
273
```
275
-
## Create NAT gateway
276
-
277
-
To provide outbound internet access for resources in the backend pool, create a NAT gateway.
278
-
279
-
### Create public IP
280
-
281
-
Use [az network public-ip create](/cli/azure/network/public-ip#az_network_public_ip_create) to create a single IP for the outbound connectivity.
282
-
283
-
```azurecli
284
-
az network public-ip create \
285
-
--resource-group CreateIntLBQS-rg \
286
-
--name myNATgatewayIP \
287
-
--sku Standard \
288
-
--zone 1 2 3
289
-
```
290
-
291
-
### Create NAT gateway resource
292
-
293
-
Use [az network nat gateway create](/cli/azure/network/nat#az_network_nat_gateway_create) to create the NAT gateway resource. The public IP created in the previous step is associated with the NAT gateway.
294
-
295
-
```azurecli
296
-
az network nat gateway create \
297
-
--resource-group CreateIntLBQS-rg \
298
-
--name myNATgateway \
299
-
--public-ip-addresses myNATgatewayIP \
300
-
--idle-timeout 10
301
-
```
302
-
303
-
### Associate NAT gateway with subnet
304
-
305
-
Configure the source subnet in virtual network to use a specific NAT gateway resource with [az network vnet subnet update](/cli/azure/network/vnet/subnet#az_network_vnet_subnet_update).
0 commit comments