A comprehensive guide for migrating your virtual private servers from OVH (OVHcloud) to RamNode Cloud VPS.
This guide provides step-by-step instructions for migrating your virtual private servers from OVH (OVHcloud) to RamNode Cloud VPS. The migration process involves exporting your server image from OVH, preparing it for compatibility with RamNode's infrastructure, and uploading it to your RamNode account.
RamNode's Cloud VPS platform supports multiple image formats and provides flexible options for importing custom images, making it an ideal destination for migrations from other cloud providers.
| Format | Description | Recommended |
|---|---|---|
| QCOW2 | QEMU Copy-On-Write format | Yes (Best) |
| RAW | Uncompressed disk image | Yes |
| VMDK | VMware virtual disk | Yes |
| VDI | VirtualBox disk image | Yes |
| VHD/VHDX | Microsoft Hyper-V format | Yes |
OVH provides several methods for exporting your VPS image. Choose the method that best suits your environment.
The simplest method for OVH VPS users is to create and download a snapshot:
Note: OVH snapshots are live snapshots. For best results, install qemu-guest-agent on your VPS before taking the snapshot to ensure filesystem consistency.
For OVH Public Cloud instances, use the OpenStack CLI:
source openrc.shopenstack server image create --name "migration-image" <instance-id>openstack image save --file migration-image.qcow2 <image-id>For advanced users who need full control over the export process:
dd if=/dev/sda bs=4M status=progress | gzip > /tmp/disk-image.raw.gzBefore uploading to RamNode, ensure your image meets the following requirements for optimal compatibility and performance.
RamNode Cloud VPS uses VirtIO drivers for optimal disk and network performance. Most modern Linux distributions include these by default. Verify VirtIO support:
lsmod | grep virtioIf VirtIO modules are not present, install them before creating your export image.
Cloud-init enables automatic configuration of SSH keys, network settings, and user data. Install it on your source VPS before migration:
Ubuntu/Debian:
apt update && apt install cloud-init -yCentOS/Rocky/AlmaLinux:
yum install cloud-init -yFedora:
dnf install cloud-init -yRemove machine-specific identifiers to ensure your image works correctly on RamNode:
# Clear SSH host keys (will regenerate on first boot)
rm -f /etc/ssh/ssh_host_*
# Clear machine-id
echo '' > /etc/machine-id
# Remove persistent network rules
rm -f /etc/udev/rules.d/70-persistent-net.rules
# Clear bash history and logs (optional but recommended)
history -cIf your exported image is not in QCOW2 format, convert it using qemu-img for optimal performance and space efficiency on RamNode.
Ubuntu/Debian:
apt install qemu-utils -yCentOS/RHEL/Rocky:
yum install qemu-img -ymacOS (via Homebrew):
brew install qemuUse the appropriate command based on your source format:
RAW to QCOW2 (with compression):
qemu-img convert -f raw -O qcow2 -c input.raw output.qcow2VMDK to QCOW2:
qemu-img convert -f vmdk -O qcow2 input.vmdk output.qcow2VDI to QCOW2:
qemu-img convert -f vdi -O qcow2 input.vdi output.qcow2VHD to QCOW2:
qemu-img convert -f vpc -O qcow2 input.vhd output.qcow2After conversion, verify your image:
qemu-img info output.qcow2This displays the image format, virtual size, and actual disk usage.
Follow these steps to upload your image through the RamNode interface:
For images larger than 2GB, use the OpenStack CLI for reliable uploads:
Go to cloud.ramnode.com, navigate to API Access, and download the OpenRC file for your target region.
source openrcopenstack image create --disk-format qcow2 --container-format bare --file <file.qcow2> <image-name>openstack image create --disk-format qcow2 --container-format bare --file ovh-server.qcow2 OVH-WebServer-MigrationFor detailed OpenStack CLI instructions, see our Region Migration Guide.
Once your image is uploaded, create a new instance:
After deploying your migrated instance, complete these verification steps:
/etc/hosts with the new hostname if neededapt install qemu-guest-agent -y && systemctl enable qemu-guest-agentsystemctl status sshdNeed help? Contact RamNode support at clientarea.ramnode.com for personalized assistance.