Playing with Persistent Disks and Snapshots in GCP V2 | Scribe

    Playing with Persistent Disks and Snapshots in GCP V2

    • Hafeez Baig |
    • 37 steps |
    • 5 minutes
    1
    Sign in into the **Google Cloud Platform**
    2
    Type **VM instances** in the search bar and click on the **VM instances** option.
    information ordinal icon
    **What are VM instances?**\ \ In Google Cloud Platform (GCP), **VM instances** are virtual machines hosted on Google's infrastructure. These instances are part of Google Compute Engine, allowing you to run workloads on customizable virtual servers. You can choose the machine type, operating system, disk type, and network settings for your VM instance. GCP provides features like autoscaling, load balancing, and integration with other GCP services, making VM instances highly flexible and suitable for a wide range of applications, from simple web servers to complex, resource-intensive workloads.
    3
    **VM instances** wizard will open, click on the **CREATE INSTANCES** button
    4
    **Create an instances** wizard will open, give the **Name** as "**instance-1**"
    5
    Scroll to the **Boot disks** section, review the Boot disk configurations
    6
    Scroll the page and click on the **CREATE** button
    information ordinal icon
    Congratulations on successfully creating a VM instance
    7
    On the **VM instances** wizard, click on the Name **instance-1**
    8
    **instance-1** wizard will open, scroll to the **Boot disk** section and click on the Name **instance-1**
    9
    **Manage disk** wizard will open, here you can view the details for the instance-1 disk
    10
    Click on the **MONITORING** tab, here you can view the metrics and graphs
    information ordinal icon
    **What is MONITORING?**\ \ In GCP, within the **Disks** section, **Monitoring** refers to the ability to track the performance and usage metrics of your persistent disks. This includes monitoring data like disk IOPS (Input/Output Operations Per Second), throughput, latency, and capacity utilization. By monitoring these metrics, you can gain insights into how your disks are performing, detect any potential issues such as bottlenecks or performance degradation, and make informed decisions about scaling or optimizing your storage resources.
    11
    Click on the **EDIT** button on the top left side
    12
    Scroll to the **Deletion rule** section and select the option **Keep disk**
    information ordinal icon
    **What is Keep disk option in Deletion rule?**\ \ The **Keep disk** option in the **Deletion rule** specifies that when you delete a VM instance in GCP, the attached disk will not be deleted. Instead, the disk will be retained and can be reattached to another instance or used for data recovery. This option is useful if you want to preserve the data on the disk even after the VM it was attached to is no longer needed.
    13
    Click on the **Snapshots** from the left bar
    information ordinal icon
    **What are Snapshots?**\ \ **Snapshots** in GCP are point-in-time backups of persistent disks. They capture the state and data of a disk at a specific moment, allowing you to restore that data later or create new disks from the snapshot. Snapshots are useful for data protection, disaster recovery, and cloning environments. They are incremental, meaning that after the first snapshot, only changes since the last snapshot are saved, which helps save storage space.
    14
    **Snapshots** wizard will open, click on the **CREATE SNAPSHOT** button
    15
    **Create a Snapshot** wizard will open, give the **Name** as **snapshot-1**