menu
arrow_back

Creating a Persistent Disk

30m access · 30m completion
Connection Details

1 Credit

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

00:30:00

Creating a Persistent Disk

GSP004

Overview

Google Compute Engine lets you create and run virtual machines on Google infrastructure. You can create virtual machines running different operating systems, including multiple flavors of Linux (Debian, Ubuntu, Suse, Red Hat, CoreOS) and Windows Server!

Google Compute Engine provides persistent disks for use as the primary storage for your virtual machine instances. Like physical hard drives, persistent disks exist independently of the rest of your machine – if a virtual machine instance is deleted, the attached persistent disk continues to retain its data and can be attached to another instance.

In this hands-on lab you'll learn how to a create persistent disk and attach it to a virtual machine.

What you'll do

  • Create a new VM instance and attach a persistent disk
  • Format and mount a persistent disk

Prerequisites

  • Familiarity with standard Linux text editors such as vim, emacs or nano will be helpful

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
Score

—/15

Create GCP instance in specified zone

Run Step

/ 5

Create a new persistent disk named 'mydisk' in specified zone

Run Step

/ 5

Attach 'mydisk' to the VM

Run Step

/ 5