menu
arrow_back

Creating a Custom Machine Type with Terraform

Access Minutes · Completion Minutes
Connection Details

5 积分

info_outline
This lab costs 5 积分 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 with attached GPU), a bastion host, and a NAT gateway using Terraform.

Google Compute Engine provides graphics processing units (GPUs) that you can add to your virtual machine instances. You can use these GPUs to accelerate specific workloads on your instances such as machine learning and data processing.In this lab you are going to attach a GPU to the instance with custom machine type.

resources

Prerequisites

  • Familiarity with Terraform

Join

  • Temporary Access
  • Catalog
  • Bite Sized
Join To Start
Score

—/5

Create an instance with custom machine type using terraform.

Run Step

/ 5

home
Home
school
Catalog
menu
More
More