Book Image

Puppet for Containerization

By : Scott Coulton
Book Image

Puppet for Containerization

By: Scott Coulton

Overview of this book

This book teaches you how to take advantage of the new benefits of containerization systems such as Docker, Kubernetes, Docker Swarm, and Docker UCP, without losing the panoptical power of proper configuration management. You will learn how to integrate your containerized applications and modules with your Puppet workflow. You will also understand how to manage, monitor, and orchestrate hosts to keep deployed containers running seamlessly. With the help of this book, you can efficiently automate and document with containers, as a part of your system. The book will also cover use cases of deploying Puppet within a containerized environment.
Table of Contents (16 chapters)

Chapter 6. Multinode Applications

In this chapter, we are going to start playing with the really cool stuff. We are going to use all the skills we have learned in the book so far. We are really going to step it up by a notch. In this chapter, we are going to deploy four servers. We will look at how to cluster Consul, which will give us a perfect opportunity to further our modules' functionality. In this chapter, we are going to look at two ways to network our containers. First, by using the standard host IP network, that our Consul cluster will communicate on. We will also install the ELK (Elasticsearch, Logstash, and Kibana) stack (https://www.elastic.co/). To do this, we will be writing a module for each of the products. Because Elasticsearch is our data store in this solution, we want to hide it so that only Logstash and Kibana can access the application. We will accomplish this using the native Docker networking stack and isolate Elasticsearch using VXLAN. As you can see, we are going...