Use Azure Arc to Onboard a Virtual Machine

30 minutes
  • 3 Learning Objectives

About this Hands-on Lab

In this lab, you will learn how to onboard an “on-premises” virtual machine into Azure Arc. You will use SSH to connect to a Linux VM, run the onboarding script generated from the Azure Arc service, and view the onboarded VM in the Azure Arc portal.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Generate a script from Azure Arc

Using the credentials provided in the lab page, login to the Azure portal and generate a single server script in Azure Arc.

Connect and Onboard the VM into Azure Arc

Connect to the “on-premises VM” using the credentials provided in the lab page.

Once connected, run the script (as admin or using sudo) that has been generated from Azure Arc. Please note, you’ll need an SSH client to make the connection.

Verify the VM Has Been Onboarded into Azure Arc

Once you have a success message from the output of the script, return to the Azure Arc page and verify that the VM has been successfully onboarded.

Additional Resources

In this hands-on lab scenario, you are a cloud engineer at Beep-Beep Incorporated, a leading producer of electric cars. Your company has been utilizing Azure public cloud for some time now as a standalone environment but now wants to use Azure to manage their on-premises virtual machines. In order to do this, you will need to utilize Azure Arc to onboard the on-premises VM.

What are Hands-on Labs

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?