Search code examples
azureazure-storageazure-web-roles

Sync folders on all Azure Cloud Instances


Just deployed my App to Azure. Everything works fine.

I'm currently running some legacy code on my app that I cannot upgrade right now, and it makes use of some files on the local VM Storage.

I need to find a way to keep all the cloud instances folder synced. Someone wrote a plugin that seems to do this using the Microsoft Sync Framework, but it runs on Azure SDK 1.5: https://github.com/Interop-Bridges/Windows-Azure-File-System-Durability-Plugin

Does anyone know of a similar implementation for the current version of the SDK? or a better solution for this scenario?


Solution

  • You could use the CloudDrive feature of Windows Azure. You can put a .VHD file into the blob storage and mount it as a drive in your compute service.

    But keep in mind that if you have multiple instance in your computing service, only one instance has read/write access to the VHD. You should share the VHD Drive among all your instances using standard network share technology.