Skip to content

Commit 80694d2

Browse files
author
Michael Bender
committed
Update zonal
1 parent 0af4232 commit 80694d2

File tree

2 files changed

+15
-16
lines changed

2 files changed

+15
-16
lines changed

articles/load-balancer/scripts/load-balancer-linux-cli-sample-zonal-frontend.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ ms.devlang: azurecli
1212
ms.topic: sample
1313
ms.tgt_pltfrm:
1414
ms.workload: infrastructure
15-
ms.date: 03/04/2022
15+
ms.date: 02/28/2023
1616
ms.author: mbender
17-
ms.custom: devx-track-azurecli
17+
ms.custom: devx-track-azurecli, engagement-fy23
1818
---
1919

2020
# Azure CLI script example: Load balance traffic to VMs within a specific availability zone

articles/load-balancer/scripts/load-balancer-windows-powershell-sample-nlb.md

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,15 @@ author: mbender-ms
88
ms.service: load-balancer
99
ms.devlang: powershell
1010
ms.topic: sample
11-
ms.tgt_pltfrm:
1211
ms.workload: infrastructure
13-
ms.date: 04/20/2018
12+
ms.date: 02/28/2023
1413
ms.author: mbender
15-
ms.custom: devx-track-azurepowershell
14+
ms.custom: devx-track-azurepowershell, engagement-fy23
1615
---
1716

1817
# Azure PowerShell script example: Load balance traffic to VMs for high availability
1918

20-
This Azure PowerShell script example creates everything needed to run several Windows 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 PowerShell script example creates everything needed to run several Windows 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.
2120

2221
If needed, install the Azure PowerShell using the instruction found in the [Azure PowerShell guide](/powershell/azure/), and then run `Connect-AzAccount` to create a connection with Azure.
2322

@@ -43,24 +42,24 @@ This script uses the following commands to create a resource group, virtual mach
4342

4443
| Command | Notes |
4544
|---|---|
46-
| [New-AzResourceGroup](/powershell/module/az.resources/new-azresourcegroup) | Creates a resource group in which all resources are stored. |
47-
| [New-AzVirtualNetworkSubnetConfig](/powershell/module/az.network/new-azvirtualnetworksubnetconfig) | Creates a subnet configuration. This configuration is used with the virtual network creation process. |
45+
| [New-AzResourceGroup](/powershell/module/az.resources/new-azresourcegroup) | Creates a resource group for storing resources. |
46+
| [New-AzVirtualNetworkSubnetConfig](/powershell/module/az.network/new-azvirtualnetworksubnetconfig) | Creates a subnet configuration. This configuration works with the virtual network creation process. |
4847
| [New-AzVirtualNetwork](/powershell/module/az.network/new-azvirtualnetwork) | Creates an Azure virtual network and subnet. |
4948
| [New-AzPublicIpAddress](/powershell/module/az.network/new-azpublicipaddress) | Creates a public IP address with a static IP address and an associated DNS name. |
5049
| [New-AzLoadBalancer](/powershell/module/az.network/new-azloadbalancer) | Creates an Azure load balancer. |
51-
| [New-AzLoadBalancerProbeConfig](/powershell/module/az.network/new-azloadbalancerprobeconfig) | 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-
| [New-AzLoadBalancerRuleConfig](/powershell/module/az.network/new-azloadbalancerruleconfig) | Creates an 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 load balancer set. |
53-
| [New-AzLoadBalancerInboundNatRuleConfig](/powershell/module/az.network/new-azloadbalancerinboundnatruleconfig) | Creates a 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+
| [New-AzLoadBalancerProbeConfig](/powershell/module/az.network/new-azloadbalancerprobeconfig) | Creates a load balancer probe. A load balancer probe monitors each VM in the load balancer set. If any VM becomes inaccessible, no traffic routes to the VM. |
51+
| [New-AzLoadBalancerRuleConfig](/powershell/module/az.network/new-azloadbalancerruleconfig) | Creates a load balancer rule. In this sample, you create 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+
| [New-AzLoadBalancerInboundNatRuleConfig](/powershell/module/az.network/new-azloadbalancerinboundnatruleconfig) | Creates a 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. |
5453
| [New-AzNetworkSecurityGroup](/powershell/module/az.network/new-aznetworksecuritygroup) | Creates a network security group (NSG), which is a security boundary between the internet and the virtual machine. |
55-
| [New-AzNetworkSecurityRuleConfig](/powershell/module/az.network/new-aznetworksecurityruleconfig) | Creates an NSG rule to allow inbound traffic. In this sample, port 22 is opened for SSH traffic. |
54+
| [New-AzNetworkSecurityRuleConfig](/powershell/module/az.network/new-aznetworksecurityruleconfig) | Creates an NSG rule to allow inbound traffic. This sample creates a rule opening port 22 for SSH traffic. |
5655
| [New-AzNetworkInterface](/powershell/module/az.network/new-aznetworkinterface) | Creates a virtual network card and attaches it to the virtual network, subnet, and NSG. |
57-
| [New-AzAvailabilitySet](/powershell/module/az.compute/new-azavailabilityset) | 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-
| [New-AzVMConfig](/powershell/module/az.compute/new-azvmconfig) | Creates a VM configuration. This configuration includes information such as VM name, operating system, and administrative credentials. The configuration is used during VM creation. |
59-
| [New-AzVM](/powershell/module/az.compute/new-azvm) | 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+
| [New-AzAvailabilitySet](/powershell/module/az.compute/new-azavailabilityset) | 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. |
57+
| [New-AzVMConfig](/powershell/module/az.compute/new-azvmconfig) | Creates a VM configuration used during VM creation. This configuration includes information such as VM name, operating system, and administrative credentials. |
58+
| [New-AzVM](/powershell/module/az.compute/new-azvm) | 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. |
6059
| [Remove-AzResourceGroup](/powershell/module/az.resources/remove-azresourcegroup) | Deletes a resource group including all nested resources. |
6160

6261
## Next steps
6362

6463
For more information on the Azure PowerShell, see [Azure PowerShell documentation](/powershell/azure/).
6564

66-
Additional networking PowerShell script samples can be found in the [Azure Networking Overview documentation](../powershell-samples.md?toc=%2fazure%2fnetworking%2ftoc.json).
65+
Find more networking PowerShell script samples in the [Azure Networking Overview documentation](../powershell-samples.md?toc=%2fazure%2fnetworking%2ftoc.json).

0 commit comments

Comments
 (0)