Skip to content

Chapter 3 of 11

Storage: Cloud Storage and Persistent Disk

Match object and block storage to access, durability, backup, and cost requirements.

42 minutes 10 quick checksBy Subha Prasad
Lesson 3 of 11Course navigation

Lesson content

Read, practise, then check your understanding

Storage: Cloud Storage and Persistent Disk

Cloud Storage keeps objects in buckets with location, storage class, versioning, retention, lifecycle, encryption, and access configuration. Persistent Disk provides durable block storage for Compute Engine and supported workloads, with snapshots for backup and cloning.

Core ideas

  • Bucket location can be regional, dual-region, or multi-region and affects placement, availability, latency, and price.
  • Storage classes such as Standard, Nearline, Coldline, and Archive fit different access patterns.
  • Persistent Disk is block storage; its zone or regional configuration must match compute and resilience design.
  • Lifecycle rules automate storage-class changes and deletion based on object conditions.

Design and operating model

Classify data by access pattern, retention, legal holds, residency, recovery point, and recovery time. Enforce uniform bucket-level access, use versioning or soft-delete features where rollback matters, automate lifecycle, and test recovery from snapshots or object versions.

Example

{
  "rule": [
    {
      "action": { "type": "SetStorageClass", "storageClass": "ARCHIVE" },
      "condition": { "age": 180, "matchesPrefix": ["audit/"] }
    },
    {
      "action": { "type": "Delete" },
      "condition": { "age": 2555, "matchesPrefix": ["audit/"] }
    }
  ]
}

Run examples in a disposable training project. Replace project IDs, Regions, identities, resource names, sizes, and policies with reviewed values, and verify current Google Cloud CLI and service requirements before production use.

Production guidance

  • Avoid public object access and do not grant legacy project-wide basic roles.
  • Use customer-managed keys only when their control benefit justifies key availability and rotation duties.
  • Model operations, retrieval, early deletion, replication, and network transfer along with stored capacity.

The chapter quiz follows the lesson and checks both service vocabulary and architecture decisions.

Knowledge check

Answer every question correctly to complete this chapter.

Which statement correctly describes Cloud Storage?
Which term matches this explanation: Google Cloud object storage organized into buckets and objects.
Which statement correctly describes Persistent Disk?
Which term matches this explanation: Durable block storage designed for Compute Engine and supported workloads.
Which statement correctly describes storage class?
Which term matches this explanation: A Cloud Storage pricing and availability class based on access pattern.
Which statement correctly describes lifecycle rule?
Which term matches this explanation: A condition and action that changes or deletes Cloud Storage objects automatically.
Which statement correctly describes snapshot?
Which term matches this explanation: A point-in-time incremental backup of a Persistent Disk.

0 of 10 checks passed

Your progress is saved on this device.

Storage: Cloud Storage and Persistent Disk | GCP Lesson | Subha Prasad