I have one application that has preset of the app server installed.
I just want that be copied as an image to GCS.
I tried 'gcimagebundle' that said 'platform is not found, you can configure the platform in the python_factory.py file'.
Is there any way that I can copy my snapshot to GCS?
More Information:
sudo gcimagebundle -d /dev/sda -o /tmp/ --log_file=/tmp/abc.log
***************************************************************************
* *
* !!!! WARNING: YOU ARE INSIDE LVE !!!! *
*IF YOU RESTART ANY SERVICES STABILITY OF YOUR SYSTEM WILL BE COMPROMIZED *
* CHANGE YOUR USER'S GROUP TO wheel to safely use SU/SUDO *
* MORE INFO: *
* http://docs.cloudlinux.com/index.html?lve_pam_module.html *
* *
***************************************************************************
Starting logging in /tmp/abc.log
Platform is not supported. Platform rules can be added to platform_factory.py.
os which i used is CentOS 6
There is a recently added capability in Compute Engine that allows you to create an image directly from a persistent disk. Please see the docs at https://developers.google.com/compute/docs/images#creating_an_image_from_a_root_persistent_disk
If you only have the snapshot, you would have to create a persistent disk from your snapshot first, and then use the 'gcloud compute images create' command with that disk as the source-disk
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With