Providing high availability and failover using MySQL on EC2

Posted by crb on Server Fault See other posts from Server Fault or by crb
Published on 2010-03-04T16:12:22Z Indexed on 2012/11/07 17:04 UTC
Read the original article Hit count: 261

I would like to have a highly-available MySQL system, with automatic failover, running on Amazon EC2 instances.

The standard approach to solving this is problem Heartbeat + DRBD, but I've found a lot of posts suggesting DRBD doesn't work on EC2, though none saying exactly why. Obviously, a serial heartbeat or distinct network is out of the question in the virtualised environment. It would also be good to have the different servers be in different availability zones, but we're getting into a much harder problem there.

What are peoples' opinion on having a high uptime solution in "the cloud"?

Note: This question was asked before RDS with multi-AZ was announced, which is the nice automatic answer for today's modern IT professional. :)

© Server Fault or respective owner

Related posts about mysql

Related posts about amazon-ec2