To test that the round-robin load balancer is working correctly, simply browse here. You'll note that if you continually refresh, the IP address shown will change periodically which demonstrates the round-robin load balancer is working as intended.
After creating custom AMI's using the packer configs (see for more details below), Terraform is executed using 1 line to create an entire stack in AWS, which once created allows Jenkins to automatically build and deploy our application and make it viewable through an Nginx round-robin load balancer here. No additional user interaction is required after executing Terraform. The whole process takes around 5-10 minutes to complete.
The intention of this project is to demonstrate how to automate full stack deployments using the following tools :-
Tool | Description |
---|---|
Packer | Used to automate the creation of machine images, in our case AMI's |
Jenkins | I use this to build and deploy our example Go application |
Puppet | In this case, used in a masterless configuration to setup and configure Nginx |
Terraform | I use this to automatically build and deploy our infrastructure in AWS |
For further technical details relating to this project, please see each of the readme's at the following locations: