VMs on different Fault Domains in a specific AZ

Sinan Petrus Toma 6 Reputation points
2022-02-23T11:36:14.697+00:00

Hello everyone,

I see, when choosing Availability Sets, the VMs will be automatically deployed across a number (3) of fault domains.
However, in multi-AZ regions, I can't see any option to select an AZ and even find the information, in what AZ those VMs (the Availability Set) are.
Sure, in multi-AZ regions, we would choose "Availability Zones" as an availability option, not Availability Sets.

But I need both.

  1. Place three VMs on different Fault Domains in the same AZ, and
  2. Choose the AZ for those 3 VMs (or at least have the information about that AZ afterward).

Is this possible in Azure?

Regards,
Sinan

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,013 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Alan Kinane 16,951 Reputation points MVP Volunteer Moderator
    2022-02-23T16:35:41.843+00:00

    If you are using Availability Zones then you are automatically using different fault and update domains as you are actually hosting your VMs across multiple datacentres so naturally these VMs cannot be on the same physical hosts. Therefore these two options are mutually exclusive, you can choose one or the other with availability zones being the more resilient option as this not only spreads your VMs across fault and updates domains but also across different datacentres.

    In your example you should deploy your 3 VMs across three separate availability zones for best resiliency otherwise if you deploy to an availability set they will all be in the same datacentre but on separate fault/update domains.

    You also get a higher SLA on Azure VMs based on which option you choose.

    177256-image.png

    1 person found this answer helpful.

  2. Sinan Petrus Toma 6 Reputation points
    2022-03-21T17:51:32.667+00:00

    I got a way how to create VMs in an Availability Set (of different fault domains) while knowing the AZ at the same time:

    1. Create a PPG and create VM1 in AZ1 and PPG to scope the PPG --> PPG is scoped to AZ1
    2. Create an Availability Set and assign it to the scoped PPG
    3. Create VM2 and VM3 in Availability Set --> VM2 and VM3 on different Fault Domains (different Hardware) in AZ1

    As described here:
    https://learn.microsoft.com/en-us/azure/virtual-machines/workloads/sap/sap-proximity-placement-scenarios

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.