Skip to content

Latest commit

 

History

History
43 lines (31 loc) · 2.02 KB

File metadata and controls

43 lines (31 loc) · 2.02 KB
severity Important
pillar Reliability
category RE:05 Redundancy
resource Virtual Machine
resourceType Microsoft.Compute/availabilitySets
online version https://azure.github.io/PSRule.Rules.Azure/en/rules/Azure.VM.ASMinMembers/
ms-content-id 0e9b75e5-2a63-4bea-afeb-2807e6f9d5a0

Use availability sets with at least two members

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

LINKS