Use availability sets with at least two members

March 21, 2025 ยท View on GitHub

SYNOPSIS

Availability sets should be deployed with at least two virtual machines (VMs).

DESCRIPTION

An availability set is a logical grouping of VMs that allows Azure to optimize the placement of VMs. Azure uses this grouping to separate VMs within the availability set across fault and update domains. Each VM in your availability set is assigned an update domain and a fault domain. VMs in different update and fault domains is mapped to different underlying physical hardware. The reason for doing this is to improve reliability by removing some single points of failure.

Deploy two or more VMs within an availability set to provide for a highly available application. There is no cost for the Availability Set itself, you only pay for each VM instance that you create.

RECOMMENDATION

Consider deploying at least two VMs within an availability set to gain availability benefits.

NOTES

This rule applies when analyzing resources deployed to Azure (in-flight).