Demonstration of how Azure File Sync can be configured to synchronize files in multiple locations.
An Azure RM template is included in infrastructure/
to create the environment:
Using Azure PowerShell, do the following to provision the resources:
.\New-Lab.ps1
Alternatively, you can perform a one-click deploy with the following button:
-
Create a Storage Sync Service.
-
Create a file share in the storage account created in the ARM template.
-
Create a sync group in the Storage Sync Service using the file share as the cloud endpoint.
-
Install the File Sync Agent of both VMs (it is automatically downloaded to
C:\Agents
). -
Add server endpoints in the sync gorup for both VMs.
-
Experiment with adding files to the configured server endpoints.
When finished, remove the Azure resources with:
.\Remove-Lab.ps1