Step by Step Guide: How to configure Azure ARC and add on premises servers

Here are the steps to configure Azure Arc and add on-premises servers:

  1. Create an Azure Arc-enabled server group
  • Sign in to the Azure portal (https://portal.azure.com/).
  • Search for and select “Azure Arc” in the search bar.
  • Click on “Servers” in the left-hand menu and then click “Add”.
  • Select the subscription and resource group where you want to create the server group.
  • Choose a name for the server group and select the region where you want to deploy it.
  • Click “Review + create” and then “Create” to create the server group.
  1. Prepare the on-premises server
  • Install the Azure Arc agent on the on-premises server. You can download the agent from the Azure portal by selecting your server group and clicking “Add Server”.
  • Open a PowerShell window as an administrator and run the following command to install the agent:bash
.\AzureConnectedMachineAgent.msi /quiet /qn /norestart

Once the agent is installed, run the following command to connect the server to Azure Arc:

php
  • Connect-AzAccount Register-AzConnectedMachine -ResourceGroupName <ResourceGroupName> -Name <ServerName> -Location <Location>
  • Replace <ResourceGroupName>, <ServerName>, and <Location> with the appropriate values for your environment.
  1. Manage the on-premises server with Azure Arc
  • After the server is connected to Azure Arc, you can manage it using Azure management tools and services, such as Azure Policy, Azure Security Center, and Azure Monitor.
  • To view the server in the Azure portal, select your server group and click “Servers”. You should see your on-premises server listed along with any other servers you have added to the server group.
  • To apply policies to the server, select your server group and click “Policy”. You can create custom policies or use built-in policies to enforce compliance and security standards on your servers.
  • To monitor the server, select your server group and click “Monitor”. You can view metrics, logs, and alerts for the server using Azure Monitor.

Here are some examples of how you can use Azure Arc to manage on-premises servers:

  • Apply Azure policies to on-premises servers to ensure they are compliant with your organization’s security and compliance standards.
  • Monitor on-premises servers using Azure Monitor to identify performance issues and troubleshoot problems.
  • Deploy and manage applications on on-premises servers using Azure Kubernetes Service (AKS) Engine.
  • Use Azure Security Center to detect and respond to security threats on on-premises servers.
Author: tonyhughes