Ask Your Question
0

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

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

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: http://docs.openstack.org/image-guide... ), 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
1

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

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

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.

http://techblog.netflix.com/2013/03/a... http://www.logilab.org/115219 http://docs.openstack.org/image-guide...

edit flag offensive delete link more

Comments

Thanks for the reply!

The logilab.org 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: http://blog.justinsb.com/blog/2012/04... 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 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

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

Seen: 333 times

Last updated: Mar 22 '14