How to change a boot disk for a VM instance running on GCP?

0 votes
I want to detach the existing boot disk and attach a new boot disk to my VM instance. How to do this?
Nov 7, 2019 in GCP by anonymous
• 7,860 points
80 views

1 answer to this question.

0 votes

In the GCP Console only, you can update the boot disk for a VM in one step.

This feature is only available in the console and is not available using the gcloud tool or through the API.

  1. Go to the VM instances page.

  2. If prompted, select your project and click Continue.

  3. Click on the instance for which you want to attach the boot disk.

  4. If the VM instance is not already stopped, click Stop at the top of the page.

  5. Next, click the Edit button at the top of the page.

  6. Scroll down to the Boot Disk section.

  7. Click X next to the current boot disk.

  8. Click Add item.

  9. Select a boot disk from the dropdown menu.

  10. Save your changes.

The console will proceed to detach your existing booth disk and attach the new boot disk that you specified.

Restart the instance once the process is complete.

answered Nov 7, 2019 by Sirajul
• 45,170 points

Related Questions In GCP

0 votes
1 answer
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
• 45,170 points
87 views
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
• 45,170 points
100 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
• 45,170 points
110 views
0 votes
1 answer

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

You must first create the regional persistent ...READ MORE

answered Oct 18, 2019 in GCP by Sirajul
• 45,170 points
120 views
0 votes
1 answer