When I tried to create mulitiple VMs using a previously captured vhd image, I got the following exception:
The disk's VHD must be in the same account as the VHD of the source image
so I tried to copy the vm image from one account to cloud service specific account....
the_image_blob = 'https://manage.windowsazure.com/@cchsiang032014yahoo.onmicrosoft.com#Workspaces/StorageExtension/StorageAccount/portalvhds10ssz63zgvb9g/Container/vhds/Blobs'
the_image_name = 'cloudN-Azure-20150205-os-2015-02-05.vhd'
keys = sms.get_storage_account_keys(storage_name)
blob_service = BlobService(account_name=storage_name,account_key=keys.storage_service_keys.primary)
blob_service.create_container('vhds', x_ms_blob_public_access='blob')
resp = blob_service.copy_blob('vhds', the_image_name, the_image_blob)
After this, a blob is created in my new account's container, but the size of the blob is 0.
Am I missing something?