Membership Membership:
Latest New User Latest: vpros
Past 24 Hours Past 24 Hours: 0
Prev. 24 Hours Prev. 24 Hours: 0
User Count Overall: 137

People Online People Online:
Visitors Visitors: 8
Members Members: 0
Total Total: 8

NakedMCSE Computer Tech Support Forums

So you have passed all of the exams and you are now out in the real world of windows servers, linux servers and freebsd servers faced with a tech support problem you have never seen before...

Find free online tech support in the forums below, respecting that advice is free, but work beyond advice is not...

The General forum is provided for off topic discussion.

You need a user account to post - please Register or Login.

Online Tech Support Forums
  Forum  Discussions  General  EC2 - Modifying an existing AMI
Previous Previous
Next Next
New Post 9/25/2009 9:36 PM
119 posts
10th Level Poster

EC2 - Modifying an existing AMI 

Boot an instance of the image you wish to modify.

Copy your private key (the keypair you use to login to the server) and your server certificate (downloadable as the x509 cert from your access identifiers page) to the instance you just booted.  Put them in the /mnt directory so that they will not get copied into the modified AMI image.

mkdir /mnt/ami

ec2-bundle-vol -d /mnt/ami -k /mnt/privatekey.pem -c /mnt/servercert.pem -u <your AWS user id> 

ec2-upload-bundle -b <your AWS bucket for storing the image> -m /mnt/ami/image.manifest.xml -a <your public access key> -s <your secret access key>

ec2-register <AWS bucket where you stored the image>/image.manifest.xml

or choose register AMI on the AWS console and fill in the path to the manifest file.

Lairds Computer Services


Previous Previous
Next Next
  Forum  Discussions  General  EC2 - Modifying an existing AMI
Send me One Million FREE Guaranteed Visitors