3

We're setting up VM's on azure in an availability set to ensure maximum uptime and perf.

We just want to have multiple identical VM's so that traffic can be distributed using Azure load balancer and also fault tolerance if one box goes down.

I'm struggling to workout how to make sure each VM is identical and also stays in sync, we are constantly adding stuff to our web VM. I get that we can create an image of VM 1 and just use that to create VM 2 and so on. But if a file gets added to VM 1 than i need to make sure that is reflected on all the other VM's as well. Is there a way to achieve this?

Any advice is appreciated.

Thanks

Matt
  • 3,305
  • 11
  • 54
  • 98

1 Answers1

1

Ideally you'd store all your data in a shared and centralised location thst can be access from all VMs in the availability set, such as blob storage or an Azure Files network SMB file share.

Chris Fulstow
  • 41,170
  • 10
  • 86
  • 110
  • Hi Chris, thanks for the response. I think that will save us duplicating some files. But some files that need to change need to be on the web facing side of things on the VM. Like when we need to add a new web application to the box. This will need to then be replicated across boxes. – Matt Nov 19 '14 at 03:20
  • You could consider deploying your application as a cloud service. That way you can make updates then do a single republish to push the new version out to all the instances in the service. – Chris Fulstow Nov 19 '14 at 06:06