none
How can I download a VM image from Azure to local machine RRS feed

  • Question

  • Does anyone know how I can download the images that you can see hosted on Azure? For example this image "azure.vm_image = 'b39f27a8b8c64d52b05eac6a62ebad85__Ubuntu-15_10-amd64-server-20151116.1-en-us-30GB"

    I'd like to do this so I can vagrant up locally the same image.

    Thursday, January 7, 2016 6:24 PM

Answers

  • Well you can create fresh VM with that image and download that VHD before doing any custom configuration.

    Use copy of that VHD for each new VM you want to run.

    Or you can also create fresh VM with image you want and then create your image by following this:

    https://azure.microsoft.com/en-us/documentation/articles/virtual-machines-linux-capture-image/


    Mustafa Toroman


    Thursday, January 7, 2016 7:28 PM
  • As Mustafa mentioned below, your answer is likely in creating your own custom image, then using that locally and in Azure. Here is a link to a channel 9 video on creating custom VMs in azure using the new Azure Resource Manager method:

    https://channel9.msdn.com/Blogs/Open/Creating-a-Linux-VM-from-a-custom-image-with-Azure-Resource-Manager-ARM

     

    • Marked as answer by Steven_Parsons Thursday, January 7, 2016 9:54 PM
    Thursday, January 7, 2016 7:38 PM

All replies

  •    In the old portal manage.windowsazure.com  you navigate to storage, go to the storage account that is associated with your VM,  go to the containers tab,  click on the "vhds" container, highlight the vhd you want and click download on the bottom of the screen.

     (I have not tried yet in the new portal)

    You can also use powershell using the Save-AzureVhd command.

    -------

    If this answer was useful for you, please mark it as the answer :)

    Thursday, January 7, 2016 6:44 PM
  • Yes, I can do that, but want I'm after is the one that Azure provides, before its configured.

    Having this image will enable me to vagrant locally and Azure with the same image each time.

    Thursday, January 7, 2016 7:19 PM
  • Well you can create fresh VM with that image and download that VHD before doing any custom configuration.

    Use copy of that VHD for each new VM you want to run.

    Or you can also create fresh VM with image you want and then create your image by following this:

    https://azure.microsoft.com/en-us/documentation/articles/virtual-machines-linux-capture-image/


    Mustafa Toroman


    Thursday, January 7, 2016 7:28 PM
  • As Mustafa mentioned below, your answer is likely in creating your own custom image, then using that locally and in Azure. Here is a link to a channel 9 video on creating custom VMs in azure using the new Azure Resource Manager method:

    https://channel9.msdn.com/Blogs/Open/Creating-a-Linux-VM-from-a-custom-image-with-Azure-Resource-Manager-ARM

     

    • Marked as answer by Steven_Parsons Thursday, January 7, 2016 9:54 PM
    Thursday, January 7, 2016 7:38 PM
  • Thanks, that should help me.
    Thursday, January 7, 2016 9:55 PM