Home – New Forums Tech talk EC2 and data loss Reply To: EC2 and data loss

Divert To Mobile
  • Total posts: 2,751

Initially we had it setup with 2 servers running together and 1 elastic IP
a cron job would rsync the servers every 5 min so in the event primary server failed a simple switch of the elastic ip to the backup server would seamlessly keep everything running.
So 3 months later and not a glitch the only problem is double the costs. (well decent problem)

However as you said s3 might be the way to go. So don’t run a second server just copy the data store to s3 and append every 5 min. then if server goes down rebuild image and copy data from s3.
Downtime would be about 30min with a maximum of 5 min worth of data loss. Not so harsh for a mail server.
Thanks this might be the way to go.