Pages

Wednesday, June 13, 2012

Simple Steps to create AMI in Amazon

1. Create an EBS volume
2. Start an instance from your AMI
3. Attach the volume created in step 1 to the instance created in step 2
4. Create an ext3 file system on the volume
5. Mount the volume
6. Copy all files from the instance to the volume (rsync -aHx --exclude '/proc/*' --exclude '/sys/*' /* /mnt/)
7. Umount and detach the volume
8. Create a snapshot from the volume
9. Register the snapshot as AMI

No comments:

Post a Comment