Gourav Kapoor

My feedback

  1. 37 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    5 comments  ·  Compute Engine  ·  Flag idea as inappropriate…  ·  Admin →
    Gourav Kapoor supported this idea  · 
  2. 481 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    36 comments  ·  Compute Engine  ·  Flag idea as inappropriate…  ·  Admin →

    We’ve just released a feature to GA which allows you to detach and re-attach boot disks to GCE VMs.

    Using this feature, you may now restore a VM from snapshot by:

    1. Stopping the instance – (e.g. gcloud compute instances stop INSTANCE_NAME —zone INSTANCE_ZONE)

    2. Detaching the boot disk from the VM in question ($ gcloud compute instances detach-disk INSTANCE_NAME —disk DISK_NAME —zone INSTANCE_ZONE)

    2. Creating a disk from the snapshot in question

    3. Attaching the disk from step 2 to the VM as the boot disk ($ gcloud compute instances attach-disk INSTANCE_NAME —disk NEW_DISK_NAME —boot —zone INSTANCE_ZONE)

    After restore, the VM will keep its IP address and other properties (e.g. tags, labels, etc.).

    See more info about the feature in the docs:
    https://cloud.google.com/compute/docs/disks/detach-reattach-boot-disk

    Down the road, we’re also planning to improve this flow to be “one-click easy.” More updates to come.

    Gourav Kapoor supported this idea  · 

Feedback and Knowledge Base