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
# 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
17
17
18
18
## Prerequisites
19
19
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
+
23
24
24
25
## Sign in to the Azure portal
25
26
@@ -50,52 +51,48 @@ In this section, you'll create a Virtual Machine Scale Set in the Azure portal w
50
51
|**Orchestration**||
51
52
| Orchestration mode | Select **Uniform**|
52
53
| Security type | Select **Standard**|
54
+
|**Scaling**||
55
+
| Scaling mode | Select **Manual**|
56
+
| Instance count | Enter **2**|
53
57
|**Instance details**||
54
-
| Image | Select **Ubuntu Server 18.04 LTS**|
58
+
| Image | Select **Ubuntu Server 22.04 LTS**|
55
59
| Azure Spot instance | Select **No**|
56
60
| Size | Leave at default |
57
61
|**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. |
62
67
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**.
64
69
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:
| 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. |
81
80
82
-
6. Select the **Management** tab.
81
+
4. Select the **Management** tab.
83
82
84
-
7. In the **Management** tab, set **Boot diagnostics** to **Off**.
83
+
5. In the **Management** tab, set **Boot diagnostics** to **Off**.
85
84
86
-
8. Select the blue **Review + create** button.
85
+
6. Select the blue **Review + create** button.
87
86
88
-
9. Review the settings and select the **Create** button.
87
+
7. Review the settings and select the **Create** button.
89
88
90
89
# [Azure CLI](#tab/cli)
91
90
92
91
## Prerequisites
93
92
94
93
- 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.
@@ -135,7 +132,7 @@ The below example deploys a Virtual Machine Scale Set with:
135
132
az vmss create \
136
133
--resource-group myResourceGroup \
137
134
--name myVMSS \
138
-
--image Canonical:UbuntuServer:18.04-LTS:latest \
135
+
--image Ubuntu2204 \
139
136
--admin-username adminuser \
140
137
--generate-ssh-keys \
141
138
--upgrade-policy-mode Automatic \
@@ -154,9 +151,9 @@ az vmss create \
154
151
## Prerequisites
155
152
156
153
- 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.
0 commit comments