Getting started with Terraform and Google Cloud Platform (GCP) Part 2: deploying VMs in a private-only single region with a load balancer and unmanaged instance groups

Guillermo Musumeci
8 min readNov 12, 2019

This is part 2 of the tutorial Getting Started with Terraform and Google Cloud Platform (GCP).

Part 1, deploying VMs in a public-only single region of the tutorial → https://medium.com/@gmusumeci/getting-started-with-terraform-and-google-cloud-platform-gcp-e718017376d1

Part 3, deploying VMs in a private-only single region with a load balancer with autoscaling → https://medium.com/@gmusumeci/getting-started-with-terraform-and-google-cloud-platform-gcp-deploying-vms-in-a-private-only-f8b5ce7858d8

Part 4, deploying a MySQL database instance with a public endpoint → https://medium.com/@gmusumeci/getting-started-with-terraform-and-google-cloud-platform-gcp-deploying-a-mysql-database-f55f3bf57ad3

Part 5, deploying a PostgreSQL database instance with a public endpoint → https://medium.com/@gmusumeci/getting-started-with-terraform-and-google-cloud-platform-gcp-deploying-a-postgresql-database-ce1664fb038c

In this part, we will deploy two Ubuntu virtual machines running the Apache web server located in a private subnet without a public IP address, and we will use a load…

--

--

Guillermo Musumeci

Certified AWS, Azure & GCP Architect | HashiCorp Ambassador | Terraform SME | KopiCloud Founder | ex-AWS | Entrepreneur | Book Author | Husband & Dad of ✌