README
HAProxy autoscaling
This small tool works with HAProxy and AWS EC2. The objective is to generate HAProxy conf file with all privates IP instances with a specific tag:Application
How to use
Set
Applicationtag for instances you want to serve behind HAProxySet an HAProxy server
Install node and
npm i -g haproxy-autoscalingSet a CRONÂ task with
update-haproxyto generate HAProxy conf with all instances
TODO
Avoid to restart server if no diff on generate configuration
Provide a CRONÂ task sample file