Onboarding Windows and Linux machines to Azure Arc
Onboarding servers to Azure Arc includes installing the Connected Machine agents on servers and configuring the agent to communicate with Azure and connect with your Azure subscription.
There are multiple ways to onboard servers to Azure Arc, including the following:
- Run a script, interactively or using any configuration management tool.
- PowerShell Desired State Configuration.
- Windows Admin Center.
- PowerShell commands.
Let's start with the first method, which is to onboard servers by running a script. Microsoft provides a PowerShell script and a bash script to onboard Windows and Linux servers, respectively, so that we can onboard to Azure Arc. The script does the following:
- Windows:
a) Downloads the Azure Arc agent from Microsoft Download Center.
b) Installs and configures the agent on the servers.
c) Authenticates with Azure (interactive or non-interactive).
d) Creates an Azure resource for...