Skip to content

Commit 34155e7

Browse files
committed
added vmss portal article
1 parent 3248519 commit 34155e7

File tree

3 files changed

+59
-51
lines changed

3 files changed

+59
-51
lines changed
203 KB
Loading
271 KB
Loading

articles/load-balancer/use-existing-lb-vmss-portal.md

Lines changed: 59 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.topic: article
88
ms.date: 09/17/2019
99
---
1010

11-
# Configure a virtual machine scale set with an existing Azure Load Balancer using the Azure CLI
11+
# Configure a virtual machine scale set with an existing Azure Load Balancer using the Azure portal
1212

1313
In this article, you'll learn how to configure a virtual machine scale set with an existing Azure Load Balancer.
1414

@@ -18,63 +18,71 @@ In this article, you'll learn how to configure a virtual machine scale set with
1818
- An existing Azure Load Balancer in the subscription where the virtual machine scale set will be deployed.
1919
- An Azure Virtual Network for the virtual machine scale set.
2020

21-
[!INCLUDE [cloud-shell-try-it.md](../../includes/cloud-shell-try-it.md)]
21+
## Sign in to the Azure portal
2222

23-
If you choose to use the CLI locally, this article requires that you have a version of the Azure CLI version 2.0.28 or later installed. To find the version, run `az --version`. If you need to install or upgrade, see [Install Azure CLI 2.0]( /cli/azure/install-azure-cli).
23+
Sign in to the Azure portal at [https://portal.azure.com](https://portal.azure.com).
2424

25-
## Sign in to Azure CLI
2625

27-
Sign into Azure.
28-
29-
```azurecli-interactive
30-
az login
31-
```
3226

3327
## Deploy a virtual machine scale set with existing load balancer
3428

35-
Replace the values in brackets with the names of the resources in your configuration.
36-
37-
```azurecli-interactive
38-
az vmss create \
39-
--resource-group <resource-group> \
40-
--name <vmss-name>\
41-
--image <your-image> \
42-
--admin-username <admin-username> \
43-
--generate-ssh-keys \
44-
--upgrade-policy-mode Automatic \
45-
--instance-count 3 \
46-
--vnet-name <virtual-network-name> \
47-
--subnet <subnet-name> \
48-
--lb <load-balancer-name> \
49-
--backend-pool-name <backend-pool-name>
50-
```
51-
52-
The below example deploys a virtual machine scale set with:
53-
54-
- Virtual machine scale set named **myVMSS**
55-
- Azure Load Balancer named **myLoadBalancer**
56-
- Load balancer backend pool named **myBackendPool**
57-
- Azure Virtual Network named **myVnet**
58-
- Subnet named **mySubnet**
59-
- Resource group named **myResourceGroup**
60-
- Ubuntu Server image for the virtual machine scale set
61-
62-
```azurecli-interactive
63-
az vmss create \
64-
--resource-group myResourceGroup \
65-
--name myVMSS \
66-
--image Canonical:UbuntuServer:18.04-LTS:latest \
67-
--admin-username adminuser \
68-
--generate-ssh-keys \
69-
--upgrade-policy-mode Automatic \
70-
--instance-count 3 \
71-
--vnet-name myVnet\
72-
--subnet mySubnet \
73-
--lb myLoadBalancer \
74-
--backend-pool-name myBackendPool
75-
```
29+
In this section you will create a virtual machine scale set in the Azure portal with an existing Azure load balancer.
30+
7631
> [!NOTE]
77-
> 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.
32+
> The following steps assume a virtual network named **myVNet** and a Azure load balancer named **myLoadBalancer** has been previously deployed.
33+
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+
36+
2. Select **Create**.
37+
38+
3. In **Create a virtual machine scale set**, enter or select this information in the **Basics** tab:
39+
40+
| Setting | Value |
41+
|--------------------------------|-------------------------------------------------------------------------------------------------------|
42+
| **Project details** | |
43+
| Subscription | Select your Azure subscription |
44+
| Resource Group | Select Create new, enter **myResourceGroup**, then select OK, or select an existing resource group. |
45+
| **Scale set details** | |
46+
| Virtual machine scale set name | Enter **myVMSS** |
47+
| Region | Select **East US 2** |
48+
| Availability zone | Select **None** |
49+
| **Instance details** | |
50+
| Image | Select **Ubuntu Server 18.04 LTS** |
51+
| Azure Spot instance | Select **No** |
52+
| Size | Leave at default |
53+
| **Administrator account** | |
54+
| Authentication type | Select **Password** |
55+
| Username | Enter your admin username |
56+
| Password | Enter your admin password |
57+
| Confirm password | Re-enter your admin password |
58+
59+
60+
:::image type="content" source="./media/load-balancer-vmss/lb-vmss-01.png" alt-text="Create virtual machine scale set." border="true":::
61+
62+
4. Select the **Networking** tab.
63+
64+
5. Enter or select this information in the **Networking** tab:
65+
66+
Setting | Value |
67+
|-----------------------------------|----------------------------------------------------------|
68+
| **Virtual Network Configuration** | |
69+
| Virtual network | Select **myVNet** or your existing virtual network. |
70+
| **Load balancing** | |
71+
| Use a load balancer | Select **Yes** |
72+
| **Load balancing settings** | |
73+
| Load balancing options | Select **Azure load balancer** |
74+
| Select a load balancer | Select **myLoadBalancer** or your existing load balancer |
75+
| Select a backend pool | Select **myBackendPool** or your existing backend pool. |
76+
77+
:::image type="content" source="./media/load-balancer-vmss/lb-vmss-02.png" alt-text="Create virtual machine scale set." border="true":::
78+
79+
6. Select the **Management** tab.
80+
81+
7. In the **Management** tab, set **Boot diagnostics** to **Off**.
82+
83+
8. Select the blue **Review + create** button.
84+
85+
9. Review the settings and select the **Create** button.
7886

7987
## Next Steps
8088

0 commit comments

Comments
 (0)