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

In this story, we will learn how to deploy an Ubuntu 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

Learning Test Doubles

[2021] How to use ngrok to measure the speed of a localhost page created with MAMP.

Download PPSSPP Gold : Windows Computer PC, Android & iOS

The Bash Scripting Tutorial, Part 2

Weekly Digest #8

Django Model Definitions: How They Differ From the Generated Database Schema

Access blocked by CORS Policy: What’s CORS and what should you do?

Forward Momentum — My Coding Journey

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 a CentOS 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