Here's what I do.
1) Download my AMI from Amazon S3, which results in lots of image.part.01 type files and the image.manifest.xml file.
2) Re-bundle into a single image with something like this:
/usr/local/ec2/amitools/unbundle -m image.manifest.xml -k pk-MYBIGAMAZONPRIVATEKEY.pem -d .
3) Un-bundle into an EMI image with:
euca-bundle-image -r i386 -i [image from step 2]
4) Upload bundle:
euca-upload-bundle -b myimagebucket -m /tmp/image.manifest.xml
5) Register
euca-register myimagebucket/image.manifest.xml
I was not successful at downloading the AMI as parts and directly uploading to Eucalyptus. It required the unbundle/bundle steps to make it work. I'm not sure why, but this process does work for me quite successfully.
I was not successful at downloading the AMI as parts and directly uploading to Eucalyptus. It required the unbundle/bundle steps to make it work. I'm not sure why, but this process does work for me quite successfully.
That is because the image is encrypted with your Amazon credentials. Unbundle will decrypt the image and bundle will encrypt it with your Eucalyptus credentials.
hope that helps
neil