Edit

Share via


Plan and deploy Azure Arc-enabled servers

Deployment of an IT infrastructure service or business application is a challenge for any company. To execute it well and avoid any unwelcome surprises and unplanned costs, you need to thoroughly plan for it to ensure that you're as ready as possible. A plan for deploying Azure Arc-enabled servers at any scale should cover the design and deployment criteria that need to be met to complete the tasks successfully.

For the deployment to proceed smoothly, your plan should establish a clear understanding of:

  • Roles and responsibilities.
  • Inventory of physical servers or virtual machines (VMs) to verify that they meet network and system requirements.
  • The skill set and training required to enable successful deployment and ongoing management.
  • Acceptance criteria and how you track its success.
  • Tools or methods to be used to automate the deployments.
  • Identified risks and mitigation plans to avoid delays and disruptions.
  • A plan to avoid disruption during deployment.
  • The escalation path when a significant issue occurs.

This article helps you prepare for a successful deployment of Azure Arc-enabled servers across multiple production physical servers or VMs in your environment.

To learn more about our at-scale deployment recommendations, you can also refer to this video.

Prerequisites

Consider the following basic requirements when you plan your deployment:

  • To support your deployment, your machines must run a supported operating system for the Azure Connected Machine agent.
  • To connect your deployment, your machines must have connectivity from your on-premises network or other cloud environment to resources in Azure, either directly or through a proxy server.
  • To install and configure the Connected Machine agent, you must have an account with elevated privileges (that is, an administrator or as root) on the machines.
  • To onboard machines, you must have the Azure Connected Machine Onboarding built-in role.
  • To read, modify, and delete a machine, you must have the Azure Connected Machine Resource Administrator built-in role.

For more information, see the prerequisites and network requirements for installing the Connected Machine agent.

Azure subscription and service limits

There are no limits to the number of Azure Arc-enabled servers that you can register in any single resource group, subscription, or tenant.

Each Azure Arc-enabled server is associated with a Microsoft Entra object and counts against your directory quota. For information about the maximum number of objects you can have in a Microsoft Entra directory, see Microsoft Entra service limits and restrictions.

Pilot

Before you deploy to all production machines, start by evaluating the deployment process before you adopt it broadly in your environment. For a pilot, identify a representative sampling of machines that aren't critical to your company's ability to conduct business. Be sure to allow enough time to run the pilot and assess its impact. We recommend a minimum of 30 days.

Establish a formal plan to describe the scope and details of the pilot. Your plan should generally include the following items:

  • Objectives: Describes the business and technical drivers that led to the decision that a pilot is necessary.
  • Selection criteria: Specifies the criteria used to select which aspects of the solution that the pilot demonstrates.
  • Scope: Describes the scope of the pilot, which includes but isn't limited to solution components, anticipated schedule, duration of the pilot, and number of machines to target.
  • Success criteria and metrics: Defines the pilot's success criteria and specific measures used to determine level of success.
  • Training plan: Describes the plan for training system engineers, administrators, etc. who are new to Azure and its services during the pilot.
  • Transition plan: Describes the strategy and criteria used to guide transition from pilot to production.
  • Rollback: Describes the procedures for rolling back a pilot to predeployment state.
  • Risks: Lists all identified risks for conducting the pilot and that are associated with production deployment.

Phase 1: Build a foundation

In this phase, system engineers or administrators enable the core features in their organization's Azure subscription to start the foundation before they enable machines for management by Azure Arc-enabled servers and other Azure services.

Task Detail Estimated duration
Create a resource group. A dedicated resource group to include only Azure Arc-enabled servers and centralize management and monitoring of these resources. One hour
Plan Tags to help organize machines. Evaluate and develop an IT-aligned tagging strategy that can help reduce the complexity of managing your Azure Arc-enabled servers and simplify making management decisions. One day
Design and deploy Azure Monitor Logs. Evaluate design and deployment considerations to determine if your organization should use an existing Log Analytics workspace or implement another workspace to store collected log data from hybrid servers and machines. One day
Develop an Azure Policy governance plan. Determine how you plan to implement governance of hybrid servers and machines at the subscription or resource group scope with Azure Policy. One day
Configure role-based access control. Develop an access plan to control who has access to manage Azure Arc-enabled servers and the ability to view their data from other Azure services and solutions. One day
Identify machines with Azure Monitor Agent already installed. Run the following log query in Log Analytics to support conversion of existing Azure Monitor Agent deployments to extension-managed agent:
Heartbeat <br> &#124; summarize arg_max(TimeGenerated, OSType, ResourceId, ComputerEnvironment) by Computer <br> &#124; where ComputerEnvironment == "Non-Azure" and isempty(ResourceId) <br> &#124; project Computer, OSType
One hour

Phase 2: Deploy Azure Arc-enabled servers

Next, we add to the foundation laid in Phase 1 by preparing for and deploying the Connected Machine agent.

Task Detail Estimated duration
Download the predefined installation script. Review and customize the predefined installation script for at-scale deployment of the Connected Machine agent to support your automated deployment requirements.

Sample at-scale onboarding resources:

  • At-scale onboarding VMware vSphere Windows Server VMs
  • At-scale onboarding VMware vSphere Linux VMs
  • At-scale onboarding AWS EC2 instances by using Ansible
One or more days depending on the requirements, organizational processes (for example, Change and Release Management), and automation method used.
Create service principal. Create a service principal to connect machines noninteractively by using Azure PowerShell or from the portal. One hour.
Deploy the Connected Machine agent to your target servers and machines. Use your automation tool to deploy the scripts to your servers and connect them to Azure. One or more days depending on your release plan and if following a phased rollout.

Phase 3: Manage and operate

Phase 3 is when administrators or system engineers can enable automation of manual tasks to manage and operate the Connected Machine agent and the machines during their lifecycle.

Task Detail Estimated duration
Create a Resource Health alert. If a server stops sending heartbeats to Azure for longer than 15 minutes, it can mean that the server is offline, the network connection is blocked, or the agent isn't running. Develop a plan for how to respond and investigate these incidents and use Resource Health alerts to get notified when they start.

Specify the following items when you configure the alert:
Resource type = Azure Arc-enabled servers
Current resource status = Unavailable
Previous resource status = Available
One hour
Create an Azure Advisor alert. For the best experience and most recent security and bug fixes, we recommend that you keep the Connected Machine agent up to date. Out-of-date agents are identified with an Azure Advisor alert.

Specify the following items when you configure the alert:
Recommendation type = Upgrade to the latest version of the Azure Connected Machine agent
One hour
Assign Azure policies to your subscription or resource group scope. Assign the Enable Azure Monitor for VMs policy (and others that meet your needs) to the subscription or resource group scope. With Azure Policy, you can assign policy definitions that install the required agents for VM insights across your environment. Varies
Enable Azure Update Manager for your Azure Arc-enabled servers. Configure Azure Update Manager on your Azure Arc-enabled servers to manage system updates for your Windows and Linux VMs. You can choose to deploy updates on-demand or apply updates by using a custom schedule. 5 minutes