0

A few articles from Azure blog, as well as its own documentation, mention that one "can use different VM SKUs in the same scale sets" [1][2][3]

However, I've searched everywhere (including Microsoft forums, Stackoverflow and GitHub) and couldn't find any example of how to do that. I also couldn't see this being supported in their REST API [4].

Since this functionality has been stated multiple times on the blog and the official docs though, is it possible that I'm just overlooking it?

[1] https://techcommunity.microsoft.com/t5/azure-compute-blog/announcing-general-availability-for-virtual-machine-scale-sets/ba-p/2918378

[2] https://techcommunity.microsoft.com/t5/azure-compute-blog/now-in-preview-spot-priority-mix-for-azure-virtual-machine-scale/ba-p/3650300

[3] https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-orchestration-modes#what-has-changed-with-flexible-orchestration-mode

[4] https://learn.microsoft.com/en-us/rest/api/compute/virtual-machine-scale-sets/create-or-update?tabs=HTTP

dan
  • 1,144
  • 12
  • 17

1 Answers1

0

I created virtual machine scale set with multiple instances like below:

enter image description here

According to this SO Thread by charles xu

The Virtual Machine Scale Set is a group of load-balanced VMs and all the VM instances are created from the same configuration that you set when you create the VMSS,

Created 2 instances in Virtual Machine Scale Set like below:

enter image description here

Note: It is not possible to create multiple different VM SKUs within a single scale set in azure. Scale sets are designed to provide identical instances of virtual machines (VMs) for scalability and high availability purposes. Each VM within a scale set must use the same VM SKU like below:

enter image description here

Imran
  • 3,875
  • 2
  • 3
  • 12
  • This goes directly against what Microsoft has stated in their docs. In addition, the thread you mentioned is older than the date of announcement of general availability for Flexible VMSS, the blog article for which states that one "can use different VM SKUs in the same scale sets". – dan Jun 08 '23 at 16:58
  • As per doc You mentioned by varun..you can easily mix Spot and Pay as you Go VMs in the same scale set, you can use different VM SKUs in the same scale sets – Imran Jun 08 '23 at 17:00
  • So that's what I'm wondering, how do I "use different VM SKUs in the same scale sets"? Note that the doc makes a distinction between mixing Spot+Standard VMs and different SKUs - those are two distinct cases.. "Services which require a mix of different virtual machine types, OR that can leverage Spot and on-demand VMs together to optimize costs." – dan Jun 08 '23 at 20:13