This document discusses using HAProxy to provide high availability for MySQL databases running on Amazon EC2. It describes setting up a MySQL master-master replication configuration across two EC2 instances with HAProxy load balancing between the databases. HAProxy is configured to monitor the MySQL servers and direct reads to an available master while allowing writes to both masters for redundanc
