Any good guide on how to create AMI Ubuntu/Debian images?

asked 2014-03-21 15:25:08 -0600

cyberang3l gravatar image

I want to create an AMI Ubuntu image for OpenStack (that kernel and initrd is loaded externally).

I have found lots of material explaining how to create a qcow image (Here is one: ), but I am not aware of any good source explaining how to create an AMI style image.

Any good tutorial accomplishing this task or anyone to explain the process?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-03-22 12:06:48 -0600

updated 2014-03-22 15:25:16 -0600

You can typically find most popular images in all sorts of formats, from ISO, to RAW, to QCOW to an AMI bundle which are typically in a compressed tar file with an AMI, AKI and ARI files within.

Also few links below for tools. Basically you taking a OS image file and extracting out the Disk, Kernal, and Initrd files. I do have instructions on how to do this, its lots of steps. Reply back and I will dig it up and post it.

edit flag offensive delete link more


Thanks for the reply!

The link looks good (I will try it), but do you have any clue if it is possible to get the same results by using debootstrap. It should be, but the actual question is how. This is convenient when you want to automate image building process. I tried this: but my VM would not boot when I extracted the kernel and initrd.

My end goal is that I want to create an image and compile a custom driver which I need it to be loaded when the system boots.

Can you also post the instructions you have whenever you find it?

cyberang3l gravatar imagecyberang3l ( 2014-03-24 05:27:49 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-03-21 15:25:08 -0600

Seen: 369 times

Last updated: Mar 22 '14