In practice – applying what you’ve learned
To practice what you have read in this chapter, we will outline an autoscaling simulation lab in this section. We play with Terraform again, capitalizing on what we have done in the previous chapter’s lab.
You will need prerequisite knowledge to completely appreciate this lab, such as the following:
- Familiarity with cloud computing and cloud platforms
- A basic understanding of Terraform
We will divide this practice into three sections:
- Lab architecture
- Lab contents
- Lab instructions
First, let’s check out how we have designed this lab.
Lab architecture
This lab uses the HashiCorp Terraform infrastructure as code (IaC) tool, which relies on the Google Cloud API behind the scenes.
Terraform
It would be best if you have the Terraform command-line interface (CLI) tool installed on your laptop and the service account key generated for the project inside the GCP account...