Answer:
To meet the requirements, you can implement Azure File Sync. Azure File Sync allows you to sync on-premises file servers with Azure Files, maintaining the same data across both environments and ensuring automatic deletion of files deleted on either side.
Here's how you can implement it:
1. Set up Azure File Sync:
- Install the Azure File Sync agent on FS01.
- Register FS01 with an Azure File Sync storage account in Azure.
2. Configure sync group:
- Create a sync group in Azure File Sync and add the on-premises folder (shared folder on FS01) to the sync group.
- Configure cloud endpoint in the sync group, pointing to an Azure Files share.
3. Initial synchronization:
- Initiate the initial synchronization to replicate existing data from FS01 to Azure Files.
4. Enable cloud tiering (optional but recommended):
- Configure cloud tiering to optimize storage usage by automatically tiering less frequently accessed files to Azure Files while keeping frequently accessed files locally accessible.
With Azure File Sync configured, changes made to files on FS01 or in Azure Files will be automatically synchronized, ensuring that both environments maintain the exact same data. Additionally, files deleted on either side will be automatically deleted from the other side, meeting the requirement for bidirectional synchronization.