Associate a virtual machine scale set with Flexible Orchestration to a capacity reservation group

Applies to: ✔️ Flexible scale sets

Azure Virtual Machine Scale Sets has two modes:

  • Uniform Orchestration: In this mode, virtual machine scale sets use a virtual machine (VM) profile or a template to scale up to the capacity you want. Although there's some ability to manage or customize individual VM instances, Uniform Orchestration uses identical VM instances. These instances are exposed through the virtual machine scale set's VM APIs. They aren't compatible with the API commands that are standard for Azure infrastructure as a service (IaaS) VMs. Because the scale set performs all the actual VM operations, reservations are associated to the virtual machine scale set directly. After the scale set is associated to the reservation, all the subsequent VM allocations are done against the reservation.
  • Flexible Orchestration: In this mode, you get more flexibility to manage the individual instances of virtual machine scale set VMs. They can use the standard Azure IaaS VM APIs instead of using the scale set interface. To use reservations with Flexible Orchestration mode, define both the virtual machine scale set property and the capacity reservation property on each VM.

To learn more about these modes, see Orchestration modes for Virtual Machine Scale Sets.

This content applies to the Flexible Orchestration mode. For more information about Uniform Orchestration mode, see Associate a virtual machine scale set with Uniform Orchestration to a capacity reservation group.

Associate a new virtual machine scale set to a capacity reservation group

You have two options:

Associate an existing virtual machine scale set to a capacity reservation group

There are two steps:

Next step