Skip to content

Testing hashicorp tools to create a HA nginx/haproxy cluster

Notifications You must be signed in to change notification settings

sixth/hashicorp-tools-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Motivation

Show what a continuous delivery pipeline would look like with hashicorp tools including Consul, Terraform and Packer.

Requirements

Tools used

Tool Purpose
consul template dynamic haproxy config and nginx index file
alpine linux mostly for disk space. 100-300MB~ on avg

Potentional todos

Run commands

$ packer build -var 'app=consul' packer.json
$ packer build -var 'app=haproxy' packer.json
$ packer build -var 'app=nginx' packer.json
$ terraform plan
$ terraform apply

Test URLs

Service URL
consul http://127.0.0.1:8500
haproxy http://127.0.0.1:8001
nginx http://127.0.0.1:80

About

Testing hashicorp tools to create a HA nginx/haproxy cluster

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published