|
| 1 | +--- |
| 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. |
| 4 | +author: asudbring |
| 5 | +ms.author: allensu |
| 6 | +ms.service: load-balancer |
| 7 | +ms.topic: article |
| 8 | +ms.date: 03/25/2020 |
| 9 | +--- |
| 10 | + |
| 11 | +# Configure a virtual machine scale set with an existing Azure Load Balancer using the Azure portal |
| 12 | + |
| 13 | +In this article, you'll learn how to configure a virtual machine scale set with an existing Azure Load Balancer. |
| 14 | + |
| 15 | +## Prerequisites |
| 16 | + |
| 17 | +- An Azure subscription. |
| 18 | +- An existing Azure 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. |
| 20 | + |
| 21 | +## Sign in to the Azure portal |
| 22 | + |
| 23 | +Sign in to the Azure portal at [https://portal.azure.com](https://portal.azure.com). |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | +## Deploy VM scale set with existing load balancer |
| 28 | + |
| 29 | +In this section, you'll create a virtual machine scale set in the Azure portal with an existing Azure load balancer. |
| 30 | + |
| 31 | +> [!NOTE] |
| 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 | Reenter your admin password | |
| 58 | + |
| 59 | + |
| 60 | + :::image type="content" source="./media/vm-scale-sets/create-vm-scale-set-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/vm-scale-sets/create-vm-scale-set-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. |
| 86 | + |
| 87 | +## Next steps |
| 88 | + |
| 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: |
| 90 | + |
| 91 | +- [What is Azure Load Balancer?](load-balancer-overview.md) |
| 92 | +- [What are virtual machine scale sets?](../virtual-machine-scale-sets/overview.md) |
0 commit comments