Skip to content

Commit 6d2e136

Browse files
author
Michael Bender
committed
cli-sample-nlb
1 parent 2a09547 commit 6d2e136

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

articles/load-balancer/scripts/load-balancer-linux-cli-sample-nlb.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ ms.service: load-balancer
99
ms.devlang: azurecli
1010
ms.topic: sample
1111
ms.workload: infrastructure
12-
ms.date: 03/04/2022
12+
ms.date: 02/28/2023
1313
ms.author: mbender
14-
ms.custom: devx-track-azurecli
14+
ms.custom: devx-track-azurecli, engagement-fy23
1515
---
1616

1717
# Azure CLI script example: Load balance traffic to VMs for high availability
1818

19-
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, joined to an Azure Availability Set, and accessible through an Azure Load Balancer.
19+
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, joined to an Azure Availability Set, and accessible through an Azure Load Balancer.
2020

2121
[!INCLUDE [quickstarts-free-trial-note](../../../includes/quickstarts-free-trial-note.md)]
2222

@@ -44,22 +44,22 @@ This script uses the following commands to create a resource group, virtual mach
4444

4545
| Command | Notes |
4646
|---|---|
47-
| [az group create](/cli/azure/group#az-group-create) | Creates a resource group in which all resources are stored. |
47+
| [az group create](/cli/azure/group#az-group-create) | Creates a resource group for storing all resources. |
4848
| [az network vnet create](/cli/azure/network/vnet#az-network-vnet-create) | Creates an Azure virtual network and subnet. |
4949
| [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. |
5050
| [az network lb create](/cli/azure/network/lb#az-network-lb-create) | Creates an Azure load balancer. |
51-
| [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. |
52-
| [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 one of the VMs in the LB set. |
53-
| [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. |
51+
| [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. |
52+
| [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. |
53+
| [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. |
5454
| [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. |
55-
| [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. |
55+
| [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. |
5656
| [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. |
57-
| [az vm availability-set create](/cli/azure/network/lb/rule#az-network-lb-rule-create) | Creates an availability set. Availability sets ensure application uptime by spreading the virtual machines across physical resources such that if failure occurs, the entire set is not effected. |
58-
| [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. |
57+
| [az vm availability-set create](/cli/azure/network/lb/rule#az-network-lb-rule-create) | Creates an availability set. Availability sets ensure application uptime by spreading the virtual machines across physical resources so a failure doesn't affect the entire set. |
58+
| [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. |
5959
| [az group delete](/cli/azure/vm/extension#az-vm-extension-set) | Deletes a resource group including all nested resources. |
6060

6161
## Next steps
6262

6363
For more information on the Azure CLI, see [Azure CLI documentation](/cli/azure).
6464

65-
Additional Azure Networking CLI script samples can be found in the [Azure Networking documentation](../cli-samples.md).
65+
Find more Azure Networking CLI script samples in the [Azure Networking documentation](../cli-samples.md).

0 commit comments

Comments
 (0)