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

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.

--

--

--

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

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

How to Properly Use Synchronized and Volatile in Your Java Application

Three mistakes could be made with PySpark

Tips myWeb, find out web tools you need

Basics of using CSS Flexbox — Part 1

Efficient Spring Data REST development

LARAVEL: How to rename a table column with migrations preserving data

Evaluating Michael Jackson’s Anti-Gravity Lean using Python

Michael Jackson performing his anti-gravity lean in a live concert

The Elegant Way to Customize Container Images — Crane v1.4.2

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Guillermo Musumeci

Guillermo Musumeci

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

More from Medium

How to Deploy an Ubuntu Linux VM Instance in GCP using Terraform

Terraform doesn’t wanna know

Puzzle: S3 HTTPS Only Via Bucket Policy

3 steps that make your terraform script robust