问题
I am looking to upgrade the machine type on my Google Cloud. The handful of solutions I've found all mentioned the follow:
1) Delete old instance while preserving disk.
2) Create new instance using the disk from the old instance.
None of the solutions provide any details though. How do you accomplish the 2 steps above in detail? I created a test instance (Bitnami LAMP stack), then tried deleting it, but it didn't give me any option to "preserve disk" when deleting, or "select another disk" during creation.
I'm not sure if it matters, but my instance is created via Bitnami (it's a LAMP deployment).
Thanks!
回答1:
Here is a YouTube video posted by Google Cloud Platform walking through these steps. https://youtu.be/-XYUeORywXU
The basic steps are:
- Create snapshot of your disk
- Create new instance with the desired type
- Change boot disk on new instance to the snapshot you created
- Delete old machine once new instance is up
来源:https://stackoverflow.com/questions/33169329/changing-machine-type-on-google-cloud