Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
In this article, you'll learn how to configure a Virtual Machine Scale Set with an existing Azure Load Balancer. With an existing virtual network and standard sku load balancer, you can deploy a Virtual Machine Scale Set with a few clicks in the Azure portal, or with a few lines of code in the Azure CLI or Azure PowerShell using the tabs below.
Prerequisites
- An Azure subscription.
- An existing standard sku load balancer in the subscription where the Virtual Machine Scale Set will be deployed.
- An Azure Virtual Network for the Virtual Machine Scale Set.
Sign in to the Azure portal
Sign in to the Azure portal.
Deploy Virtual Machine Scale Set with existing load balancer
In this section, you'll create a Virtual Machine Scale Set in the Azure portal with an existing Azure load balancer.
Note
The following steps assume a virtual network named myVNet and an Azure load balancer named myLoadBalancer has been previously deployed.
On the top left-hand side of the screen, select Create a resource and search for Virtual Machine Scale Set in the marketplace search.
Select Virtual machine scale set and Select Create.
In Create a virtual machine scale set, enter, or select this information in the Basics tab:
Setting Value Project details Subscription Select your Azure subscription Resource Group Select Create new, enter myResourceGroup, then select OK, or select an existing resource group. Scale set details Virtual machine scale set name Enter myVMSS Region Select China North 3 Availability zone Select None Instance details Image Select Ubuntu Server 18.04 LTS Size Leave at default Administrator account Authentication type Select Password Username Enter your admin username Password Enter your admin password Confirm password Reenter your admin password Select the Networking tab.
Enter or select this information in the Networking tab:
Setting Value Virtual Network Configuration Virtual network Select myVNet or your existing virtual network. Load balancing Use a load balancer Select Yes Load balancing settings Load balancing options Select Azure load balancer Select a load balancer Select myLoadBalancer or your existing load balancer Select a backend pool Select myBackendPool or your existing backend pool. Select the Management tab.
In the Management tab, set Boot diagnostics to Off.
Select the blue Review + create button.
Review the settings and select the Create button.