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

0 votes
Oct 18, 2019 in GCP by anonymous
• 6,260 points
2,747 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, 2019 by Sirajul
• 59,230 points
Error while attaching the regional persistent disk to an existing instance.

Related Questions In GCP

0 votes
1 answer
0 votes
1 answer
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, 2019 in GCP by Sirajul
• 59,230 points
2,920 views
0 votes
1 answer
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, 2019 in GCP by Sirajul
• 59,230 points

edited Jun 16, 2023 by Khan Sarfaraz 1,261 views
0 votes
1 answer

How to add a PTR record to my VM instance on gcp?

If your VM instance uses the primary ...READ MORE

answered Sep 26, 2019 in GCP by Sirajul
• 59,230 points
1,887 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP