Technology my Life
Working on Cloud Computing - Office 365 Windows Azure - Infra area
Thursday, July 4, 2013
Copy Virtual Machines in Azure from One Subscription to Another
Why do I need to copy VM in Azure to another subscription -
( most heard or possible scenarios )
a) Free Trial account about to expire, so transfer the VM to a new Trail account. :-)
b) Move the VM from personal account to paid subscription account.
c) Move VM to a subscription that is closer to your base work location (e.g. EU or Asia)
I have tried to provide the prerequisite and possible solution, hope you all like it.
: Download and install the Node.js tool from http://nodejs.org
Then, run the following command from
Node.js command prompt
npm install azure–cli
(Need to run in administrator mode).
sudo npm install azure–cli
(Need to run this command with elevated privileges).
To make sure your installation was successful, type
in the command prompt. To list all the Azure related commands.
Command - azure vm disk upload
"Source VHD Path" "New Azure Subscription Azure destination path" "Destination Storage Account Key"
azure vm disk upload “http://sumitsancheti.blob.core.windows.net/vhds/sample.vhd” “http://sumit-newazure.blob.core.windows.net/vhds/sample.vhd” “DESTINATIONSTORAGEACCOUNTKEY”
Hope the above was helpful.
Please share your views, as it will help me to be a better blogger.
Next Article to be Published : How to copy Virtual Machines running in Azure to local machine?
Share to Twitter
Share to Facebook
Share to Pinterest
New South Wales, Australia