bhudlemeyer / cf-haproxy-boshrelease

A BOSH release for haproxy (based on cf-release's haproxy job)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BOSH Release for cf-haproxy

This BOSH release is an attempt to get a more customizable/secure haproxy release than what is provided in cf-release. It allows users to blacklist internal-only domains, preventing potential Host header spoofing from allowing unauthorized access of internal APIs. It also allows for better control over haproxy's timeouts, for greater resiliency under heavy load.

Usage

To use this bosh release, first upload it to your bosh:

bosh upload release https://bosh.io/d/github.com/cloudfoundry-community/cf-haproxy-boshrelease

To deploy it, you will need the repository that contains templates:

git clone https://github.com/cloudfoundry-community/cf-haproxy-boshrelease.git
cd cf-haproxy-boshrelease
git checkout latest

You can either use the templates + examples provided to merge this in with an existing CloudFoundry deployment, or create a new deployment, via make_manifest <aws-ec2|warden> <comma-separated-list-of-router-servers> <additional_templates>

# Example for bare bones bosh-lite cloudfoundry release on warden
templates/make_manifest warden 10.244.0.22
bosh deploy

Development

Feel free to contribute back to this via a pull request on a feature branch! Once merged, we'll cut a new final release for you.

About

A BOSH release for haproxy (based on cf-release's haproxy job)

License:Apache License 2.0


Languages

Language:Shell 70.5%Language:HTML 27.4%Language:Ruby 2.2%