menu
arrow_back

Creating a Custom Machine Type with Terraform

60m access · 60m completion
Connection Details

5 Credits

info_outline
This lab costs 5 Credits to run. You can purchase credits or a subscription under My Account.

01:00:00

Creating a Custom Machine Type with Terraform

GSP232

Google Cloud Self-Paced Labs

Overview

A machine type specifies a particular collection of virtualized hardware resources available to a virtual machine (VM) instance, including the memory size, virtual CPU count, and maximum persistent disk capability.

Machine types are classified into two categories:

  • Predefined machine types: Machines that are managed by Google Compute Engine and have a fixed collection of resources.

You can get a list of those by entering in Cloud Shell:

gcloud compute machine-types list
  • Custom machine types: Machines with custom virtualized hardware settings. You can create an instance with a custom number of vCPUs and amount of memory.

In this lab you'll create an instance with a custom machine type (6 vCPU i.e. 6 cores and 64 GB memory), a bastion host, and a NAT gateway using Terraform.

resources

Prerequisites

  • Familiarity with Terraform

Join Qwiklabs to Read the Rest of this Lab...and More!

  • Get temporary access to the Google Cloud Console.
  • Nearly 100 labs from beginner to advanced levels.
  • Bite-sized so you can learn at your own pace.
Join to Start This Lab
home
Home
school
Catalog
menu
More
More