Create a standby pool

This article steps through creating a standby pool for Virtual Machine Scale Sets with Flexible Orchestration.

Prerequisites

To allow standby pools to create and manage virtual machines in your subscription, assign the appropriate permissions to the standby pool resource provider.

  1. In the Azure portal, navigate to your subscriptions.
  2. Select the subscription you want to adjust permissions.
  3. Select Access Control (IAM).
  4. Select Add and Add role assignment.
  5. Under the Role tab, search for Virtual Machine Contributor and select it.
  6. Move to the Members Tab.
  7. Select + Select members.
  8. Search for Standby Pool Resource Provider and select it.
  9. Move to the Review + assign tab.
  10. Apply the changes.
  11. Repeat the above steps and assign the Network Contributor role and the Managed Identity Operator role to the Standby Pool Resource Provider. If you're using images stored in Compute Gallery assign the Compute Gallery Sharing Admin and Compute Gallery Artifacts Publisher roles as well.

For more information on assigning roles, see assign Azure roles using the Azure portal.

Create a standby pool

Note

To create and manage standby pools in the Azure portal, register the following feature flag: Register-AzProviderFeature -FeatureName StandbyVMPoolPreview -ProviderNamespace Microsoft.StandbyPool

  1. Navigate to your Virtual Machine Scale Set.
  2. Under Availability + scale select Standby pool.
  3. Select Manage pool.
  4. Provide a name for your pool, provisioning state and maximum and minimum ready capacity.
  5. Select Save.

A screenshot showing how to enable a standby pool on an existing Virtual Machine Scale Set in the Azure portal.

You can also configure a standby pool during Virtual Machine Scale Set creation by navigating to the Management tab and checking the box to enable standby pools.

A screenshot showing how to enable a standby pool during the Virtual Machine Scale Set create experience in the portal.

Next steps

Learn how to update and delete a standby pool.