Migrating a “boot from volume” instance
While most Nectar instances are created from images in the Image store, it is also possible to create a Nectar instance that boots directly from a Volume.
Unfortunately, migrating a “boot from volume” instance between AZs can be rather complicated. There are three issues to contend with:
A “boot from volume” instance cannot be snapshotted in the normal way. (If you try, you get an empty snapshot.)
Volume backups are only viable for volumes up to a certain size, depending on the Node, and they are not possible at all in the QRIScloud AZ.
A “boot from volume” instance is intimately connected to its volume. The only way to disassociate them is to delete the instance. Indeed, if the volume was marked as “delete on termination”, then deleting the instance also deletes the volume.
The other thing to note is that a common use-case for “boot from volume” is to run a Windows virtual machine. Since Windows VMs are a Node-specific service, these instructions do not cover their migration. If you need advice, we suggest that you talk to the support team for the Node that you are migrating to.
We support two approaches for migrating a “boot from volume” instance:
Migrating using a volume backup.
Migrating using a volume to image upload.
Unfortunately, if the “boot from volume” root volume is too large, migration is problematic. If you run into problems, you will need to raise a support ticket. Another alternative would be to build a new instance from a fresh Image and install your software on it, and then “rsync” the data across from the old Volume.
Note that for simplicity’s sake we have left out the steps that you would use to deal with user-facing services, additional volumes and so forth. We suggest you review the instructions for “Migrating a normal instance”, and add the necessary steps into your overall migration plan.
The quotas actually required will depend on how you decide to migrate the instance. It may include:
Permanent quota for the instance’s volume in the new AZ.
Object storage quota for a Volume backup.