Google Compute Engine : Use snapshot from another project?

前端 未结 7 1413
别那么骄傲
别那么骄傲 2020-12-13 10:07

I have two projects in my developer console. I have taken a \"Snapshot\" of one of the VMs in project-1. I want to create a new VM in project-2 using the snapshot created in

7条回答
  •  悲哀的现实
    2020-12-13 10:38

    This is click only solution through the browser. What you need? You need to have image. To create image from disk, the disk must be detached from any instance.

    What are the steps if you have just instance in Project1:

    • Create snapshot from the instance in Project1.

    • Create instance from this snapshot in Project1. Untick "Delete boot disk when instance is deleted". This instance it's used only for
      now and gonna be deleted

    • Delete the instance that you just created

    • Go to the "Disks" menu and you must see there the disk from the instance.

    • Go to "Images" menu -> "Create an image". Here you can create image. If you don't have detached disk you won't have any disk available in the dropdown.

    • Go to Project 2 and create instance using the custom image that you created for Project 1. How? Boot disk -> change -> Custom images-> Select Project 1-> Here you can see your custom image

提交回复
热议问题