Google Cloud · Compute

Persistent Disk and Hyperdisk

Durable block storage for Compute Engine VMs and GKE volumes: zonal or regional Persistent Disk and the newer Hyperdisk.

On the Google Cloud Associate Cloud Engineer exam listDisaster recovery

What it is and what problem it solves

Persistent Disk and Hyperdisk are network-attached block volumes for VMs and GKE Pods. Persistent Disk comes in types such as balanced, SSD and standard; zonal disks live in one zone, regional disks replicate synchronously to a second zone in the region. Hyperdisk lets you set capacity, IOPS and throughput independently for demanding databases. Snapshots back disks up incrementally to another location.

When to use it

  • Boot and data disks for Compute Engine VMs.
  • Persistent volumes for stateful workloads on GKE (through the Compute Engine Persistent Disk CSI driver).
  • Databases you run yourself that need block storage and consistent latency.
  • Regional disks when a stateful VM must fail over to another zone.

When to avoid it

  • Files shared by many VMs at once: use Filestore (NFS).
  • Large amounts of unstructured data, backups or archives: Cloud Storage is cheaper and more durable.
  • Temporary scratch data that needs the lowest latency: Local SSD (data is lost when the VM stops).

Cost model

What you pay for

  • Provisioned capacity per GB-month by disk type (you pay for the size, not what's used).
  • Hyperdisk also bills provisioned IOPS and throughput.
  • Snapshots by stored GB; regional disks cost roughly twice zonal ones.

Where it is cost-efficient

Balanced disks sized to need, with snapshot schedules and lifecycle cleanup.

Where costs grow

Over-provisioned disks, disks left behind after VMs are deleted, and snapshots kept forever.

Cost controls and common surprises

Snapshot schedules with retention, labels for ownership, and reports of unattached disks.

Prices differ by Region and change over time; see the pricing page linked under Sources.

Security

Controls the service provides

Encryption at rest by default; customer-managed (CMEK) or customer-supplied keys available.

What you configure

Control who can attach, snapshot or create images from disks with IAM; restrict snapshot locations for data residency.

Exam cues and common confusions

  • Survive a zone failure for a stateful VM: regional Persistent Disk.
  • Shared file system for many VMs: Filestore, not Persistent Disk.
  • Backups: scheduled snapshots; fastest temporary disk: Local SSD.
  • Independent IOPS and throughput tuning: Hyperdisk.

Related

Services, comparisons and patterns

Sources

Independent study material, not affiliated with or endorsed by Google. Google Cloud and service names are trademarks of Google LLC.

Last reviewed · By the ByteCamel team · How we write content

Was this page helpful?

Report a mistake