Creating a Persistent Disk




Create a new instance in the specified zone.

Create a new persistent disk in the specified zone.

Attaching and Mounting the persistent disk.

Creating a Persistent Disk

30 minutes 1 Credit


Google Cloud Self-Paced Labs


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!

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


  • 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.
  • Over 200 labs from beginner to advanced levels.
  • Bite-sized so you can learn at your own pace.
Join to Start This Lab