How to manage servers using Azure Arc part 1
In this new series we will cover how to manage your server environment using Azure Arc.
But first, what is Azure Arc?
Azure Arc is the place to manage your servers if you are allowed to have them internet connected. It simplifies governance and the management by being able to manage both cloud servers and on-prem environments. It gives you an easy overview if your servers are compliant, which is very close to how we manage clients in Microsoft Intune.
In part 1 we will cover how to get started and have your first server managed by Azure Arc.
Read more about its key features here Azure Arc overview – Azure Arc | Microsoft Docs
Overview of the series:
- Part 1 – Enabling Azure Arc (this post)
- Part 2 – Fundamental’s (log analytics and automation account)
- Part 3 – Update Management
- Part 4 – Change tracking and inventory
- Part 5 – Configuration policies
- Part 6 – Security (Defender for Servers)
- Azure subscription
- Resource Group (I called mine "ARC")
- Supported platforms Connected Machine agent prerequisites – Azure Arc | Microsoft Docs
- Permissions to onboard Connected Machine agent prerequisites – Azure Arc | Microsoft Docs
- Network requirements Connected Machine agent network requirements – Azure Arc | Microsoft Docs
I have a resource group called ARC.
Before proceeding we need to make sure the subscription has the resource providers ready:
When the resource providers has been added we can search for "Arc" in the portal.
Under "Add your infrastructure for free" Click Add
Under Servers click add
Choose the resource group you created prior to this blog post "ARC"
Choose a region and Operating system that fits you. In this case North Europe and Windows.
For governance sake add some tags that fit into your environment.
Download the script.
Add the script to the server you like to onboard.
Start PowerShell elevated
Run the script
The script will ask you to open a browser and browse https://microsoft.com/devicelogin and enter the code.
You will be asked to insert your credentials which have permission to add the server to Azure Arc
You can close the browser now
A while later it will tell you it was onboarded.
And if you go to the Azure Arc portal under servers you can now see my server and start managing it.
Modern server management using Azure Arc is cool. It really has its potential and it is easy to use. If you have not yet seen this area of managing, you better get started.