haproxy-autoscaling
v0.0.1
Published
HAProxy autoscaling with ec2
Downloads
14
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
Application
tag for instances you want to serve behind HAProxySet an HAProxy server
Install node and
npm i -g haproxy-autoscaling
Set a CRON task with
update-haproxy
to generate HAProxy conf with all instances
TODO
Avoid to restart server if no diff on generate configuration
Provide a CRON task sample file