Managing Google Compute Engine Persistent Disks

Lab Steps

lock
Signing In to the Google Cloud Console
lock
Creating a Zonal Persistent Disk
lock
Attaching the Persistent Disk to a Compute Engine Instance
lock
Creating a Snapshot of a Persistent Disk

Ready for the real environment experience?

DifficultyBeginner
Time Limit45m
Students41
Ratings
5/5
starstarstarstarstar

Description

Persistent disks are one of the core concepts when you need to store and handle data that will be used by Compute Engine instances. Persistent disks can be Zonal or Regional. Zonal persistent disks are kept in a single zone within a region; Regional persistent disks are distributed over two different zones within the same region. Persistent disks are very easy to use and offer a lot of good advantages such as high performance, reliability, and the possibility to encrypt data. Persistent disks provide you the possibility to create snapshots in a very smart and efficient way: you create a persistent disk and when you need to create a snapshot you create the first snapshot. This will have the same size of the persistent disk he has been created from. The next snapshot, will only contains information that has changed or added to the last snapshot. An intuitive example is: you create a snapshot of a disk that is 25 GB size; you then create another snapshot of the same disk that now is 26 GB (suppose you have created files and folders). The new snapshot will be 1 GB size. This method is referred to as incremental snapshots.

In this lab, you will create a zonal persistent disk, you will attach it to an existing VM and you will backup it by creating a snapshot.

Learning Objectives

Upon completion of this lab you will be able to:

  • Create a persistent disk
  • Attach a persistent disk to a Compute Engine instance
  • Perform a persistent disk backup by creating a snapshot

Intended Audience

This lab is intended for:

  • Google Cloud Security Engineer (SE) certification candidates
  • Security Engineers who want to keep data backed up and available
  • Individuals who want to understand the best practices to handle persistent disks

Prerequisites

This lab has no prerequisites.

Environment before
PREVIEW
arrow_forward
Environment after
PREVIEW
About the Author
Students10872
Labs32
Learning paths1

Stefano studies Computer Science and is passionate about technology. He loves working with Cloud services and learning all the best practices for them. Google Cloud Platform and Amazon Web Services are the cloud providers he prefers. He is a Google Cloud Certified Associate Cloud Engineer. Node.js is the programming language he always uses to code. When he's not involved in studying or working, Stefano loves riding his motorbike and exploring new places.