DEV Community

Lillie Mae
Lillie Mae

Posted on

CREATING A VIRTUAL MACHINE SCALE SET AND A LOAD BALANCER IN IT.

STEP 1:
a. On your azure portal, search for "Scale set" and click on it.
b. Click on "Create"
Image description
Image description

STEP 2:
a. Select your subscription and your resource group .
b. Choose a name of the virtual machine, give the administrator account a name and password.
Image description
Image description

STEP 3:
a. Go to "Networking" and click on "enable load balancer.
b. Go to "Scaling" and increase it to 2 or more. Here, i used 2 instances.
c. Go to "Health" and click on "enable application health monitoring"
Image description
Image description

STEP 4:
a. Click on "review+create
b. After validation has passed, click on "Create and wait for it to deploy.
Image description
Image description

STEP 5:
a. After deployment is complete, click on "Go to resource"
b. You can click on instance to see the 2 instances running.
c. Click on "Scaling", then choose either Manual or Custom scale depending on what you want.
d. You can also change your instances to any number you want.
Image description
Image description
Image description

  • Manual scale means you configure everything yourself.

*Custom means you want everything done automatically for you and you can add your conditions by scrolling down the page then click on "scale condition".

Top comments (0)