Creat an image from Google Compute Engine instance -
i trying replicate new instance current instance in google compute engine (following google instruction: https://cloud.google.com/compute/docs/images#create_an_image_from_a_root_persistent_disk).
in step 3 (terminate instance), following instruction ($ gcloud compute instances delete example-instance --keep-disks boot). however, still asks me whether want delete instance:
the following instances deleted. attached disks configured auto-deleted deleted unless attached other instances. deleting disk irreversible , data on disk lost. want continue (y/n)? n
am still able recover instance or continue create image of current instance google's instruction? if body has try replicate google compute engine, please let me know. thank you!
i tested command on account , deleted instance using " --keep-disks boot ". option keeps boot disk despite warning message says "attached disks configured auto-deleted deleted....."
you can use developers console, uncheck "delete boot disk when instance deleted" under instance properties , delete instance there.
Comments
Post a Comment