11
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 ...
Get Mastering Terraform now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.