0.0.1 • Published 8 years ago

haproxy-autoscaling v0.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
8 years ago

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

  1. Set Application tag for instances you want to serve behind HAProxy

  2. Set an HAProxy server

  3. Install node and npm i -g haproxy-autoscaling

  4. Set a CRON task with update-haproxy to generate HAProxy conf with all instances

TODO

  1. Avoid to restart server if no diff on generate configuration

  2. Provide a CRON task sample file