Change Google Compute/Cloud Server to SSD Persistent Disk

前端 未结 2 994
野趣味
野趣味 2021-02-05 17:11

I have a live production website running on a standard persistent disk.

How do I safely upgrade this to an SSD disk?

Is there a simple way to do it using the das

2条回答
  •  伪装坚强ぢ
    2021-02-05 17:46

    OP has provided the steps in the question, posting an answer for users still looking for a solution:

    1. Create snapshot of the persistent disk.
    2. Create SSD disk from the snapshot.
    3. At this point you have two choices:
      1. Create a new instance with the SSD disk as a boot disk, unassign the static IP from old instance and attach it to the new instance. Once done delete the old instance. This will have has less or almost no downtime.
      2. Delete the old instance, create a new instance with SSD and assign the static IP. This will reduce the cost but will have downtime.

提交回复
热议问题