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
- This article requires version 2.0.28 or later of the Azure CLI. If using Azure Cloud Shell, the latest version is already installed.
26
27
27
-
## Deploy a virtual machine scale set with existing load balancer
28
+
## Deploy a Virtual Machine Scale Set with existing load balancer
28
29
30
+
Deploy a Virtual Machine Scale Set with [`az vmss create`](/cli/azure/vmss.md#az-vmss-create).
29
31
Replace the values in brackets with the names of the resources in your configuration.
30
32
31
33
```azurecli-interactive
@@ -43,15 +45,15 @@ az vmss create \
43
45
--backend-pool-name <backend-pool-name>
44
46
```
45
47
46
-
The below example deploys a virtual machine scale set with:
48
+
The below example deploys a Virtual Machine Scale Set with:
47
49
48
-
- Virtual machine scale set named **myVMSS**
50
+
- Virtual Machine Scale Set named **myVMSS**
49
51
- Azure Load Balancer named **myLoadBalancer**
50
52
- Load balancer backend pool named **myBackendPool**
51
53
- Azure Virtual Network named **myVnet**
52
54
- Subnet named **mySubnet**
53
55
- Resource group named **myResourceGroup**
54
-
- Ubuntu Server image for the virtual machine scale set
56
+
- Ubuntu Server image for the Virtual Machine Scale Set
55
57
56
58
```azurecli-interactive
57
59
az vmss create \
@@ -72,8 +74,8 @@ az vmss create \
72
74
73
75
## Next steps
74
76
75
-
In this article, you deployed a virtual machine scale set with an existing Azure Load Balancer. To learn more about virtual machine scale sets and load balancer, see:
77
+
In this article, you deployed a Virtual Machine Scale Set with an existing Azure Load Balancer. To learn more about Virtual Machine Scale Sets and load balancer, see:
76
78
77
79
-[What is Azure Load Balancer?](load-balancer-overview.md)
78
-
-[What are virtual machine scale sets?](../virtual-machine-scale-sets/overview.md)
80
+
-[What are Virtual Machine Scale Sets?](../virtual-machine-scale-sets/overview.md)
title: Configure virtual machine scale set with an existing Azure Load Balancer - Azure portal
3
-
description: Learn how to configure a virtual machine scale set with an existing Azure Load Balancer by using the Azure portal.
2
+
title: Configure Virtual Machine Scale Set with an existing Azure Load Balancer - Azure portal
3
+
description: Learn how to configure a Virtual Machine Scale Set with an existing Azure Load Balancer by using the Azure portal.
4
4
author: mbender-ms
5
5
ms.author: mbender
6
6
ms.service: load-balancer
7
7
ms.topic: how-to
8
-
ms.date: 03/25/2020
8
+
ms.date: 12/15/2022
9
+
ms.custom: FY23 content-maintenance
9
10
---
10
11
11
-
# Configure a virtual machine scale set with an existing Azure Load Balancer using the Azure portal
12
+
# Configure a Virtual Machine Scale Set with an existing Azure Load Balancer using the Azure portal
12
13
13
-
In this article, you'll learn how to configure a virtual machine scale set with an existing Azure Load Balancer.
14
+
In this article, you'll learn how to configure a Virtual Machine Scale Set with an existing Azure Load Balancer.
14
15
15
16
## Prerequisites
16
17
17
18
- An Azure subscription.
18
-
- An existing standard sku load balancer in the subscription where the virtual machine scale set will be deployed.
19
-
- An Azure Virtual Network for the virtual machine scale set.
19
+
- An existing standard sku load balancer in the subscription where the Virtual Machine Scale Set will be deployed.
20
+
- An Azure Virtual Network for the Virtual Machine Scale Set.
20
21
21
22
## Sign in to the Azure portal
22
23
23
24
Sign in to the Azure portal at [https://portal.azure.com](https://portal.azure.com).
24
25
25
26
26
27
27
-
## Deploy virtual machine scale set with existing load balancer
28
+
## Deploy Virtual Machine Scale Set with existing load balancer
28
29
29
-
In this section, you'll create a virtual machine scale set in the Azure portal with an existing Azure load balancer.
30
+
In this section, you'll create a Virtual Machine Scale Set in the Azure portal with an existing Azure load balancer.
30
31
31
32
> [!NOTE]
32
33
> The following steps assume a virtual network named **myVNet** and a Azure load balancer named **myLoadBalancer** has been previously deployed.
33
34
34
-
1. On the top left-hand side of the screen, click**Create a resource**> **Compute** > **Virtual machine scale set** or search for **Virtual machine scale set** in the marketplace search.
35
+
1. On the top left-hand side of the screen, select**Create a resource**and search for **Virtual Machine Scale Set** in the marketplace search.
35
36
36
-
2. Select **Create**.
37
+
1. Select **Virtual machine scale set** and Select **Create**.
37
38
38
-
3. In **Create a virtual machine scale set**, enter, or select this information in the **Basics** tab:
39
+
1. In **Create a virtual machine scale set**, enter, or select this information in the **Basics** tab:
| Resource Group | Select Create new, enter **myResourceGroup**, then select OK, or select an existing resource group. |
45
46
|**Scale set details**||
46
-
| Virtual machine scale set name | Enter **myVMSS**|
47
-
| Region | Select **East US 2**|
47
+
| Virtual Machine Scale Set name | Enter **myVMSS**|
48
+
| Region | Select **East US 2**|
48
49
| Availability zone | Select **None**|
50
+
|**Orchestration**||
51
+
| Orchestration mode | Select **Uniform**|
52
+
| Security type | Select **Standard**|
49
53
|**Instance details**||
50
54
| Image | Select **Ubuntu Server 18.04 LTS**|
51
55
| Azure Spot instance | Select **No**|
@@ -56,14 +60,13 @@ In this section, you'll create a virtual machine scale set in the Azure portal w
56
60
| Password | Enter your admin password |
57
61
| Confirm password | Reenter your admin password |
58
62
59
-
60
-
:::image type="content" source="./media/vm-scale-sets/create-vm-scale-set-01.png" alt-text="Screenshot shows the Create virtual machine scale set Basics tab." border="true":::
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":::
61
64
62
65
4. Select the **Networking** tab.
63
66
64
67
5. Enter or select this information in the **Networking** tab:
| Virtual network | Select **myVNet** or your existing virtual network. |
@@ -74,7 +77,7 @@ In this section, you'll create a virtual machine scale set in the Azure portal w
74
77
| Select a load balancer | Select **myLoadBalancer** or your existing load balancer |
75
78
| Select a backend pool | Select **myBackendPool** or your existing backend pool. |
76
79
77
-
:::image type="content" source="./media/vm-scale-sets/create-vm-scale-set-02.png" alt-text="Screenshot shows the Create virtual machine scale set Networking tab." border="true":::
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":::
78
81
79
82
6. Select the **Management** tab.
80
83
@@ -86,7 +89,7 @@ In this section, you'll create a virtual machine scale set in the Azure portal w
86
89
87
90
## Next steps
88
91
89
-
In this article, you deployed a virtual machine scale set with an existing Azure Load Balancer. To learn more about virtual machine scale sets and load balancer, see:
92
+
In this article, you deployed a Virtual Machine Scale Set with an existing Azure Load Balancer. To learn more about Virtual Machine Scale Sets and load balancer, see:
90
93
91
94
-[What is Azure Load Balancer?](load-balancer-overview.md)
92
-
-[What are virtual machine scale sets?](../virtual-machine-scale-sets/overview.md)
95
+
-[What are Virtual Machine Scale Sets?](../virtual-machine-scale-sets/overview.md)
Sign into Azure with [`Connect-AzAccount`](/powershell/module/az.accounts/connect-azaccount.md#example-1-connect-to-an-azure-account)
30
31
31
32
```azurepowershell-interactive
32
33
Connect-AzAccount
33
34
```
34
35
35
-
## Deploy a virtual machine scale set with existing load balancer
36
-
37
-
Replace the values in brackets with the names of the resources in your configuration.
36
+
## Deploy a Virtual Machine Scale Set with existing load balancer
37
+
Deploy a Virtual Machine Scale Set with [`New-AzVMss`](/powershell/module/az.compute/new-azvmss.md). Replace the values in brackets with the names of the resources in your configuration.
> After the scale set has been created, the backend port cannot be modified for a load balancing rule used by a health probe of the load balancer. To change the port, you can remove the health probe by updating the Azure virtual machine scale set, update the port and then configure the health probe again.
80
84
81
85
## Next steps
82
86
83
-
In this article, you deployed a virtual machine scale set with an existing Azure Load Balancer. To learn more about virtual machine scale sets and load balancer, see:
87
+
In this article, you deployed a Virtual Machine Scale Set with an existing Azure Load Balancer. To learn more about Virtual Machine Scale Sets and load balancer, see:
84
88
85
89
-[What is Azure Load Balancer?](load-balancer-overview.md)
86
-
-[What are virtual machine scale sets?](../virtual-machine-scale-sets/overview.md)
90
+
-[What are Virtual Machine Scale Sets?](../virtual-machine-scale-sets/overview.md)
0 commit comments