Install HAProxy suitable for charms to register for reverse proxy of services
This charm provides HAProxy. HAProxy describes itself as a free, very
fast and reliable solution offering high availability, load balancing, and
proxying for TCP and HTTP-based applications. It is particularly suited for very
high traffic web sites and powers quite a number of the world's most visited
ones. Over the years it has become the de-facto standard open source load
balancer, is now shipped with most mainstream Linux distributions, and is often
deployed by default in cloud platforms. Since it does not advertise itself, we
only know it's used when the admins report it :-)
juju deploy cs:~chris.sanders/haproxy
You will most likely want to use a bundle to set options during deployment. The
primary use case for this charm is to allow other charms that implement the
reverse proxy interface to automatically register for
reverse proxy. This charm will allow both http and tcp reverse proxy's to be
requested from other charms. Additionally, for http reverse proxy Letsencrypt is
provided to allow HAProxy to automatically register for a certificate and
terminate the SSL/TLS connection. Finally, this charm provides options to use
UPNP for automatically requesting ports via UPNP. Most of these features are off
by default, see the configuration options to enable them.
This charm is under development, several other use cases/features are still under
consideration. Merge requests are appreciated, some examples of current limitations include.
See the full list of configuration options below. This will detail some of the
options that are worth highlighting.