Azure Arc-enabled servers lets you manage Windows and Linux physical servers and virtual machines hosted outside of Azure, on your corporate network, or other cloud provider. This management experience is designed to be consistent with how you manage native Azure virtual machines, using standard Azure constructs such as Azure Policy and applying tags.
https://docs.microsoft.com/en-us/azure/azure-arc/servers/overview
Prerequisites
- Physical servers and virtual machines hosted outside of Azure. Azure Arc-enabled servers do not support installing the agent on virtual machines running in Azure, or on virtual machines running on Azure Stack Hub or Azure Stack Edge, as they are already modeled as Azure VMs and able to be managed directly in Azure.
- In this case, the lab will use an on-premises Virtual Machine Linux Ubuntu 20 VM. Arc supports the following operating systems https://docs.microsoft.com/en-us/azure/azure-arc/servers/prerequisites#supported-operating-systems
- Local admin privileges on Virtual Machine
TODO. Add
Get subscription, copy an create a env variable
az account show
mySubscriptionId=********
Create a group of Azure resources; we will use the SSH access function (PREVIEW). For that reason, we are going to create it in the eastus region
myRG=demoArcEdge
myRegion=eastus
az group create --name $myRG --location $myRegion
Go to the Azure portal and Create a new resource, in IT& Management Tools, Select Create Server - Arc
In Add Servers with Arc, select Add single server option and click on Generate script button
Select subscription, Recourse Group and Linux in Operating system
Select Next
Define your locations tags and next
Don’t close the window and copy the script.
In your VM paste the script
Last script requires authenticate in the portal, please open the URL and put the verification code
When you done, return to Azure and validate in your RG the Server – Azure Arc
Now you can manage this server with Azure
Go to Insights and click on Enable button.
Select Azure Monitor agent and click on Configure
Lab01 – Azure Arc for servers - Onboarding existing Linux Server.
Lab03 – Installing Azure IoT Edge via Azure Arc for Servers.
Lab04 – Azure Edge Deployments Layered
Lab05 – Implementing microk8s.
Lab06 – Azure Arc for Kubernetes
Lab07 – Dapr
Lab08 - DevOps
Lab09 - Working with GitOps on Arc