If you're being prompted for Plan, you have a Marketplace offer-even if it's free. Plan information is metadata Microsoft uses to track Marketplace offers. To create a VM from an image, specifying a plan you can do: az vm create -name -location -image -admin-username -admin-password -plan-name centos-8-0 -plan-product centos-8-0 -plan-publisher skylarkcloud -g You cannot do this through the portal, so you need to use CLI or PS to do this. So this issue seems to be related to the fact that the image in use has a fee, so you need to select a plan when deploying it. You can use this image to create a new VM by following the steps in this article. The capture image process should have created a managed image object (assuming your VM used managed disks). Instead you will need to create a VM in your desired region from that image. Unfortunately, if you've not already enabled replication of the VM in site recovery you don't have the option to do that, because you captured a VM image, so the machine is no longer working. You can move an Azure VM to another region pretty easily using Azure Site Recovery, and there are details on how to do this here. More generally why is something so basic as duplicating a VM so horrendously complex to achieve in practice with Azure? Why do I need a 'plan'? Where do I even put this configuration information? The only link discussing this is which is not helpful. "Creating a virtual machine from Marketplace image or a custom image sourced from a Marketplace image requires Plan information in the request" When I try to create a VM from my snapshot I get: I have also captured the original VM (which renders it unusable - see ). I'm trying to do it via the portal but I'm having problems at every turn. I've been trying to work out how to move a VM from one region (WestUS) in one resource group to another region in another resource gorup (WestEurope).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |