Create Azure VM from image created under different subscription

两盒软妹~` 提交于 2019-12-05 05:26:49

I don't think you can use images created in one subscription to create VMs in another subscription. You would need to copy those images into your subscription. Since images are nothing but Page Blobs in your storage account, you would need to copy them into a storage account in your target subscription, create images off of them and then deploy VMs. I'm not aware of any other way around it.

Regarding your comment about requires purchase of third party software, that's not really true. You don't have to buy 3rd party software. The main thing is to move your VHDs (which are page blobs) from one subscription to another. Do take a look at Step 1 - Copy Blobs in that blog post. It has a link to console application with source code that you can use to copy blob across. I used Cloud Storage Studio to explore my blob storage. You can use any other storage explorer to check the contents of blob storage (including Windows Azure portal). Cerebrata recently released a free blob storage explorer which you may want to check out: http://www.cerebrata.com/labs/azure-explorer.

Unfortunately that's the only way that I know of to create Azure VMs from images created under different subscriptions.

Milind Patil

Migrate your image to your subscription.

Images are stored as .vhd files in Azure Storage Account. Copy the .vhd file of your Azure VM Image from existing subscription to the desired subscription. You need to have access to both subscriptions. You can use the follwing tool to automate this process :

The Azure Data Center Migration Solution (ADCMS) is designed to address common migration scenarios, such as moving to a closer data center with lower latency; deploying the same solution configuration to multiple data centers; or even moving between subscriptions, such as from an MSDN test account to a full production deployment.

See this blog post for more information : Azure Data Center Migration Tool Blog

This is now possible using Azure Shared Image Galleries

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!