Skip to main content

Attaching a Custom Disk to an Existing VM in Microsoft Azure

Hands-On Lab


Photo of

Training Architect





In this lab, we walk through the steps for uploading a VHD data disk with both PowerShell and the Azure Portal. This lab simulates a scenario with an on-premises environment that has a data file we need to upload and attach to an existing virtual machine located in the Azure Cloud.

These are very important procedures. In the role of an Azure administrator, we may need to migrate data or virtual machines from an on-premises environment into the Azure Cloud.

We will accomplish these tasks primarily within the Azure Portal using the GUI and PowerShell.

The learning outcomes include the following:

  • Gaining an understanding of the PowerShell command and the parameters required for uploading a VHD file into the Azure Storage Account.
  • Understanding of the different components within the Azure Storage account and how they relate to the blob storage service and the VHD file.
What are Hands-On Labs?

Hands-On Labs are scenario-based learning environments where learners can practice without consequences. Don't compromise a system or waste money on expensive downloads. Practice real-world skills without the real-world risk, no assembly required.