Add existing VM to New Availability Set for Azure load balancer

Jayesh Sawant 81 Reputation points
2023-08-24T12:13:00.73+00:00

Hi Team,

Need urgent help, we have one azure VM let's say VM1 and it is already under load balancer without availability set configured while creation of VM1. now requirement is to add another VM let's say Vm2 (already created without choosing AV set) to backend pool of same ALB.

MSFT recommends keeping VM's under AV set is good for resiliency, but my VM 1 is not configured with AV set while creation i can't add my existing VM1 to AV set from azure portal now.

can I add VM1 and VM2 both without availability set to backed pool of load balancer as standalone? will it work?

please can you suggest better solution for this as soon as possible?

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,586 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Prrudram-MSFT 23,211 Reputation points
    2023-08-25T05:39:23.22+00:00

    Hi @Jayesh Sawant

    Thank you for reaching out to the Microsoft Q&A platform

    From my research, I am seeing the option to use PowerShell to move the VM into an Availability Set. Please refer to https://learn.microsoft.com/en-us/azure/virtual-machines/windows/change-availability-set

    Hope this helps.

    Please "Accept as Answer" and Upvote if the answer provided is useful, so that you can help others in the community looking for remediation for similar issues.

    0 comments No comments