Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to download a Amazon EC2 image and have it run on a local (Ubuntu powered) Eucalyptus? If that's possible how?

I will eventually build a local could based on Ubuntu 10.10 but until then I would like first to start the development on the Amazon EC2 and when I get my hardware to move that EC2 image to my local machine.

share|improve this question

You should be able to do that. I haven't kept up with Eucalyptus so I don't know the exact steps but it would be something like this:

  1. Assuming you have used an EBS backed instance you would halt the instance when you are ready to copy it. Make sure you don't terminate it or you might have your EBS volume deleted. You could also take a snapshot of the volume instead.

  2. Boot another instance and attach the volume for the first instance to it.

  3. Copy the contents of the volume. Something like dd if=/dev/sdh of=ec2instance.img

  4. Use the Eucalyptus instructions for creating your own image. Skip the steps about creating the image and instead use the one from EC2.

YMMV due to device mappings but it should be something you can fix by mounting the raw image via a loopback device and editing the contents of your /etc/fstab, etc.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.