By Zikou Jacob
I have some vms in proxmox (vm for gitlab runner and other for sonarqube) and I want to migrate both vms to digitalocean, what are the steps to do so? also what are service should I use with cost optimization Thanks in advance
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hey!
DigitalOcean allows you to create custom Droplets from uploaded disk images, but the image must meet certain criteria as listed here:
https://docs.digitalocean.com/products/custom-images/details/features/#image-requirements
Images you upload to DigitalOcean must meet the following requirements:
Operating system. Images must have a Unix-like OS.
File format. Images must be in one of the following file formats:
.img
) with an MBR or GPT partition tableSize. Images must be 100 GB or less when uncompressed, including the filesystem.
Filesystem. Images must support the ext3 or ext4 filesystems.
cloud-init
. Images must have cloud-init 0.7.7 or higher, cloudbase-init, coreos-cloudinit, ignition, or bsd-cloudinit installed and configured correctly. If your image’s default cloud-init
configuration lists the NoCloud
data source before the ConfigDrive
data source, Droplets created from your image will not function properly.
SSH configuration. Images must have sshd installed and configured to run on boot. If your image does not have sshd set up, you will not have SSH access to Droplets created from that image unless you recover access using the Recovery Console.
If you can meet these requirements, you can upload your Proxmox VM image to DigitalOcean and create a Droplet from it. Here’s a general outline of the steps you can follow:
Export your Proxmox VM disk as a .raw
or .qcow2
image:
qm export VM_ID /path/to/image.raw
Upload the Image: Follow the steps here:
https://docs.digitalocean.com/products/custom-images/how-to/upload/
Create a Droplet: Once the image is uploaded, create a Droplet by following the steps here:
This approach should work as long as your VM image meets DigitalOcean’s custom image requirements. If your Proxmox VM doesn’t meet these requirements (e.g., missing cloud-init
or unsupported OS), you might face issues during deployment.
If you can’t meet the requirements, you can manually recreate the VM environment on a fresh DigitalOcean Droplet. Install the required services and migrate your data using tools like scp
or rsync
:
Let me know how your migration goes!
- Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.