question

RogerRoger-2394 avatar image
0 Votes"
RogerRoger-2394 asked learn2skills edited

Availability options

Hi All

i have created an Azure VM in the region East US2 in the Availability Zone 1, is it possible to move this VM to availability set or do i need to delete the vm and recreate it.

azure-virtual-machinesazure-virtual-machines-scale-setazure-virtual-machines-migration
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

learn2skills avatar image
0 Votes"
learn2skills answered learn2skills edited

Hi @RogerRoger-2394
Thank You for posting in Q & A.

You can't add an existing VM to an availability set after it's created.

VMs must be created within the availability set to make sure they're correctly distributed across the hardware.

A VM can only be added to an availability set when it is created. To change the availability set, you need to delete and then recreate the virtual machine.
Refer-
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/tutorial-availability-sets
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/change-availability-set


If the Answer is helpful, please click Accept Answer and up-vote, this can be beneficial to other community members.





5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.