I just stumbled across this article:
http://agiletesting.blogspot.com/2009/02/load-balancing-in-amazon-ec2-with.html
The suggestion made is that since EC2 does not yet have a load-balancing feature built-in you must use a software load-balancer, specifically mentioned is using haproxy for load-balancing.
I've been using a software load-balancer to host Compendium's web services for nearly a year now, but it's coming time to re-evaluate. I've been using ipvsadm to manage the ipvs linux kernel module with nat for load-balancing. I decided to use this instead of something like haproxy primarily due to the fact that it was not limited to proxying http requests. When the first generation hardware for our application was being deployed, it was important to realize that we needed to conserve some resources and still attempt to maintain redundancy to whatever extent possible.
A year in now and the primary issue that I have yet to solve with ipvsadm is dynamically updating the configuration. Disappointingly, haproxy does not seem to solve this either. What I would like to see is a load-balancer that allows me to make changes to the configuration programatically, either through a configuration maintained in memcache or even better via API calls to a web-service endpoint.
http://agiletesting.blogspot.com/2009/02/load-balancing-in-amazon-ec2-with.html
The suggestion made is that since EC2 does not yet have a load-balancing feature built-in you must use a software load-balancer, specifically mentioned is using haproxy for load-balancing.
I've been using a software load-balancer to host Compendium's web services for nearly a year now, but it's coming time to re-evaluate. I've been using ipvsadm to manage the ipvs linux kernel module with nat for load-balancing. I decided to use this instead of something like haproxy primarily due to the fact that it was not limited to proxying http requests. When the first generation hardware for our application was being deployed, it was important to realize that we needed to conserve some resources and still attempt to maintain redundancy to whatever extent possible.
A year in now and the primary issue that I have yet to solve with ipvsadm is dynamically updating the configuration. Disappointingly, haproxy does not seem to solve this either. What I would like to see is a load-balancer that allows me to make changes to the configuration programatically, either through a configuration maintained in memcache or even better via API calls to a web-service endpoint.































Comments for HA Proxy in the cloud
Leave a comment