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 in GCP by anonymous
• 6,670 points
32 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 by Sirajul
• 41,000 points

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
• 41,000 points
65 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
• 41,000 points
80 views
0 votes
1 answer
0 votes
1 answer