Migrate VM onto GCE preconfigured image
I've migrated my VM to GCE from another host via CloudEndure. I'd like to have a feature that would migrate everything onto one of Compute Engine's preconfigured operating system images. The feature would be nice on to have on CloudEndure side during original migration also.
This is very difficult to implement, because it’s not easy to know what “everything” means. We think you’re saying you want all the software you’ve installed and settings you’ve changed to be migrated. But without a very deep understanding of what OS you started with (exactly), it’s hard to tease apart the difference between what was there and what you installed.
Matthew Jackman commented
Yes, "all the software you’ve installed and settings you’ve changed" would be pretty great. Even better, if you were able to display a manifest of everything that could be migrated and a picker so I could choose exactly what I wanted to migrate to my new image.
In my case, we're currently using Centos 6.8, and it's a LAMP stack. The ability to extract the AMP from the LAMP stack would work. Not that it's horribly complicated manual process, but would be nice to automate. Extract current versions, modules, settings, site data, much of which could be extracted from phpinfo() (for many LAMP stacks) as a single source of truth.