Skip to content

Use availability sets with at least two members#

Reliability · Virtual Machine · 2020_06

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 availablity 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).


Last update: 2021-11-06