Automation plays a key role in corporate agility and DevOps culture. This lab illustrates how to automate the configuration of a Windows Server 2019 VM with the goal of adding the VM to an Azure File Sync deployment - a practical and non-trivial task. The lab environment provisions the Azure Files share, Storage Sync Service, sync group, and cloud endpoint before you begin. You will inspect those provisioned resources, install the Azure File Sync Agent, register the VM with the Storage Sync Service, create a server endpoint, and test file synchronization. The beauty of automation is that you could apply the same procedure to as many servers as you like for your own environments. The PowerShell scripts you develop in this lab could easily be used within PowerShell DSC for large-scale deployments involving dozens or more servers.
Upon completion of this Lab, you will be able to:
You should be familiar with:
The following Cloud Academy content can be used to meet the Lab's prerequisites:
June 5th, 2023 - Resolved an issue that caused the lab to fail to setup on rare occasions
December 21st, 2022 - Updated lab to use Cloud Academy's Hosted IDE, the Azure Az PowerShell module, and Windows Server 2019
May 22nd, 2020 - Updated a validation check to more accurately reflect whether students have met the conditions of the lab
May 5th, 2020 - Added a validation check function to check the work done in the lab
Nov. 17th, 2019 - Changed lab region to South Central US to avoid an issue that prevented completion of the lab in West US