How to add a regional persistent disk to a VM instance on GCP?

0 votes
Oct 18 in GCP by anonymous
• 3,920 points
32 views

1 answer to this question.

0 votes

You must first create the regional persistent disk and then attach it to an existing instance. 

You can't create regional persistent disks as boot disks because they can't be force-attached during a failover.

Create a regional persistent disk.

  1. Go to the Disks page.

  2. Select your project.

  3. Click Create Disk.

  4. Specify a Name for your disk.

  5. Choose a disk Type.

  6. Check the Replicate this disk within region box.

  7. Select the region.

    Make a note of the region because you must select the same region when you create your instance.

  8. Select two zones in that region, and click OK.

    You must select two zones. Note the zones that you select because you must attach the disk to your instance in one of those zones.

  9. Choose the Source Type.

  10. Optionally, choose your Physical block size (KB). The disk default size is 4 KB. However, you can select 16 KB from the drop-down menu to increase the physical block size of the disk. This feature is in beta.

  11. Select the Encryption.

  12. Click Create to finish creating your disk.

After you create your regional persistent disk, attach it to your instance.

answered Oct 18 by Sirajul
• 37,930 points
Error while attaching the regional persistent disk to an existing instance.

Related Questions In GCP

0 votes
1 answer
0 votes
1 answer

Creating a SQL Server instance using Google Compute engine.

Google Compute Engine provides public images preconfigured with ...READ MORE

answered Sep 23 in GCP by Sirajul
• 37,930 points
36 views
0 votes
1 answer

How do i install gcloud compute?

The gcloud compute command-line tool enables you to easily ...READ MORE

answered Sep 23 in GCP by Sirajul
• 37,930 points
44 views
0 votes
1 answer
0 votes
1 answer