A quick conclusion of the backup method for my EC2.
Instance backup goes into AMI (monthly backup)
- OS and Applications installed
Since /mnt is exclude default from the ec2-bundle-vol. So it is safer to store any sensitive information such as AWS secret keys.
ln –s /mnt/.my.cnf ~/.my.cnf ln –s /mnt/.awssecret ~/.awssecret
Procedure: Create AMI for Ubuntu on Amazon EC2
Data Backup using EBS (daily backup using cron job)
- MySQL and Nginx Hosting content
Procedure: Automated the snapshot process