Building the solution
Now that we have a solid design for our solution, we can begin building it. As discussed in the previous section, we’ll be using VMs powered by Google Cloud Compute Engine. As we did with AWS and Azure in Chapters 7 and 10, respectively, we’ll need to package our application into VM images using Packer and then provision an environment that provisions an environment using these VM images.
Packer
In this section, we’ll cover how to implement our Packer templates provisioners so that we can install our .NET application code on a Linux VM. If you skipped Chapters 7 through 9 due to a lack of interest in (AWS, I can’t hold that against you – particularly if your primary interest in reading this book is working on GCP. However, I would encourage you to review the corresponding section within Chapter 7 to see how we use Packer’s provisioners to configure a Debian-based Linux VM with our .NET application code.