How to Deploy a CentOS Linux VM Instance in GCP using Terraform

Guillermo Musumeci
4 min readFeb 24, 2022

--

In this story, we will learn how to deploy a CentOS Linux VM Instance (VM) in GCP (Google Cloud Platform) using Terraform.

Prerequisite: GCP Credentials

Before creating our GCP VM Instances, we will need GCP Credentials to execute our Terraform code.

--

--

Guillermo Musumeci

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