Clone this repo
$ git clone [email protected]:kryachkov/web-app-cluster-demo.git
Set it up with Vagrant
$ vagrant up
Open http://192.168.33.10 in your browser and see that load balancer proxies your request to app.
Bring db node down
$ vagrant halt db
Hit http://192.168.33.10 and see the fancy maintenance node page
Bring db node up again
$ vagrant up db
Hit http://192.168.33.10 again and see response from app node
This is an extremely simple demonstration of one of many things that can be done using Hashicop's Serf