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 as the persistent disk it has been created from. The next snapshot will only contain 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 in 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 in 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.
Upon completion of this lab, you will be able to:
This lab is intended for:
This lab has no prerequisites.
May 19th, 2025 - Updated lab environment and updated screenshots to reflect the latest UI
July 2nd, 2024 - Updated lab to use CentOS Stream 9
February 11th, 2022 - Updated the instructions and screenshots to reflect the latest UI