Reputation: 75
I have a storage account with as OS-disk blob and would like to redeploy the VM. Under the classic deployment system I could simply choose from disk when creating a new VM, but I cant find that functionality on the new portal, it only offers the marketplace. The disk is in the new format so I cant use the classic portal. Thanks
Upvotes: 3
Views: 8091
Reputation: 1066
As noted in the comments, you can't do this end-to-end in the new portal yet.
Here's an Azure Resource Manager template to deploy a VM from an OS-disk blob: https://github.com/Azure/azure-quickstart-templates/tree/master/201-vm-specialized-vhd-new-or-existing-vnet Using the "Deploy to Azure" button takes you to the new portal to enter parameters. The readme also includes PowerShell instructions.
This write-up also covers capturing an image, and links to some of the options for creating the image using different versions of PowerShell.. http://www.codeisahighway.com/how-to-capture-your-own-custom-virtual-machine-image-under-azure-resource-manager-api/
Upvotes: 3