Notes when restoring VM from Vultr snapshots

vultrThis article guides how to take snapshop and restore to a new VM from Vultr snapshots. If you do not know Vultr, you can check Free $10 credit from Vultr – Digital Ocean killer.

Take the snapshot

  • Simple, go to the My Servers >> Manage >> Snapshots (BETA), give it a name in label and Take Snapshot

Create VMs from a snapshot

  • Go to Deploy menu. In Operating system, choose Snapshot and choose the desired Snapshot from the dropdown list.
  • Wait until the snapshot is restored. After that, go to Manage screen of the new VM.
  • Access VM console by clicking on View Console.
  • Enter the root user and password. The password is the password of the machine we created snapshot from.
  • Next, we will need to change the network interface of the new VM so that it can be accessed from Internet. Remember the new IP address of the machine.
  • Check available network interface ifconfig command. We can only see one local network interface (lo), no public interface. The reason is that the network interface is copied from the old VM and it cannot be worked with the new one. So, we need to change as follows:
    • Edit eth0 interface:

      [bash]nano /etc/sysconfig/network-scripts/ifcfg-eth0[/bash]

    • Change IPADDR in eth0 to the IP of the new VM. Then remove HWADDR and UUID information. Remember to change GATEWAY and DNS1 if machine is in another IP range.
    • Remove network rules:

      [bash]rm -f /etc/udev/rules.d/70-persistent-net.rules[/bash]

    • Reboot the new VM:



About NhocConan

A super lazy guy who tries to write tech blog entries in English.He is lazy, so he can only write when he is in a good mood or when he is tired of coding.

Leave a comment

Your email address will not be published. Required fields are marked *