A Microsoft cloud service that enables deployment of Azure services across hybrid and multicloud environments.
Follow https://learn.microsoft.com/en-us/azure/azure-arc/servers/quick-onboard-linux
- Configure the Microsoft package repository on your machine. For example, for Ubuntu 24.04, perform the following steps:
- Download
packages-microsoft-prod.deb. This is the Debian package that configures your system to use the Microsoft package repository. - Install the package:
sudo dpkg -i packages-microsoft-prod.deb
- Download
- Install the Connected Machine agent using your package manager:
sudo apt update && sudo apt install azcmagent - You need to know the subscription ID for your Arc server Azure resource. You can check this in Azure portal by searching for Subscriptions, looking for the Subscription name and noting the Subscription ID. You can also view your subscription IDs by running the following Azure CLI command and note the one you'll use for your Arc servers:
az account show --query "{subscriptionId: id}" --output tsv - Onboard your Linux machine to Azure by using the
azcmagentconnect command, using the subscription ID you noted in the previous step. You also need to specify the Azure region and resource group in which to create the Arc-enabled server resource. If you need to create a new resource group, run this Azure CLI command:az group create --name <rg-name> --location <Azure-region>.
If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.
hth
Marcin