Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have an AMI which was created from a base AMI on Amazon. I would like to bring a copy of this internally to run for development. I have downloaded the .manifest & part00-50 files (approx 550mb) from my S3 bucket. Unsure how to convert into my local Xencenter however.

I have checked google, and nobody else seems to have tried this as yet. Any suggestions would be great.

Thanks- Alistair

share|improve this question

2 Answers 2

up vote 3 down vote accepted
+50

The .img file, from ec2-unbundle, is the file that typically uses extension .raw on some virtualization platforms - It's just the raw disk contents byte-for-byte.

Most virtualization software can use this .raw file as the disk - I haven't done much with XEN, but VirtualBox and QEMU will both use it fine - HyperV and Virtual Server will need it converted to VHD format. I would expect XEN to use it.

A quick google for xen and raw shows this may be the command (but a lot of useless posts came back so not sure):

disk = [ 'file:/home/xen/ec2image/ec2file.img,hda,w' ]

NOTE: You will likely have driver issues, you didn't say if this is windows, linux or other. It will likely detect new hardware.

LICENSES: If this is Windows you are going to have license issues (perhaps not technical but definately legally speaking).

share|improve this answer

ec2-unbundle: http://docs.amazonwebservices.com/AmazonEC2/dg/2006-10-01/CLTRG-ami-unbundle.html This is a raw disk image which is what Xen uses.

share|improve this answer
    
Still not sure exactly how this command works to convert into a Xen image that I can run on my local XenCenter? –  AliGibbs Nov 8 '10 at 15:44

Your Answer

 
discard

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.