Azure VMSS – A Guide for Configuring Infrastructure of VMSS using Azure Portal – 3

This post will continue guiding you on how to use Azure Portal to deploy the necessary infrastructure components related to virtual machine scale sets (VMSS).

The primary milestones for the whole configuration will be:

1.         Create a new master VM for image prototype

2.         Take snapshot from the master VM

3.         Create disk from the snapshot

4.         Create VM from the disk

5.         Generalize VM to shared image gallery

6.         Deploy VMSS from shared image gallery

7.         Associate VMSS to load balancer

8.         Create a new VM from image gallery for prepare VMSS image version update

9.         Update VMSS image version

I have covered step 1-5 in the previous blogs, you can read through the details before jumping to this blog for the previous steps.

In this blog, I will focus on milestone 6 to 7, and will wrap up the last step in the next post.

Let’s start from step 6.

Step 6 – Deploy VMSS from shared image gallery

StepsProcedures
1Navigate to VM image definitions -> Select Target definition  
2Under Overview, click “Create VMSS”    
3Following the below setting and define the Subscription, Resource Group, VMSS name, Size, Username, Password, then click “Next”        
4Define the OS disk type
 

 
5Select the target Virtual Network
 
6Edit the network interface setting, then select “OK” You can specify whether the each VMSS instance need specific public IP, it should be more easy to access the specific VMSS instance from public network.
7Define the VMSS scaling policy, then click “Next”  
8Follow the below setting, then click “Next”  
9You can use the default setting or can specify application insight to monitor your specific application within the VMSS.
   
10Follow the below setting, then click “Next”    
11You can edit the tagging for easy management    
12Click “Create”
 

After the “create” button, the VMSS will be deployed, now you need to associate the VMSS to the load balancer.

Step 7 – Associate VMSS to load balancer

StepsProcedures
1Navigate to Load Balancer -> Select Target LB to be associated  
2Select Backend Pools -> choose existing backend pool or create new  
3Under Virtual Machine Scale Set, Select the target VMSS  
4Click “Save”  
 
5Upgrade the instance status by clicking the blue colour area      
6Select all the instance and click “Upgrade”, then “Yes”        
7Verify the last column “Latest Model” should be display “Yes”      
8Go back to LB and refresh, the instances should be displayed in the backend pool.      

The above instruction is part of the main procedures for the VMSS infrastructure deployment in Azure Portal. I will continue step 8 in the next blog. Please stay tuned.

To learn more about the service and various features, refer to the VMSS documentation.

Virtual Machine Scale Sets documentation – Azure Virtual Machine Scale Sets | Microsoft Docs

If you are interested in exploring capabilities beyond the standard offering, simply feel free to contact us at enquiry@soshk.com

Again, see you in the next blogs!

David Ko
+ posts

Cloud Engineer, SOS Group Limited

Leave a comment

SOS Group Limited © 2024. All Rights Reserved.