DEV Community

Cover image for Azure VM Scale Set #Part 3: How to Create a Virtual Machine scale set in Azure
Oluwaloseyi Oluwatofunmi Emmanuel
Oluwaloseyi Oluwatofunmi Emmanuel

Posted on • Edited on • Originally published at dev.to

1 1 1 1

Azure VM Scale Set #Part 3: How to Create a Virtual Machine scale set in Azure

In the first two parts of this series, we connected to a Windows VM, added a data disk, and captured a reusable image with Azure Compute Gallery. Now, in Part 3, we’ll use that custom image to create a Virtual Machine Scale Set (VMSS), enabling scalable, load-balanced deployments to meet dynamic workload demands efficiently.

An important concept of VMSS is an Azure load balancer; it distributes incoming traffic to a pool of VMs or VM instances. It is always automatically configured in Azure VMSS.

Go over the other parts of the series before this.

VMSS

Let's dive into the VMSS setup!


Part 3: How to Create a Virtual Machine scale set in Azure

  • In the VM image created, click the + Create VMSS button.
    Create VMSS

  • Give the VMSSS a Name

  • In orchestration mode, select Flexibile
    Note: In flexibility mode, you manually create and add a VM of any configuration to the scale set. While in uniform mode, you define a VM model, and Azure will generate identical instances based on that model.

  • Leave everything else as default

  • Click on Review and create
    Review and create

Review and create

  • Click Go to resource Go to resource

VMSS

  • Go to Availability + scale section
  • Select Scaling
  • Set the Instance count to the number of VMs you want to Create
  • Save the configuration
    Scaling the VMSS

  • Confirm the VMs are running
    VMSS running

Conclusion:

With this final step, you've successfully created a Virtual Machine Scale Set using a custom image from Azure Compute Gallery, building on the foundational tasks of connecting to a VM, adding a data disk, and capturing a reusable image. Your scalable, load-balanced infrastructure is now ready to handle dynamic workloads efficiently, completing the journey toward optimizing your Azure environment.


Thank you for reading my blog.😊😊

If you need further assistance, feel free to reach out in the comment or hit me up on Twitter. You can also follow me on GitHub. My DM's are open and love discussions on cloud topics!😁

: Oluwatofunmi Emmanuel Oluwaloseyi

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read full post →

Top comments (0)

Image of Timescale

Timescale – the developer's data platform for modern apps, built on PostgreSQL

Timescale Cloud is PostgreSQL optimized for speed, scale, and performance. Over 3 million IoT, AI, crypto, and dev tool apps are powered by Timescale. Try it free today! No credit card required.

Try free

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay