Change Google Compute / Cloud Server to Persistent Disk SSD

I have a live production website running on a standard permanent drive.

How to safely upgrade it to an SSD?

Is there an easy way to do this using the control panel rather than console commands?

Just to be clear, it’s normal to take away an instance in 10 minutes or so.

Will this work?

  • Snapshot instance
  • Clone Instance (using a snapshot - creating an SSD)
  • Move over static IP for cloning.
  • Verify that everything works, and ultimately delete the original instance
+5
source share
1 answer

OP provided the steps in the question by posting an answer for users who are still looking for a solution:

  • Create a snapshot of a permanent drive.
  • Create an SSD from the snapshot.
  • At this point you have two options:
    • Create a new instance with the SSD as the boot disk, transfer the static IP address from the old instance, and attach it to the new instance. After that, delete the old instance. It will have less or almost no downtime.
    • Delete the old instance, create a new instance with the SSD and assign a static IP address. This will reduce cost, but will have downtime.
+4
source

Source: https://habr.com/ru/post/1241421/


All Articles