Need to create a VM from a VHD that I uploaded to a container in a new account

Luis Garcia 1 Reputation point
2021-08-02T16:47:50.663+00:00

I uploaded a VHD file to a new account. I uploaded the VHD file to a container in the new account. I would like to create a VD from the VHD file in the new account. I would appreciate some help figuring how to accomplish this.

Thanks,

Luis

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,683 questions
{count} votes

1 answer

Sort by: Most helpful
  1. KarishmaTiwari-MSFT 20,677 Reputation points Microsoft Employee
    2021-08-06T00:51:07.227+00:00

    You can create a virtual machine (VM) in Azure using Azure portal, Azure Powershell.

    Using Azure Portal, you can create a new VM by attaching the VHD to the new VM as an OS disk. Create a snapshot and then create a disk from the snapshot. This strategy allows you to keep the original VHD as a fallback. After you have the managed disk VHD that you want to use, you can create the VM in the portal. The steps are described here.

    You can also use PowerShell to upload a VHD of a generalized VM to Azure, create an image from the VHD, and create a new VM from that image. You can upload a VHD exported from an on-premises virtualization tool or from another cloud, as described here.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.