Backup EC2 instances

amazon ec2amazon-ebsamazon-web-servicesbackup

I found a lot of questions to this topic already, but I'm still not 100% sure what's the best approach to do so.

The option I'd prefer is using EBS snapshots. The pros would be that I can spin up a new AMI, detach the volume and attach the new one from the snapshot, without having much downtime.

I've read that an EBS snapshot in a running system is not the best idea, because the OS still writes something to the disk, but I'm not sure if it's a huge deal. I have two web server, so if I snapshot them while running that won't have a big impact, because I wouldn't loose any important data. All important data are stored in a RDS database and are already backed up.

Doing a file system level backup would be a second option and I'd have my files, but the recovery process would take longer and we can't afford have much downtime.

What would you recommend to do in this case?

Best Answer

EBS snapshots are fine. I'm currently using Skeddly to run EBS Snapshots and it's running great so far. See my post: https://stackoverflow.com/questions/17087542/backup-solutions-for-aws-ec2-instances/21284794#21284794

As you said, if you don't have any database running on the instance it's fine. Otherwise you would have to also backup the databases to avoid data integrity issues.