6 Creating your production environment
This chapter covers:
- Building production infrastructure for your application
- Working with Terraform to script the creation of infrastructure
- Creating a Kubernetes cluster to host microservices
- Interacting with your Kubernetes cluster
Finally, we arrive at the most exciting chapters of the book! The next two chapters are also probably the hardest so far, but please do follow along with the examples. That’s how you’ll learn the most and gain real experience bringing your own application to production.
In this chapter and the next, we will create a Kubernetes cluster and deploy multiple containers to it. We’ll deploy a MongoDB database server and a RabbitMQ server. Then we’ll learn how to deploy our video streaming microservice. In the next chapter, we’ll also build a continuous delivery pipeline that will automatically push our code updates to production.
The examples in these two chapters are designed for you to follow along with step by step to and build our infrastructure and application. This closely emulates the real process of prototyping new infrastructure and is very close to what I really do in my own development.