Skip to content

Latest commit

 

History

History
46 lines (28 loc) · 1.86 KB

README.md

File metadata and controls

46 lines (28 loc) · 1.86 KB

azure-file-sync

Demonstration of how Azure File Sync can be configured to synchronize files in multiple locations.

Final Environment

Getting Started

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:

Following Along

  1. Create a Storage Sync Service.

  2. Create a file share in the storage account created in the ARM template.

  3. Create a sync group in the Storage Sync Service using the file share as the cloud endpoint.

  4. Install the File Sync Agent of both VMs (it is automatically downloaded to C:\Agents).

  5. Add server endpoints in the sync gorup for both VMs.

  6. Experiment with adding files to the configured server endpoints.

Tearing Down

When finished, remove the Azure resources with:

.\Remove-Lab.ps1