
A snapshot is a point-in-time copy of a Vultr instance's disk, including its data, configuration, and settings. Cloning a server from a snapshot creates an exact copy of an existing instance, useful for scaling a workload across additional servers or moving a server to a different region. Vultr supports snapshot-based cloning for instances running Windows and Linux-based operating systems.
This guide explains how to create a snapshot of an existing Vultr instance, restore that snapshot to a new instance, and update the network configuration on the new instance when required.
Before you begin:
While Vultr creates the snapshot, the instance enters a locked state and cannot be stopped or restarted until the process finishes. Snapshot creation time scales with the size of the instance.
Restoring a snapshot to a new instance copies the exact data and configuration of the source instance. Vultr can only restore a snapshot to a disk equal to or larger than the source instance's disk. If the destination disk has a single partition, Vultr expands it automatically to use any additional space. Vultr supports two ways to get the snapshot onto a new instance.
Once the instance finishes deploying, it becomes an exact replica of the source instance. If the source instance used DHCP, the network configuration is already complete. If the source instance used a static IP address, continue to the next step to update the network configuration.
Network configuration steps differ across Linux distributions and Windows.
Set the IP address, gateway, and netmask to the values shown in the Vultr Console for the new instance.
/etc/network/interfaces./etc/netplan/ and run sudo netplan apply to load the changes.nmcli or nmtui to update the connection, or edit the keyfile directly in /etc/NetworkManager/system-connections/. RHEL 9 and later store connections here instead of the legacy ifcfg files in /etc/sysconfig/network-scripts/.You have successfully cloned a Vultr virtual server using a snapshot, restored it to a new instance, and updated the network configuration when required. For more information about managing network settings on a Vultr instance, refer to How to Configure Networking on Vultr Cloud Servers.
0 Comments
Be the first to comment and share your perspective with the community.