Containerize on Azure – Building Solutions with Azure Kubernetes Service
In the previous chapter, we built and automated our solution on Azure utilizing Azure VMs. We built VM images with Packer and provisioned our VMs using Terraform. In this chapter, we’ll follow a similar path, but instead of working with VMs, we’ll look at hosting our application in containers within a Kubernetes cluster.
To achieve this, we’ll need to alter our approach by ditching Packer and replacing it with Docker to create a deployable artifact for our application. Once again, we’ll be using the azurerm
provider for Terraform and revisiting the kubernetes
provider for Terraform that we saw when we took the same step while on our journey with AWS.
Since an overwhelming majority of this remains the same when we move to Azure, we won’t revisit these topics at the same length in this chapter. However, I would encourage you to put a bookmark in Chapter 8 and reference...