Skip to main content

Persistent Disks

 

Persistent Disks Cheat Sheet

  • Are durable network storage devices that you can provision to host your virtual machine instances.

Features

  • Data on each persistent disk is distributed across several physical disks and is designed for high durability. It stores data redundantly to ensure data integrity.
  • Persistent disks are resizable to accommodate larger storage requirements.
  • It can be attached to virtual machines running on Compute Engine (GCE) or Google Kubernetes Engine (GKE).
  • You cannot attach a persistent disk to an instance on another project.
  • Your storage is independent of your virtual machine instances so you can detach or move your PDs to keep your data even after you delete your instances.
  • You can only change the size of a Persistent Disk incrementally.

Zonal and Regional Persistent Disks

You can configure your PD to be zonal or regional.

  • Zonal Disks
    • Are relatively faster than Regional disks and are found in a zone.
  • Regional Disks
    • Provides replication of data between two zones in the same region.
    • Is designed for building robust and highly available systems on Compute Engine.

Persistent Disk Types

  • Standard (pd-standard)
    • Backed by standard hard disk drives (HDD).
    • Efficient and economical for handing sequential read/write operations but they aren’t optimized to handle high rates of random input/output per second (IOPS).
  • Balanced and SSD Disks
    • Backed by solid state drives (SSD)
    • SSD persistent disks are designed for single-digit millisecond latencies

Encryption

  • Data on persistent disks are automatically encrypted at rest and in transit by system defined encryption keys or with customer-supplied keys.
  • To control your data encryption, you can create PDs with your own encryption keys.

Snapshots

  • Persistent disk snapshots can be created to protect against data loss.
  • Snapshots are incremental and take only minutes to create even if you snapshot disks that are attached to running instances.
  • You can set up a snapshot schedule to back up your data on a regular basis.

Pricing

  • Provisioning persistent disks incurs cost based on the following factors:
    • Amount and location of provisioned space per disk
    • Snapshot Storage
    • Network charges for snapshot creation

Persistent Disks Cheat Sheet References:

https://cloud.google.com/compute/docs/disks
https://cloud.google.com/compute/docs/disks/create-snapshots
https://cloud.google.com/compute/disks-image-pricing

Comments

Popular posts from this blog

Google Cloud Pub/Sub

  Cloud Pub/Sub is a fully-managed real-time messaging service for event driven systems that allows you to send and receive messages between independent applications. Features Capable of global message routing to simplify multi-region systems. Synchronous, cross-zone message replication and per-message receipt tracking ensure at-least-once delivery at any scale. Pub/Sub delivers each message at least once, so the Pub/Sub service might redeliver messages. You can declare independent quota and billing for publishers and subscribers. Cloud Pub/Sub doesn’t have shards or partitions. You just need to set your quota, publish, and consume. Key Concepts Topic It is a named resource to which publishers send messages. Subscription Is a named resource representing the stream of messages from a specific topic, to be sent to the subscribing application. Message The combination of data and attributes that a publisher sends to a topic and is eventually sent to subscribers. Message attribute A key...

Google Cloud Dataprep

  Cloud Dataprep by Trifacta is an intelligent data service for visually exploring, cleaning, and preparing structured and unstructured data for analysis, reporting, and machine learning. Features You can transform structured or unstructured datasets of any size — megabytes to petabytes — with equal ease and simplicity. Cloud Dataproc can transform datasets stored in CSV, JSON, or relational table formats. You can process data stored in Cloud Storage, BigQuery, or from your desktop, then export the refined data to BigQuery or Cloud Storage for storage, analysis, visualization, or machine learning. Uses a proprietary algorithm that interprets the data transformation intent of a user’s data selection. You can leverage hundreds of transformation functions readily available to turn your data into the asset you want. Cloud Dataprep enables users to collaborate on similar flow objects in real-time or to create copies for other team members to use for independent tasks. Explore your data ...

Google Cloud Identity and Access Management

  Create and manage permissions for your Google Cloud resources with Identity Access Management (IAM). Provides a unified view into your organization’s security policy with built-in auditing to ease compliance purposes. Features Lets you authorize who can take specific actions on resources to give you full control and visibility on your Google Cloud services centrally. Permissions are represented in the form of  service.resource.verb Can map job functions into groups and roles. With IAM, users only get access to what they need to get the job done. Cloud IAM enables you to grant access to cloud resources at fine-grained levels, well beyond project-level access. You can leverage Cloud Identity to easily create or sync user accounts across applications and projects. IAM lets you set policies at the following levels of the resource hierarchy: Organization level The organization resource represents your company. IAM roles granted at this level are inherited by all resources under t...