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
• 19,610 points
6,925 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
• 59,230 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
• 59,230 points
1,853 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
• 59,230 points
2,899 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,248 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
• 59,230 points
2,731 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