Skip to content

lukassup/haproxy-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HAProxy Vagrant demo

                   +
                   | http/https
                   |
       +-----------+-----------+
       |                       |
       |      HA proxy         |
       |                       |
       +------+-----------+----+
  http/https  |           | http/https
+-------------+---+   +---+--------------+
|                 |   |                  |
|      httpd      |   |      httpd       |
|                 |   |                  |
+-----------------+   +------------------+

(graph created with asciiflow)

This demo features a HAProxy HTTP load balancer and two Apache httpd servers on CentOS 7.

Virtualization: libvirt / KVM

Prerequisites

Usage

  1. Generate certificates and keys with CloudFlare SSL

    $ ./init-pki.sh
  2. Create and provision virtual machines with Vagrant

    $ vagrant up
  3. Visit https://balancer-1/ and https://balancer-1/haproxy-status in your browser.

Releases

No releases published

Packages

No packages published

Languages