|
1 | 1 | ---
|
2 | 2 | title: Load balance multiple websites - Azure PowerShell - Azure Load Balancer
|
3 |
| -description: This Azure PowerShell script example hows how to load balance multiple websites to the same virtual machine |
| 3 | +description: This Azure PowerShell script example shows how to load balance multiple websites to the same virtual machine |
4 | 4 | documentationcenter: load-balancer
|
5 | 5 | author: mbender-ms
|
6 | 6 | ms.service: load-balancer
|
7 | 7 | ms.devlang: powershell
|
8 | 8 | ms.topic: sample
|
9 | 9 | ms.workload: infrastructure
|
10 |
| -ms.date: 04/20/2018 |
| 10 | +ms.date: 02/28/2023 |
11 | 11 | ms.author: mbender
|
12 |
| -ms.custom: devx-track-azurepowershell |
| 12 | +ms.custom: devx-track-azurepowershell, engagement-fy23 |
13 | 13 | ---
|
14 | 14 |
|
15 | 15 | # Azure PowerShell script example: Load balance multiple websites
|
@@ -40,24 +40,24 @@ This script uses the following commands to create a resource group, virtual netw
|
40 | 40 |
|
41 | 41 | | Command | Notes |
|
42 | 42 | |---|---|
|
43 |
| -| [New-AzResourceGroup](/powershell/module/az.resources/new-azresourcegroup) | Creates a resource group in which all resources are stored. | |
| 43 | +| [New-AzResourceGroup](/powershell/module/az.resources/new-azresourcegroup) | Creates a resource group for storing all resources. | |
44 | 44 | | [New-AzAvailabilitySet](/powershell/module/az.compute/new-azavailabilityset) | Creates an Azure availability set to provide high availability. |
|
45 |
| -| [New-AzVirtualNetworkSubnetConfig](/powershell/module/az.network/new-azvirtualnetworksubnetconfig) | Creates a subnet configuration. This configuration is used with the virtual network creation process. | |
| 45 | +| [New-AzVirtualNetworkSubnetConfig](/powershell/module/az.network/new-azvirtualnetworksubnetconfig) | Creates a subnet configuration. This configuration works with the virtual network creation process. | |
46 | 46 | | [New-AzVirtualNetwork](/powershell/module/az.network/new-azvirtualnetwork) | Creates a virtual network. |
|
47 | 47 | | [New-AzPublicIpAddress](/powershell/module/az.network/new-azpublicipaddress) | Creates a public IP address. |
|
48 | 48 | | [New-AzLoadBalancerFrontendIpConfig](/powershell/module/az.network/new-azloadbalancerfrontendipconfig) | Creates a front end IP config for a load balancer. |
|
49 | 49 | | [New-AzLoadBalancerBackendAddressPoolConfig](/powershell/module/az.network/new-azloadbalancerbackendaddresspoolconfig) | Creates a backend address pool configuration for a load balancer. |
|
50 |
| -| [New-AzLoadBalancerProbeConfig](/powershell/module/az.network/new-azloadbalancerprobeconfig) | Creates an NLB probe. An NLB probe is used to monitor each VM in the NLB set. If any VM becomes inaccessible, traffic is not routed to the VM. | |
51 |
| -| [New-AzLoadBalancerRuleConfig](/powershell/module/az.network/new-azloadbalancerruleconfig) | Creates an NLB rule. In this sample, a rule is created for port 80. As HTTP traffic arrives at the NLB, it is routed to port 80 one of the VMs in the NLB 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 load balancer set. | |
52 | 52 | | [New-AzLoadBalancer](/powershell/module/az.network/new-azloadbalancer) | Creates a load balancer. |
|
53 | 53 | | [New-AzNetworkInterfaceIpConfig](/powershell/module/az.network/new-aznetworkinterfaceipconfig) | Defines advanced features for a virtual network interface. |
|
54 | 54 | | [New-AzNetworkInterface](/powershell/module/az.network/new-aznetworkinterface) | Creates a network interface. |
|
55 |
| -| [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. | |
| 55 | +| [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. | |
56 | 56 | | [New-AzVM](/powershell/module/az.compute/new-azvm) | Create a virtual machine. |
|
57 | 57 | |[Remove-AzResourceGroup](/powershell/module/az.resources/remove-azresourcegroup) | Removes a resource group and all resources contained within. |
|
58 | 58 |
|
59 | 59 | ## Next steps
|
60 | 60 |
|
61 | 61 | For more information on the Azure PowerShell, see [Azure PowerShell documentation](/powershell/azure/).
|
62 | 62 |
|
63 |
| -Additional networking PowerShell script samples can be found in the [Azure Networking Overview documentation](../powershell-samples.md?toc=%2fazure%2fnetworking%2ftoc.json). |
| 63 | +Find more networking PowerShell script samples in the [Azure Networking Overview documentation](../powershell-samples.md?toc=%2fazure%2fnetworking%2ftoc.json). |
0 commit comments