Deploying a Traditional Three-Tier Architecture
We have covered the fundamentals of Terraform for Google Cloud using simple examples so far in this book. We will apply those fundamentals in the next three chapters to build complete architectures. In this chapter, we will build a traditional three-tier architecture with virtual machines for the application layer and Cloud SQL for the database layer. In the next chapter, we will create a completely serverless architecture using Cloud Run and Redis. In Chapter 8, Deploying GKE Using Public Modules, we will then provision a Google Kubernetes Engine cluster using public repositories.
In this chapter, we will cover the following topics:
- Laying the foundation
- Provisioning a complete database using Cloud SQL
- Deploying a MIG and global load balancer