VM scale set distributed in Availability Zone with disk managed in LRS

Andrea 131 Reputation points

Hello everyone,

I have a single VM windows server on prem that store an application with configuration files placed in a local disk folder. This application simply launch a lot of batch file (script).

I need to migrate it to Azure (without replatform) and I'd like to deploy 2 VM scale set with redundancy in two Availability Zone (one VM on each Zone) , my question is:

does each VM needs to have disk managed in ZRS or it should be enough to set it in LRS for having ?

the goal is: if I will edit some script or configuration file (in local disk of one of VM) this changed need to replicated to the VM in the other zone. Is it possible (I cannot use storage account for this aim) ?


best regards


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

Accepted answer
  1. Andreas Baumgarten 103.3K Reputation points MVP

    Hi @Andrea Galli ,

    by default there is no replication process for disk content.

    But maybe this fits your requirement:

    Create a data disk with the following specifications:

    • Choose ZRS for the disk size (size should fit your requirement but choose Zone-redundant storage)
    • Enable shared disk in the Advanced settings.

    This way you will get a zone redundant disk that can be mounted to multiple VMs.

    Store your batch files/scripts on this shared disk.

    This will offer redundancy on zone outage but you have only one location for the files.

    User's image

    User's image

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


    Andreas Baumgarten

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful