Warm tip: This article is reproduced from stackoverflow.com, please click
amazon-ec2 amazon-web-services linux

how to migrate AWS old generation instance to current generation instance without losing data

发布于 2020-03-29 21:00:08

I am trying to migrate my old geneartion instance to new geneartion instance from paravirtual to hvm machines, I detached pm machine's old root volume and detached the new hvm root volume. I attached pm root volume to hvm machine as /dev/sda1, and started the server. It started and stopped after seconds. I dont know whats happening, have some one had the same problem? Also How to migrate without creating problem in processes which my old pm server had?

Questioner
The Keeper
Viewed
68
The Keeper 2020-01-31 18:23

Existing paravirtual machine's root will not work with hvm type machine. One thing can do is Use this, the working script is at the bottom of the script. That is used to convert para virtual to hvm. But note this will take extraoridinary downtime. Face it. But it works. Or, Create a new instance and install the softwares from scratch taking the logs, files you need as a backup. And attach the volumes to the new instance. Volumes can be attached without any problem unless they are in the same region. Hope this helps..