Amazon Opsworks haproxy with multiple backends released

Wojciech Ziniewicz
Stories imported from wordpress
1 min readAug 31, 2013

I’m happy to announce my own chef cookbook which may be used as an override (or replacement) for stock Amazon Opsworks haproxy cookbook. Typical rails stack on Opsworks with one server, say “rails-app1” and multiple applications, say “schooplelogin”, “schooplehost”, “fundraiserapp”, “uniformapp” will be treated as one backend like following :

Image

opsworks_haproxy will generate separate backend for every app like that:

Image

So now you may monitor every backend separately. Also when you default vhost returns 500, other applications won’t be marked as “DOWN”

--

--