What you can do is save all the data on your hard drive, then turn it off and next time create an instance with the same drive.
Shutting down from the web console using:
Compute Engine > VM INSTANCES > Click on engine name > Delete
there is a flag:
Also delete boot disk "instance0"
If you leave it unchecked, the next time you create another instance for the project, you can choose:
Boot source > Existing persistent disk
And then:
Source disk > Name of project
And your old drive will be intact.
Removing an instance in this way removed it from the list of instances for me, while poweroff did not remove it immediately.
Beware: persistent storage used for disks has a (relatively small) monthly cost. I received a few cents for some unused data without warning email.
Ciro Santilli ๅ
ๅญ ้ฒ ๅฎช ๅ
ญๅ ไบไปถ ๆณ่ฝฎๅ
source share