Hello,
there shouldn't be too many differences: just be sure you include the module for the corresponding kenel/initrd and then the images should be interchangable. Just change the credentials to EC2 (you can check you have the right endpoint and credentials with euca-describe-availabilty-zones) then bundle and upload the image.
Let us know how it works for you!
cheers
graziano
Hi,
thanks for your help so far.
I did not get it working with the euca/ec2 command line tools.
Following the steps I have done:
I changed the EC2 credentials as well as the endpoint. This works, so that the commands "euca-bundle-image" as well as "euca-upload-bundle" are doing fine. The image's parts are uploaded to my AWS S3 bucket. But if I try to execute the command "euca-register", I get the following error:
Server.InternalError: An internal error has occurred
The same error appears, if I use the ec2 tools...
Because the error gives no hint about the failure, I created a new Amazon image at EC2 with the needed software by hand. This solution works for me.
Now I have another problem: Is it possible to use one keypair for starting and accessing instances via ssh at the private Eucalyptus as well as at the Amazon EC2 cloud?
Thanks for help!
Richard
Hello Richard,
I'm getting a bit confused here: are you mixing Eucalyptus and EC2 endpoints when using the commands? What I mean is that you should be able (with EC2 credentials) to download images, unbundle it, check that the image contains the modules needed for your Eucalyptus cloud, switch to Eucalyptus credentials (source eucarc), bundle the image, upload it and register it.
The error you are mentioning seems very generic: can you post here the exact sequence of commands you used? Aldo can you check on the CLC in the log for related errors? Have you tried to upload one of our images? Did you have any problem registering it?
cheers
graziano
Hi,
thanks for your answer.
I think it is not clear what I wanted to do:
I wanted to upload, bundle and register my Eucalyptus image to Amazon EC2.
Therefore I changed the endpoint and credentials to the one I use for Amazon EC2. As an example the command euca-describe-availability-zones gives the following output:
AVAILABILITYZONE eu-west-1a available
AVAILABILITYZONE eu-west-1b available
So the credentials as well as the endpoint should be right.
Now I bundled my image and uploaded the bundle to ec2. First Itried the eucalyptus command (euca-bundle-image, euca-upload-bundle). This works fine. But when I want to register (euca-register) the uploaded bundle, I got the mentioned error. Afterwards I tried the same with the ec2 command (ec2-bundle-image, ec2-upload-bundle and ec2-register) but got the same error.
Maybe it is possible, that the Eucalyptus image does not contains alle needed modules to run in the EC2.
Now I have created a new image at EC2 by hand with the needed software. This is a solution for my problem.
Thanks for help!
Richard