How to Configure and Onboarding VMs to Azure Arc Hybrid

Introduction

Azure Arc is a Microsoft offering that extends Azure services and management capabilities to resources outside of the Azure cloud. It allows organizations to manage and govern resources across different environments, including on-premises, other public clouds, and the edge. With Azure Arc, you can bring Azure services like resource management, policy enforcement, monitoring, security, and automation to your non-Azure environments, providing a unified management experience.

Prerequisites 

  • Azure Subscription 
  • On-premises or other cloud-provided VMs 
  • Virtual machines Administrator privileges

Use cases

  1. Hybrid Cloud Management
  2. Multi-Cloud Management
  3. Edge Computing
  4. Azure Data Services Anywhere
  5. Governance and Compliance
  6. Application Modernization

Step 1.  This is my Resource Group

Configure and Onboarding VMs to Azure Arc Hybrid

Step 2. Search Azure Arc on Azure Marketplace 

Note. There are a few options you can see here select Servers -Azure Arc

Configure and Onboarding VMs to Azure Arc Hybrid

Step 3. Hit the create button.

Configure and Onboarding VMs to Azure Arc Hybrid

Step 4. Now you can see here multiple options, and as per your requirement, you can choose the option. In my case, I’m going to pick Add a single server option. And generate the scripts and run them on your on-premises server.

Note. You must have Administrator or Enterprise administrator privileges on the server

Configure and Onboarding VMs to Azure Arc Hybrid

Step 5. Certain ports need to be enabled on your on-premises infrastructure.

Please learn more about Allow Ports

Configure and Onboarding VMs to Azure Arc Hybrid

Step 6. Make sure the project details are correct, and click next.

Configure and Onboarding VMs to Azure Arc Hybrid

Step 7. Leave the default tags as it is.

Configure and Onboarding VMs to Azure Arc Hybrid

Step 8. Now you can download or copy the scripts here.

Configure and Onboarding VMs to Azure Arc Hybrid

Installation of Azure Arc agent on your VM

Step 1. This is my On-premises VM Hoisted by VMware

Configure and Onboarding VMs to Azure Arc Hybrid

Step 2. Please run the script from your VMs or Physical servers

Note. PowerShell opens as an administrator, and it will run and automatically ask you to sign in with Azure AD credentials.

Configure and Onboarding VMs to Azure Arc Hybrid

Step 3. It automatically pops up for you to sign in.

Configure and Onboarding VMs to Azure Arc Hybrid

Step 4. Once you are done with the correct sign-in, you can be able to see the Connected machine to Azure.

Configure and Onboarding VMs to Azure Arc Hybrid

Step 5. You can see the Azure Arc Agent on your VM.

Configure and Onboarding VMs to Azure Arc Hybrid

Step 6. My On-premises VM is located under my Resource Group

Configure and Onboarding VMs to Azure Arc Hybrid

Step 7. Successfully Onboarded my on-premises VM to Azure Portal.

Configure and Onboarding VMs to Azure Arc Hybrid

Step 7. Now you can manage all the operations to the VM using the Azure portal.

For example, If you want to install any application, you can execute from extensions 

Configure and Onboarding VMs to Azure Arc Hybrid

Conclusion

This article taught us how to configure a VM running on VMware as an Arc-enabled server. If you have any questions, don't hesitate to comment below.