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/scripts/load-balancer-linux-cli-sample-zone-redundant-frontend.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,14 +8,14 @@ ms.service: load-balancer
8
8
ms.devlang: azurecli
9
9
ms.topic: sample
10
10
ms.workload: infrastructure
11
-
ms.date: 06/14/2018
11
+
ms.date: 02/20/2023
12
12
ms.author: mbender
13
-
ms.custom: devx-track-azurecli
13
+
ms.custom: devx-track-azurecli, engagement-fy23
14
14
---
15
15
16
16
# Azure CLI script example: Load balance VMs across availability zones
17
17
18
-
This Azure CLI script example creates everything needed to run several Ubuntu virtual machines configured in a highly available and load balanced configuration. After running the script, you will have three virtual machines across all availability zones within a region that are accessible through an Azure Standard Load Balancer.
18
+
This Azure CLI script example creates everything needed to run several Ubuntu virtual machines configured in a highly available and load balanced configuration. After running the script, you'll have three virtual machines across all availability zones within a region that are accessible through an Azure Standard Load Balancer.
@@ -43,21 +43,21 @@ This script uses the following commands to create a resource group, virtual mach
43
43
44
44
| Command | Notes |
45
45
|---|---|
46
-
|[az group create](/cli/azure/group#az-group-create)| Creates a resource group in which all resources are stored. |
46
+
|[az group create](/cli/azure/group#az-group-create)| Creates a resource group for storing all resources. |
47
47
|[az network vnet create](/cli/azure/network/vnet#az-network-vnet-create)| Creates an Azure virtual network and subnet. |
48
48
|[az network public-ip create](/cli/azure/network/public-ip#az-network-public-ip-create)| Creates a public IP address with a static IP address and an associated DNS name. |
49
49
|[az network lb create](/cli/azure/network/lb#az-network-lb-create)| Creates an Azure load balancer. |
50
-
|[az network lb probe create](/cli/azure/network/lb/probe#az-network-lb-probe-create)| Creates a load balancer probe. A load balancer probe is used to monitor each VM in the load balancer set. If any VM becomes inaccessible, traffic is not routed to the VM. |
51
-
|[az network lb rule create](/cli/azure/network/lb/rule#az-network-lb-rule-create)| Creates a load balancer rule. In this sample, a rule is created for port 80. As HTTP traffic arrives at the load balancer, it is routed to port 80 of the VMs included in a load-balanced set. |
52
-
|[az network lb inbound-nat-rule create](/cli/azure/network/lb/inbound-nat-rule#az-network-lb-inbound-nat-rule-create)| Creates load balancer Network Address Translation (NAT) rule. NAT rules map a port of the load balancer to a port on a VM. In this sample, a NAT rule is created for SSH traffic to each VM in the load balancer set. |
50
+
|[az network lb probe create](/cli/azure/network/lb/probe#az-network-lb-probe-create)| Creates a load balancer probe. A load balancer probe monitors each VM in the load balancer set. If any VM becomes inaccessible, traffic no longer routes to the VM. |
51
+
|[az network lb rule create](/cli/azure/network/lb/rule#az-network-lb-rule-create)| Creates a load balancer rule. This sample creates a rule for port 80. As HTTP traffic arrives at the load balancer, traffic routes to port 80 on one of the VMs in the LB set. |
52
+
|[az network lb inbound-nat-rule create](/cli/azure/network/lb/inbound-nat-rule#az-network-lb-inbound-nat-rule-create)| Creates load balancer Network Address Translation (NAT) rule. NAT rules map a port of the load balancer to a port on a VM. This sample creates a NAT rule for SSH traffic to each VM in the load balancer set. |
53
53
|[az network nsg create](/cli/azure/network/nsg#az-network-nsg-create)| Creates a network security group (NSG), which is a security boundary between the internet and the virtual machine. |
54
-
|[az network nsg rule create](/cli/azure/network/nsg/rule#az-network-nsg-rule-create)| Creates an NSG rule to allow inbound traffic. In this sample, port 22 is opened for SSH traffic. |
54
+
|[az network nsg rule create](/cli/azure/network/nsg/rule#az-network-nsg-rule-create)| Creates an NSG rule to allow inbound traffic. This sample creates a rule opening port 22 for SSH traffic. |
55
55
|[az network nic create](/cli/azure/network/nic#az-network-nic-create)| Creates a virtual network card and attaches it to the virtual network, subnet, and NSG. |
56
-
|[az vm create](/cli/azure/vm#az-vm-create)| Creates the virtual machine and connects it to the network card, virtual network, subnet, and NSG. This command also specifies the virtual machine image to be used and administrative credentials. |
56
+
|[az vm create](/cli/azure/vm#az-vm-create)| Creates the virtual machine and connects it to the network card, virtual network, subnet, and NSG. This command also specifies the virtual machine image used and administrative credentials. |
57
57
|[az group delete](/cli/azure/vm/extension#az-vm-extension-set)| Deletes a resource group including all nested resources. |
58
58
59
59
## Next steps
60
60
61
61
For more information on the Azure CLI, see [Azure CLI documentation](/cli/azure).
62
62
63
-
Additional Azure Networking CLI script samples can be found in the [Azure Networking documentation](../cli-samples.md).
63
+
Find More Azure Networking CLI script sample in the [Azure Networking documentation](../cli-samples.md).
0 commit comments