Home > Uncategorized > Amazon EC2 Stuff

Amazon EC2 Stuff

Bundle EC2 image and save it to S3 :

/etc/init.d/mysql stop # make sure mysql is not running

ec2-bundle-vol -d /mnt -k /mnt/<your pk>.pem 
    -c /mnt/<your cert>.pem -u <your AWS account name> -r i386
ec2-upload-bundle -b <your-s3-bucket> -m /mnt/image.manifest.xml 
    -a <your AWS access key ID> -s <aws-secret-access-key>

register your AMI :

ec2-register <your s3 bucket>/image.manifest.xml
Categories: Uncategorized Tags:
  1. No comments yet.
  1. No trackbacks yet.