Availability sets

Handian Sudianto 5,181 Reputation points
2024-02-12T15:51:55.5666667+00:00

Hello, For build VM avaiability set we must create at least 2 VMs for each application, right? I just want to know if there are 2 VM identical for each app, will both VM replicated each other automatically by Azure? I mean if i do some changes on the app or the OS, should i do exact same changes on another VM?

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

Accepted answer
  1. TP 98,086 Reputation points
    2024-02-12T15:58:48.51+00:00

    Hi,

    Yes, for more resilience to failure you would need at least 2 VMs for the workload/application when using Availability Sets.

    No, the VMs will not replicate changes to each other automatically. The apps/workloads running inside of the VMs need to be designed to replicate/sync/share data between each other, -OR- the apps/workloads need to be stateless.

    -TP

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Andreas Baumgarten 111.3K Reputation points MVP
    2024-02-12T15:57:16.7233333+00:00

    Hi @Handian Sudianto ,

    ... will both VM replicated each other automatically by Azure?

    No, there is no automatically sync between the 2 VMs.

    ... should i do exact same changes on another VM?

    Yes, that's the best option. But you have to do this manually.


    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards

    Andreas Baumgarten

    0 comments No comments

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.