Lsyncd auto configuration that works with Amazon Web Services (AWS) Auto Scaling.
Lsyncd is Live Syncing (Mirror) Daemon.
It does the following:
Lsyncd-AWS-AutoScaling requires the following to be set up and running on your master server:
This project is tested on Lsyncd v2.0.7 and on Ubuntu 12.04.1 LTS instances.
composer install
to install the dependencies.cp config.php.default config.php
and edit accordingly.php monitor.php
That's all.
It is recommended to set it to run via crontab to ensure that it is run periodically and automatically.
This is a rough project that solves our specific problems and may not work with other set-ups. Not a lot of effort was spent in generalizing this project. Pull requests are welcomed.
Zynesis Pte Ltd is a Consulting Partner of Amazon Web Services. Drop us a mail if you require any AWS consultations. Follow U-Zyn Chua on Twitter or on GitHub.
This project is made possible by the generous sponsorship of Teamie – The Collaborative Learning Network.
The MIT License Copyright © 2013 U-Zyn Chua & Zynesis Pte Ltd (http://zynesis.com)