How to download Azure VM Image(.vhd)?

ANUJ SONI 21 Reputation points
2022-03-17T08:58:34.657+00:00

I am trying to bring Cisco Cloud APIC image on Azure Stack Hub, but have no idea how to download its VM image from Azure. Can someone provide a complete roadmap of doing the same?

Azure Stack Hub
Azure Stack Hub
An extension of Azure for running apps in an on-premises environment and delivering Azure services in a datacenter.
176 questions
0 comments No comments
{count} votes

Accepted answer
  1. Prrudram-MSFT 21,461 Reputation points
    2022-03-19T13:36:15.297+00:00

    Hello @ANUJ SONI ,

    Thank you for reaching out to the Microsoft Q&A platform. Happy to answer your question.

    If you already have an azure VM running in azure and if you wants to download its disk in VHD format, there are a few available options that are documented here download-vhd
    One of the quick methods is by using disk export feature on the azure VM blade. Adding a screenshot for yoru reference
    184843-image.png

    Generate download URL :
    To download the VHD file, you need to generate a shared access signature (SAS) URL. When the URL is generated, an expiration time is assigned to the URL.

    • On the page for the VM, click Disks in the left menu.
    • Select the operating system disk for the VM.
    • On the page for the disk, select Disk Export from the left menu.
    • The default expiration time of the URL is 3600 seconds (one hour). You may need to increase this for Windows OS disks or large data disks. 36000 seconds (10 hours) is usually sufficient.
    • Click Generate URL.
      Note:
      The expiration time is increased from the default to provide enough time to download the large VHD file for a Windows Server operating system. Large VHDs can take up to several hours to download depending on your connection and the size of the VM.

    Download VHD:

    • Under the URL that was generated, click Download the VHD file.
    • You may need to click Save in your browser to start the download. The default name for the VHD file is abcd.

    Please "Accept as Answer" and Upvote if any of the above helped to help others in the community looking for remediation for similar issues.

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Carlos J Marquez 1 Reputation point
    2022-09-19T16:30:51.207+00:00

    do you know if this has any cost for downloading a .VHD from azure

    0 comments No comments