An open API service indexing awesome lists of open source software.

https://github.com/ukhomeoffice/dq-packer-peering-haproxy


https://github.com/ukhomeoffice/dq-packer-peering-haproxy

haproxy hodq packer

Last synced: 16 days ago
JSON representation

Awesome Lists containing this project

README

        

# dq-packer-peering-haproxy
This repository creates an AMI in AWS with [HAProxy](http://www.haproxy.org/download/1.7/doc/intro.txt) with logging to [rsyslog](https://www.rsyslog.com/)
#

## `packer.json`
This file contains a wrap up for Ansible script to be run inside small Red Hat Enterprise Linux 8.x machine

## `playbook.yml`
Ansible playbook installing the following:
- rsyslog
- HAProxy v.1.7.14 - installed from source and compiled locally wih the following options:
- TARGET: linux2628
- USE_PCRE: 1
- USE_OPENSSL: 1
- USE_ZLIB: 1
- USE_LIBCRYPT: 1

More information can be found [here](https://github.com/joyent/haproxy-1.8/blob/master/Makefile)

## `templates`

#### `gets3content.sh`
This file is copied to `/home/ec2-user` and cron entry created to run it every minute

#### `rsyslog.conf.j2`
Initial rsyslog main configuration

#### `49-haproxy.conf.j2`
Initial rsyslog config to capture logs from HAProxy

#### `haproxy.cfg`
HAProxy initial configuration. It contains TCP frontend (23) which is used for testing if proxy is up.
if you plan to change it, update `playbook.yml` accordingly