Storage and databasesIntermediate24 min read

What Is Regional Persistent Disk in Databases?

Reviewed byJohnson Ajibi· Senior Network & Security Engineer · MSc IT Security
On This Page

Quick Definition

Regional Persistent Disk stores your data on two separate physical locations in the same region. If one location has an outage, your data remains safe and accessible from the other location. It is used for high-availability applications where downtime is unacceptable.

Commonly Confused With

Regional Persistent DiskvsZonal Persistent Disk

A Zonal Persistent Disk stores data only in a single zone. It is cheaper but offers no protection against zone failures. Regional Persistent Disk stores identical copies in two zones, providing high availability and zero RPO.

A Zonal disk is like having a single fridge. A Regional disk is like having two fridges in different rooms of the same house.

Regional Persistent DiskvsSnapshot

A snapshot is a point in time backup of a persistent disk, stored in Cloud Storage. It is not continuously replicated and can be used for disaster recovery across regions. Regional Persistent Disk provides continuous synchronous replication but only within a region.

A snapshot is like taking a photo of your fridge contents every hour. A Regional disk is like having a second fridge that automatically mirrors everything instantly.

Regional Persistent DiskvsLocal SSD

Local SSD is physically attached to the host machine and offers very high IOPS, but data is lost if the VM is stopped or terminated. Regional Persistent Disk is network attached and persists independently of any VM, with zone level redundancy.

Local SSD is like the RAM in your computer; fast but volatile. Regional Persistent Disk is like an external hard drive that you can unplug and move to another computer safely.

Must Know for Exams

Regional Persistent Disk is a core concept in Google Cloud certification exams, particularly the Associate Cloud Engineer (ACE), Professional Cloud Architect (PCA), and Professional Data Engineer (PDE) exams. It appears under the Storage and Databases domain and is often intertwined with Compute Engine and high availability design objectives. In the ACE exam, you might be asked to choose the appropriate disk type for a given scenario.

For example, a question might describe a company running a critical application that must survive a single zone outage without any data loss. The incorrect options might include zonal persistent disk, local SSD, or Cloud Storage. The correct answer would be Regional Persistent Disk because it provides synchronous replication across zones.

In the PCA exam, you will encounter more complex architectural questions. For instance, you may be given a requirement to design a highly available two tier application with a stateful backend database. You must decide which storage option to use for the database.

Regional Persistent Disk is often the best choice here because it allows the database to be failed over to a standby VM in another zone without data loss. You must also understand its limitations: it does not protect against regional failures, so for a multi region disaster recovery plan, you would need snapshots or asynchronous replication. Another common exam pattern involves troubleshooting high availability configurations.

A question might describe an application that uses a Regional Persistent Disk but still experiences downtime when one zone goes down. The likely cause is that the application is not configured to automatically attach the disk to the VM in the other zone, or the failover script is missing. You might also see questions that compare Regional Persistent Disk with Google Clouds Persistent Disk asynchronous replication, which is a newer feature for cross region replication.

The exam will test your understanding that RPD is synchronous and regional, while asynchronous replication is asynchronous and cross region. Knowing these distinctions is critical. Exam questions often include cost optimization scenarios.

You might be asked to justify the higher cost of Regional Persistent Disk by explaining the business impact of downtime. For example, a question might present a scenario where an e commerce site loses $10,000 per minute of downtime, making the extra cost of RPD negligible compared to the potential loss. To prepare for these questions, you should practice identifying when Regional Persistent Disk is the correct answer based on the requirements for high availability, data durability, and cost.

Focus on the key differentiators: synchronous vs asynchronous, zonal vs regional vs multi regional, and the fact that RPD provides zero RPO and minimal RTO within a region.

Simple Meaning

Think of Regional Persistent Disk as having a super important document that you cannot afford to lose. To keep it safe, you make two identical copies and store them in two different safety deposit boxes located in two different banks in the same city. Even if one bank has a fire or a flood, you can still walk to the other bank and get your document.

In the world of cloud computing, this is exactly what Regional Persistent Disk does for your applications data. It creates a copy of your virtual hard drive (called a persistent disk) and places one copy in one data center (called a zone) and another copy in a second data center (another zone) within the same geographic region (like us-central1). This means that if one entire data center goes offline due to a power failure, network issue, or natural disaster, your application can instantly switch to use the disk in the other data center without any interruption.

You might wonder why you would need this instead of just relying on snapshots or backups. Snapshots are like taking a photograph of your data at a specific time; they protect against accidental deletion but not against a data center going down right after the snapshot. Regional Persistent Disk provides continuous, synchronous replication, meaning both copies are always identical and up to date.

Every time you write data, it is written to both zones simultaneously before your application gets a confirmation that the write is complete. This is called synchronous replication, and it ensures zero data loss during a zone failure. This type of storage is ideal for critical databases, stateful applications like Kubernetes StatefulSets, or any workload that requires high availability and cannot tolerate even a few minutes of downtime.

However, it is more expensive than standard (zonal) persistent disks because you are paying for twice the storage and the replication overhead. Understanding this trade off between cost and reliability is a key concept for IT professionals designing cloud architectures, especially for exam scenarios that ask about disaster recovery and high availability.

Full Technical Definition

Regional Persistent Disk (RPD) is a Google Cloud Platform (GCP) block storage service that provides synchronous replication of data across two zones within a single region. It is built on top of Google's internal distributed file system, Colossus, which handles data replication, checksumming, and automatic repair. When a user creates an RPD, the system provisions the underlying persistent disk resources in two specified zones (for example, us-central1-a and us-central1-b).

Both replicas share the same disk name, same capacity, and same performance characteristics (IOPS and throughput). The replication is synchronous: any write I/O operation sent to the disk must be acknowledged by both zone replicas before the write is considered complete and a success response is sent back to the operating system or application. This ensures strong consistency and zero recovery point objective (RPO) in the event of a single zone failure.

RPDs can be attached to Compute Engine virtual machine instances in either of the two zones. However, an RPD can only be attached to one VM at a time (unless using read only mode), but it can be detached from one VM and attached to another VM in the other zone if a failover is needed. This live migration of the disk across zones happens without data loss and can be automated using instance groups or managed instance groups.

The maximum size of a regional persistent disk is 10 TB, and it supports both standard (HDD) and performance (SSD) tiers. The SSD tier offers up to 30,000 random IOPS and up to 400 MB/s throughput per disk depending on disk size. From a networking perspective, data replication between zones uses Googles internal high speed backbone network, which has very low latency and high bandwidth, ensuring that the synchronous replication does not introduce unacceptable performance penalties.

In terms of billing, you are charged for the total provisioned capacity in both zones. For example, a 100 GB Regional Persistent Disk will bill for 200 GB of storage. There are no separate charges for replication traffic within the region.

In an IT implementation context, RPDs are often used in conjunction with regional managed instance groups (MIGs) to create truly highly available applications. A common architecture involves deploying a pair of VMs across two zones, each attached to the same RPD. One VM serves as the active node, while the other remains on standby.

If a zone failure occurs, the health check in the MIG detects the failure and triggers an automatic failover, attaching the RPD to the healthy VM in the surviving zone. This architecture is foundational for achieving an availability SLA of 99.95% or higher.

It is also important to note that RPDs cannot be used across regions; they are strictly limited to two zones within the same region. For cross region disaster recovery, you must rely on disk snapshots or other replication mechanisms like Persistent Disk asynchronous replication. Understanding the difference between synchronous regional replication and asynchronous cross region replication is a frequent topic in cloud certification exams, such as the Google Cloud Associate Cloud Engineer and Professional Cloud Architect exams.

Real-Life Example

Imagine you are the manager of a busy restaurant that has a single fridge for all perishable ingredients. One night, the fridge breaks down and all the food spoils. You lose a days worth of revenue and have to close temporarily.

To prevent this, you decide to buy a second fridge and place it in the kitchen next to the first one. Now, every time a chef takes an ingredient from the first fridge, a kitchen assistant immediately puts a replacement into the second fridge. This means both fridges always have the same stock.

If one fridge fails, you can instantly use the other fridge without any interruption. The food is always fresh, and you never have to close the restaurant. In this analogy, each fridge is like a zone in a cloud region.

The kitchen is the region. The food is your data. The process of the assistant always keeping both fridges identical is the synchronous replication that Regional Persistent Disk performs.

The chef serving the food is your application. In the real world, if one data center (fridge) loses power, your application (chef) can immediately start using the disk in the other data center (the second fridge) because the data is already there and perfectly identical. The cost of buying and maintaining a second fridge is like the extra cost of Regional Persistent Disk compared to a regular zonal disk.

But for a business that cannot afford downtime, that cost is justified. This analogy also highlights an important nuance: if both fridges are in the same kitchen (same region), a kitchen fire could destroy both. Similarly, Regional Persistent Disk protects against a single zone failure, but not against a regional disaster.

For that, you would need cross region replication, which is like having a backup fridge in a different city.

Why This Term Matters

Regional Persistent Disk matters because it directly addresses one of the most common and costly scenarios in IT: unplanned downtime due to infrastructure failure. In a typical cloud setup, a single zone failure can bring down an entire application, causing revenue loss, reputational damage, and potential compliance violations. Regional Persistent Disk provides a simple, built in mechanism to achieve high availability without requiring complex application level replication logic.

For IT professionals, especially those working with stateful applications like databases (e.g., MySQL, PostgreSQL, MongoDB), this is a critical tool. Stateful applications hold data that must survive individual VM failures.

With RPD, you can run a primary database instance in one zone and have a standby instance in another zone, both accessing the same disk. If the primary zone fails, the standby can take over with the same data, often in under a minute. This is far simpler than setting up database native replication, which can be complex and error prone.

RPD enables rolling updates and maintenance without downtime. When Google performs scheduled maintenance on a zone, you can gracefully move your workload to the other zone using the regional disk, keeping your service running. From a cost perspective, RPD is about twice the cost of a zonal disk, but this is often cheaper than the alternative of paying for duplicate storage for a full database replication setup or losing revenue during outages.

In many enterprise environments, the cost of downtime can be thousands of dollars per minute, making the premium for RPD a wise investment. For certifications, understanding RPD is crucial because it appears in questions about disaster recovery, high availability architecture, and storage options. You will need to know when to recommend RPD versus zonal disks, snapshots, or cross region replication.

The key takeaway is that RPD is the go to solution for applications that need to survive a zone failure with zero data loss and minimal downtime, and it is a fundamental building block for achieving the high availability SLAs that modern businesses demand.

How It Appears in Exam Questions

Regional Persistent Disk regularly appears in Google Cloud certification questions in several distinct patterns. One common pattern is the scenario based question where you must select the best storage solution. The question might describe an application that requires high availability and automatic failover within a single region.

The options will include Zonal Persistent Disk, Regional Persistent Disk, Local SSD, and Cloud Filestore. The correct answer is Regional Persistent Disk because it is the only option that provides synchronous replication across zones. Another pattern involves cost vs performance trade offs.

You might see a question where a company wants to reduce storage costs by using Zonal Persistent Disk, but the application requires 99.95% availability. The correct response would be to explain that Zonal disks do not provide zone failover, so Regional Persistent Disk is necessary even at the higher cost.

There are also troubleshooting questions where a team implemented a Regional Persistent Disk but still had data loss during a zone failure. The root cause is often that the application wrote data to the disk but the disk was not properly detached before failover, or that the application was using asynchronous writes despite the disks synchronous replication. In such questions, you need to understand that RPD replication is only for data at rest; if the application caches data in memory and does not flush it to disk, that data can be lost.

Another type of question asks about failover procedures. For instance, you might be asked: Your application using a Regional Persistent Disk is running in us-central1-a. The zone us-central1-a becomes unavailable.

What steps should you take to restore the application? The correct answer is to attach the disk to an existing VM in us-central1-b and start the application. The key is that the disk is already replicated and available in the other zone; you do not need to recreate it or restore from a snapshot.

Questions may combine RPD with managed instance groups. For example, you may be asked to design an auto scaling, highly available architecture. The correct solution often involves a regional managed instance group with a Regional Persistent Disk attached to the master VM.

When the master fails, the instance group automatically launches a new VM and attaches the RPD. You might also see questions that ask about the limitations of RPD. For example, a question might say: Your application requires global availability.

Which storage option should you choose? The correct answer would be a combination of Regional Persistent Disk in one region plus cross region replication via snapshots or Persistent Disk async replication, because RPD alone cannot protect against a regional outage. Finally, exam questions frequently ask about the difference between RPO and RTO.

Regional Persistent Disk provides an RPO of zero (no data loss) and an RTO of minutes (time to attach the disk to a VM in another zone). Understanding these metrics and how RPD achieves them is essential for scoring well on questions related to disaster recovery and business continuity.

Practise Regional Persistent Disk Questions

Test your understanding with exam-style practice questions.

Practise

Example Scenario

Scenario: A healthcare company runs an electronic health records (EHR) system on Google Cloud. The system uses a MySQL database stored on a 500 GB persistent disk. The compliance team requires that the database must be available 99.

999% of the time, and any zone failure must not result in data loss. The current setup uses a Zonal Persistent Disk in us-central1-a. Last month, a network switch failure in us-central1-a caused a 45 minute outage, and the database was unavailable for that entire time.

The company wants to redesign the architecture to prevent this in the future. The IT architect proposes using a Regional Persistent Disk. The architect creates a new 500 GB Regional Persistent Disk in the us-central1 region, specifying us-central1-a and us-central1-b as the two zones.

The MySQL database is migrated to a VM in us-central1-a, and the disk is attached as the data volume. A standby VM is created in us-central1-b with MySQL installed but not running, and the disk is not attached to it yet. The team also configures a health check and a custom script that, upon detecting that the primary VM is unresponsive, will detach the Regional Persistent Disk from the primary VM and attach it to the standby VM in us-central1-b.

Then the standby MySQL instance starts using the data. During a test, the team shuts down the primary VM in us-central1-a. The health check detects the failure within 10 seconds, and the automation script executes successfully.

The standby VM in us-central1-b attaches the disk and starts MySQL. The entire failover takes 90 seconds. All patient data is intact because the Regional Persistent Disk synchronously replicated every write to both zones.

The company is now compliant with the availability requirement and is protected against single zone failures. This scenario illustrates the real world use case for Regional Persistent Disk: ensuring high availability and data durability for critical stateful applications in a single region.

Common Mistakes

Assuming Regional Persistent Disk replicates data across regions.

Regional Persistent Disk only replicates data across two zones within the same region. It does not provide cross region replication. A regional disk in us-central1 will not help if the entire us-central1 region goes down.

Use Regional Persistent Disk for zone level failures only. For region level disaster recovery, use snapshot replication or Persistent Disk asynchronous replication.

Thinking you can attach a Regional Persistent Disk to multiple VMs simultaneously for read/write.

A Regional Persistent Disk can only be attached in read/write mode to one VM at a time. You cannot share it between multiple VMs for simultaneous write access. This is a block storage device, not a network file system.

Use a shared file system like Filestore if multiple VMs need concurrent write access. For active passive failover with RPD, attach the disk only to the active VM.

Believing that Regional Persistent Disk automatically fails over your application.

The disk itself is replicated and available in two zones, but the disk does not automatically move to a different VM. You must manually or programmatically detach the disk from the failed VM and attach it to a healthy VM in the other zone. The application also needs to be restarted or reconfigured to use the new VM.

Automate the failover process using scripts, managed instance groups, or a cluster manager like Kubernetes. Do not rely on the disk alone to provide automatic failover.

Confusing Regional Persistent Disk with a snapshot or backup.

A Regional Persistent Disk provides continuous synchronous replication, so both copies are always identical and current. A snapshot is a point in time copy that may be outdated by seconds or minutes. RPD protects against zone failure with zero data loss; snapshots do not.

Use RPD for high availability within a region. Use snapshots for additional protection against accidental deletion or corruption, and for cross region disaster recovery.

Exam Trap — Don't Get Fooled

{"trap":"A question states: Your application uses a Regional Persistent Disk in us-central1. After a power outage in us-central1-a, you cannot access the disk. What is the reason?","why_learners_choose_it":"Learners may think the disk is completely lost because one zone failed, or that the disk is still accessible from us-central1-a only.

They might also think that the disk needs to be recreated.","how_to_avoid_it":"Remember that Regional Persistent Disk is replicated across two zones. If one zone fails, the disk is still accessible from the other zone.

You need to detach it from the VM in the failed zone and attach it to a VM in the surviving zone. The disk itself is not damaged; it is simply attached to a VM that is now offline."

Step-by-Step Breakdown

1

Provision the Regional Persistent Disk

You create a Regional Persistent Disk using the Google Cloud Console, CLI, or API. You specify the region and two zones within that region. Google Cloud provisions the underlying block storage resources in both zones simultaneously.

2

Attach the disk to a VM in the primary zone

You attach the disk to a virtual machine instance running in one of the two zones, for example, us-central1-a. The VM sees the disk as a standard block device, such as /dev/sdb. You format and mount the filesystem as needed.

3

Write data to the disk

Whenever the application writes data to the disk, the write operation is sent to both zone replicas simultaneously. The storage system waits for acknowledgment from both replicas before confirming the write. This ensures synchronous replication and zero data loss.

4

Detect a zone failure

If the VM in us-central1-a becomes unreachable due to a zone outage, you detect this via health checks, monitoring alerts, or instance group policies. The Regional Persistent Disk itself remains intact in both zones, but the VM is gone.

5

Attach the disk to a VM in the secondary zone

You detach the Regional Persistent Disk from the failed VM (which is now forced) and attach it to a healthy VM in the other zone, e.g., us-central1-b. This can be done manually or automated via scripts. No data is lost because the disk was synchronously replicated.

6

Start the application on the new VM

Once the disk is attached to the new VM, you mount the filesystem and start the application. The application sees the exact same data as before the failure. The failover is complete, and the service resumes.

7

Verify and monitor

After failover, verify that the application is functioning correctly and that the disk is performing as expected. Monitor for any performance issues or errors. Consider re balancing the disk to the original zone once it is restored.

Practical Mini-Lesson

Regional Persistent Disk is a powerful tool for building highly available stateful applications on Google Cloud, but it requires careful planning and automation to be effective in practice. As an IT professional, you need to understand not just how to create and attach the disk, but also how to integrate it into a broader failover architecture. The most common production pattern is to use a Regional Persistent Disk with a regional managed instance group (MIG).

The MIG maintains a fixed number of VMs across two zones. One VM is designated as the master (with the disk attached), and the other VMs can be used for read only workloads or remain idle. The MIG includes a health check that probes the application on the master.

If the health check fails, the MIG automatically deletes the unhealthy VM. However, deleting a VM does not automatically detach the disk! You need a custom lifecycle hook or a separate script that runs when the VM is terminated to detach the disk.

Then, the MIG creates a new VM in the other zone, and a startup script attaches the disk to that new VM. This requires careful coordination. Another practical consideration is that the disk cannot be attached to a VM while it is being used by another VM.

So during a failover, there is a brief window where the disk is not attached to any VM. Your application must tolerate that short downtime. In many cases, the RTO is between 30 seconds and 2 minutes, depending on how fast your automation runs.

Performance is another practical concern. Regional Persistent Disk has the same IOPS and throughput limits as Zonal Persistent Disk of the same size and type. However, because data must be written to two zones over the network, write latency is slightly higher.

For most applications, this is negligible, but for very high frequency transactional workloads, you might notice a difference. You can mitigate this by choosing SSD based RPD and by optimizing your application to batch writes. From a cost management perspective, remember that you are paying for the provisioned capacity in both zones.

If you have a 200 GB RPD, you are billed for 400 GB. This can add up quickly. Consider using smaller disks and monitoring utilization to avoid over provisioning. Finally, be aware of the limitations: RPD cannot be resized while attached to a running VM in some cases, and you cannot convert a Zonal Persistent Disk to a Regional Persistent Disk in place.

You must create a new disk and migrate data. Planning for these operational details is what separates a theoretical understanding from real world proficiency. Practice creating RPDs, attaching them to VMs, and simulating failover in a test environment to build confidence for both your job and your exams.

Memory Tip

Two zones, zero RPO, one region: Regional Persistent Disk.

Covered in These Exams

Current Exam Context

Current exam versions that test this topic — use these objectives when studying.

Related Glossary Terms

Frequently Asked Questions

Can I use Regional Persistent Disk across different regions?

No. Regional Persistent Disk is strictly limited to two zones within the same region. For cross region replication, you need to use snapshots or Google Cloud's Persistent Disk asynchronous replication feature.

Is Regional Persistent Disk more expensive than Zonal Persistent Disk?

Yes. Regional Persistent Disk costs approximately twice as much as a Zonal Persistent Disk of the same size because you are paying for the storage capacity in two zones simultaneously.

Does Regional Persistent Disk automatically fail over my application?

No. The disk itself is replicated, but you must manually or programmatically detach it from the failed VM and attach it to a healthy VM in the other zone. Automation is required for a fully automated failover.

What happens to data on a Regional Persistent Disk if one zone is completely destroyed?

Data is safe because the disk has a synchronous copy in the surviving zone. You can attach the disk to a VM in the surviving zone and continue working with no data loss.

Can I attach a Regional Persistent Disk to two VMs at the same time?

You can attach it to multiple VMs in read only mode, but only one VM can have read/write access at a time. It is not a shared file system.

How do I migrate from a Zonal Persistent Disk to a Regional Persistent Disk?

You cannot convert a Zonal disk to a Regional disk in place. You must create a new Regional Persistent Disk, then copy the data from the Zonal disk using tools like rsync or dd, then attach the new disk.

Summary

Regional Persistent Disk is a block storage service on Google Cloud that synchronously replicates data across two zones within a single region. It provides high availability for stateful applications by ensuring that if one zone fails, the data is immediately available from the other zone with zero data loss. This makes it an essential component for designing fault tolerant architectures, particularly for databases and other stateful workloads that cannot tolerate downtime.

In IT certification exams, particularly Google Cloud exams like Associate Cloud Engineer and Professional Cloud Architect, understanding Regional Persistent Disk is crucial for questions about high availability, disaster recovery, and storage selection. You need to know its capabilities, limitations, and how it differs from other storage options like Zonal Persistent Disk, snapshots, and Local SSD. The key takeaway is that Regional Persistent Disk is the right choice when you need to survive a single zone outage with zero RPO and minimal RTO within a region.

It is not a solution for region level disasters or for workloads that require concurrent write access from multiple VMs. When used correctly, it is a powerful tool for achieving the high availability SLAs that modern businesses demand.