[CentOS] Amazon EC2 - building a minimal centOS ebs bootable image

Sat Jan 29 17:17:16 UTC 2011
Rainer Traut <tr.ml at gmx.de>

Am 29.01.2011 16:32, schrieb Sanjay Arora:
> On Sat, Jan 29, 2011 at 7:46 PM, Rainer Traut<tr.ml at gmx.de>  wrote:
>>
>> To get an image into the cloud I did:
>> - format a 10GiB file with ext3
>> - install a minimal centos to it (yum with --installroot option)
>> - put this into S3 as an AMI
>> - start an instance of it
>> - clone this to an EBS file with rsync
>> - make a snapshot of this EBS
>> - convert this snapshot to an EBS AMI
>> - use your EBS instances...
>>
> Looking exactly for something like this...but more detailed. I have
> slow dsl...so I would rather use somebody else's centos image to build
> my own.
>
> Have found many howtos but all seem to be for just for copying some
> other ami and then reconfiguring it, or else they are too technical
> for me to dive into.
>

For building the image:
http://bodgitandscarper.co.uk/category/amazon-ec2/

But as I said I had to use another mkinitrd cmd.

The image will be compressed once you upload it, mine was around 300mb.

Rainer