This guide will show how you can move an Ubuntu VM server domain between Vultr data centres via snapshots.
I have a number of guides on moving away from CPanel, Setting up VM’s on AWS, Vultr or Digital Ocean along with installing and managing WordPress from the command line. Sometimes you need to move a sever between locations and/or upgrade the server (to have more memory t install WordPress).
Moving an existing Vultr server
If you don’t have an Ubuntu server click here (follow this guide).
Login to Vultr and specify a source server, click Snapshots and click Take Snapshot.
Wait for the snapshot to finish (It may take 1 hour).
Great, the snapshot is done.
Now I can create a new server (in a different data centre).
Deploy New Instance
Choose a location (Australia is at capacity, so I’ll deploy to Silicon Valley then move again in a few weeks), choose the snapshot to restore, choose a plan, I enabled IPV6/Auto Backups and Private Networking.
TIP: The password for the server will be the same as the source server so write it down.
Click Deploy Now
After a few minutes, you can see the new servers IP address, you can log in to your domain name provider (in my case Namecheap) and update the target IPV4 and IPV6 address.
You will need to update Vultr DNS settings (login to Vultr, Click Servers, Click DNS then edit your existing Domain DNS entry). Add you’re new serves IP addresses.
Update: I added an IPV6/AAAA record too.
Wait for DNS Replication
Goto https://www.whatsmydns.net/ and check the global DNS propagation for your new domain’s server.
If you are happy that the server has been migrated (snapshot restored) and that the domain DNS is pointing to your new server you can delete the old server in the Vultr server list.
Post-Migrate Actions
- Setup Daily backups.
- Review firewall settings (guide here).
- Optional: Install MySQL
- Optional: Install PHP
- Optional: Install PHP Pooled Connections
- Optional: Install WordPress
- Optional: Install WordPress CDN
- Optional: Configure Cloudflare
- etc
I hope this guide helps someone.
Ask a question or recommend an article
[contact-form-7 id=”30″ title=”Ask a Question”]
Revision History
v1.1 Vultr Link
v1.0 Initial post