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!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hey!
DigitalOcean allows you to create custom Droplets from uploaded disk images, but the image must meet certain criteria as listed here:
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 defaultcloud-init
configuration lists theNoCloud
data source before theConfigDrive
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:Upload the Image: Follow the steps here:
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
orrsync
:Let me know how your migration goes!
- Bobby