High Availability with HAProxy and Keepalived in AWS
Jun 05, 2017, 07:00 (0 Talkback[s])
(Other stories by Peter Nijssen)
Although AWS offers its own load balancer (ELB), my preference goes out to HAProxy, since I can configure it entirely the way I would like to. This only requires me to create my own failover system. Luckily we can use Keepalived for that. In this tutorial we will be creating 2 HAProxy EC2 instances. We will turn off the master instance and make sure the second instance takes over.