Migration
Migrating a Boot Volume
This approach is straight-forward, but it will only work when both the origin and destination Availability Zones support the Volume backup service. In addition, the instance’s boot volume must not be too large for Volume backup to work.
For further information regarding migrating boot volumes, visit the support site here.
Steps:
-
Shut down the old instance.
-
Create a Volume backup for the instance’s volume.
-
Create a new Volume in the new Availability Zone from the backup.
-
Launch a new “boot from volume” instance from the new volume.
-
Verify that the instance is working properly.
-
Wait. It is advisable to keep the old instance for a few days in case you need to roll back the migration.
-
Delete the old instance, old volume and snapshot, and volume backup.
Migrating using volume to image upload
This approach is also straight-forward, but it only works up to a certain size of volume. (Temporary disk space is used on the infrastructure server to hold the image before it is uploaded. If a volume is too large, there won’t be enough space and the operation will fail.)
Steps:
-
Shut down the old instance
-
Upload an Image from the instance’s volume.
-
Launch a new instance from the Image in the new AZ. This could be a boot-from-volume instance, or a regular instance if the Image is 30GB or less.
-
Verify that the instance is working properly.
-
Wait. It is advisable to keep the old instance for a few days in case you need to roll back the migration.
-
Delete the old instance, old volume and volume snapshot, and temporary volume.
Tutorial Complete!
You have completed this tutorial. Continue with the other tutorials in the Series or return to the tutorials home page.
Return Home