Now that we have looked at the design, let's put it all together. We will look at the changes to the plumbing of our Vagrant repo. Then, we will code the extra functionality into our consul
module. We will then run our Vagrant repo to make sure that our Consul cluster is up and running. After we have completed that task, we will build the ELK stack, and we will build a module for each of the products. We will also set up Logstash to forward logs to node-03, just so we can test to make sure that our ELK stack is correct. Let's get some light on this.
We will now look at the changes we are going to make to our new Vagrant repo. The first file that we are going to look at is our servers.yaml
file. The first thing we need to do is change our base box. As we are going to be connecting containers to the native Docker network, our host machines must run a kernel version above 3.19. I have created a prebuilt vagrant box with just this configuration. It is the...