Skip to content

Commit de93e1c

Browse files
author
Jill Grant
authored
Merge pull request #286617 from mbender-ms/lb-vmss
load balancer - update configure-vm-scale-set-portal.md
2 parents ad4caae + 2b05f1e commit de93e1c

File tree

1 file changed

+35
-36
lines changed

1 file changed

+35
-36
lines changed

articles/load-balancer/configure-vm-scale-set-portal.md

Lines changed: 35 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ author: mbender-ms
55
ms.author: mbender
66
ms.service: azure-load-balancer
77
ms.topic: how-to
8-
ms.date: 01/11/2024
9-
ms.custom: template-quickstart, engagement-fy23, devx-track-azurecli, devx-track-azurepowershell
8+
ms.date: 09/11/2024
9+
ms.custom: devx-track-azurecli, devx-track-azurepowershell
1010
---
1111

1212
# Configure a Virtual Machine Scale Set with an existing Azure Standard Load Balancer
@@ -17,9 +17,10 @@ In this article, you'll learn how to configure a Virtual Machine Scale Set with
1717

1818
## Prerequisites
1919

20-
- An Azure subscription.
21-
- An existing standard sku load balancer in the subscription where the Virtual Machine Scale Set will be deployed.
22-
- An Azure Virtual Network for the Virtual Machine Scale Set.
20+
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
21+
- - An [Azure Virtual Network](../virtual-network/quick-create-portal.md) for the Virtual Machine Scale Set and the load balancer.
22+
- An existing [standard sku load balancer](quickstart-load-balancer-standard-internal-portal.md) in the subscription where the Virtual Machine Scale Set will be deployed. Ensure the load balancer has a backend pool.
23+
2324

2425
## Sign in to the Azure portal
2526

@@ -50,52 +51,48 @@ In this section, you'll create a Virtual Machine Scale Set in the Azure portal w
5051
| **Orchestration** | |
5152
| Orchestration mode | Select **Uniform** |
5253
| Security type | Select **Standard** |
54+
| **Scaling** | |
55+
| Scaling mode | Select **Manual** |
56+
| Instance count | Enter **2** |
5357
| **Instance details** | |
54-
| Image | Select **Ubuntu Server 18.04 LTS** |
58+
| Image | Select **Ubuntu Server 22.04 LTS** |
5559
| Azure Spot instance | Select **No** |
5660
| Size | Leave at default |
5761
| **Administrator account** | |
58-
| Authentication type | Select **Password** |
59-
| Username | Enter your admin username |
60-
| Password | Enter your admin password |
61-
| Confirm password | Reenter your admin password |
62+
| Authentication type | Select **SSH public key** |
63+
| Username | Enter a username for the SSH public key. |
64+
| SSH public key source | Select **Generate new key pair**. |
65+
| SSH key type | Select **RSA SSH Format**. |
66+
| Key pair name | Enter a name for the key pair. |
6267

63-
:::image type="content" source="media/vm-scale-sets/create-virtual-machine-scale-set-thumb.png" alt-text="Screenshot of Create a Virtual Machine Scale Set page." lightbox="media/vm-scale-sets/create-virtual-machine-scale-set.png":::
68+
2. Select the **Networking** tab or select **Next: Spot > Next: Disks > Next: Networking**.
6469

65-
4. Select the **Networking** tab.
66-
67-
5. Enter or select this information in the **Networking** tab:
70+
3. Enter or select this information in the **Networking** tab:
6871

6972
| Setting | Value |
7073
|-----------------------------------|----------------------------------------------------------|
7174
| **Virtual Network Configuration** | |
7275
| Virtual network | Select **myVNet** or your existing virtual network. |
73-
| **Load balancing** | |
74-
| Use a load balancer | Select **Yes** |
75-
| **Load balancing settings** | |
76+
| **Load balancing** | |
7677
| Load balancing options | Select **Azure load balancer** |
7778
| Select a load balancer | Select **myLoadBalancer** or your existing load balancer |
78-
| Select a backend pool | Select **myBackendPool** or your existing backend pool. |
79-
80-
:::image type="content" source="media/vm-scale-sets/create-virtual-machine-scale-set-network-thumb.png" alt-text="Screenshot shows the Create Virtual Machine Scale Set Networking tab." lightbox="media/vm-scale-sets/create-virtual-machine-scale-set-network.png":::
79+
| Select a backend pool | Select **myBackendPool** or your existing backend pool. |
8180

82-
6. Select the **Management** tab.
81+
4. Select the **Management** tab.
8382

84-
7. In the **Management** tab, set **Boot diagnostics** to **Off**.
83+
5. In the **Management** tab, set **Boot diagnostics** to **Off**.
8584

86-
8. Select the blue **Review + create** button.
85+
6. Select the blue **Review + create** button.
8786

88-
9. Review the settings and select the **Create** button.
87+
7. Review the settings and select the **Create** button.
8988

9089
# [Azure CLI](#tab/cli)
9190

9291
## Prerequisites
9392

9493
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
95-
96-
- You need an existing standard sku load balancer in the subscription where the Virtual Machine Scale Set will be deployed.
97-
98-
- You need an Azure Virtual Network for the Virtual Machine Scale Set.
94+
- You need an existing [standard sku load balancer](quickstart-load-balancer-standard-internal-cli.md) in the subscription where the Virtual Machine Scale Set will be deployed. Ensure the load balancer has a backend pool.
95+
- You need an [Azure Virtual Network](../virtual-network/quick-create-cli.md) for the Virtual Machine Scale Set.
9996

10097
[!INCLUDE [azure-cli-prepare-your-environment-no-header.md](~/reusable-content/azure-cli/azure-cli-prepare-your-environment-no-header.md)]
10198

@@ -135,7 +132,7 @@ The below example deploys a Virtual Machine Scale Set with:
135132
az vmss create \
136133
--resource-group myResourceGroup \
137134
--name myVMSS \
138-
--image Canonical:UbuntuServer:18.04-LTS:latest \
135+
--image Ubuntu2204 \
139136
--admin-username adminuser \
140137
--generate-ssh-keys \
141138
--upgrade-policy-mode Automatic \
@@ -154,9 +151,9 @@ az vmss create \
154151
## Prerequisites
155152

156153
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
157-
- An existing resource group for all resources.
158-
- An existing standard sku load balancer in the subscription where the Virtual Machine Scale Set will be deployed.
159-
- An Azure Virtual Network for the Virtual Machine Scale Set.
154+
- - An [Azure Virtual Network](../virtual-network/quick-create-powershell.md) for the Virtual Machine Scale Set and the load balancer.
155+
- An existing [standard sku load balancer](quickstart-load-balancer-standard-internal-powershell.md) in the subscription where the Virtual Machine Scale Set will be deployed. Ensure the load balancer has a backend pool.
156+
160157

161158
[!INCLUDE [cloud-shell-try-it.md](~/reusable-content/ce-skilling/azure/includes/cloud-shell-try-it.md)]
162159

@@ -184,6 +181,7 @@ $lbn = <load-balancer-name>
184181
$pol = <upgrade-policy-mode>
185182
$img = <image-name>
186183
$bep = <backend-pool-name>
184+
$img = <image-name>
187185
188186
$lb = Get-AzLoadBalancer -ResourceGroupName $rsg -Name $lbn
189187
@@ -203,17 +201,18 @@ The below example deploys a Virtual Machine Scale Set with the following values:
203201
```azurepowershell-interactive
204202
205203
$rsg = "myResourceGroup"
206-
$loc = "East US 2"
204+
$loc = "East US"
207205
$vms = "myVMSS"
208-
$vnt = "myVnet"
209-
$sub = "mySubnet"
206+
$vnt = "myVNet"
207+
$sub = "default"
210208
$pol = "Automatic"
211209
$lbn = "myLoadBalancer"
212210
$bep = "myBackendPool"
211+
$img = "Ubuntu2204"
213212
214213
$lb = Get-AzLoadBalancer -ResourceGroupName $rsg -Name $lbn
215214
216-
New-AzVmss -ResourceGroupName $rsg -Location $loc -VMScaleSetName $vms -VirtualNetworkName $vnt -SubnetName $sub -LoadBalancerName $lb -UpgradePolicyMode $pol -BackendPoolName $bep
215+
New-AzVmss -ResourceGroupName $rsg -Location $loc -VMScaleSetName $vms -VirtualNetworkName $vnt -SubnetName $sub -LoadBalancerName $lb -UpgradePolicyMode $pol -BackendPoolName $bep -ImageName $img
217216
218217
```
219218
> [!NOTE]

0 commit comments

Comments
 (0)