Building the solution
In this section, we’ll be taking our theoretical knowledge and applying it to a tangible, functioning solution while harnessing the power of Docker, Terraform, and Kubernetes on the AWS platform. Some parts of this process will require significant change, such as when we provision our AWS infrastructure using Terraform; other parts will have minor changes, such as the Kubernetes configuration that we use to deploy our application to our Kubernetes cluster; and some will be completely new, such as the process to build and push our Docker images to our container registry.
Docker
As we saw in the previous chapter, where we built VM images in Packer, there is a certain amount of operating system configuration that needs to be set up. With Docker, we are doing largely the same thing but we are doing it for a specific process. This means much of the work that we did in setting up the service in Linux is eliminated because the container runtime controls...