Guide
Rebuild a VPS from a fresh image
Snapshot the disk, reimage the instance, clean the stale host key, reapply the base configuration and verify.
1. Snapshot before anything
Instance, Snapshots, Create. A rebuild wipes the disk, so the snapshot is the only route back to the current state.
2. Note the address and the DNS
The IPv4 normally stays with the instance, so existing A records keep working. Anything hardcoded inside the guest, such as a monitoring agent ID, needs re-registering.
3. Start the rebuild
Instance, Rebuild, choose the image, confirm. The disk is reimaged in about a minute and the instance returns on the same address.
4. Clear the stale SSH host key
The host key changes with the disk. Run ssh-keygen -R 203.0.113.10 locally to avoid the mismatch warning on the next login.
5. Reapply the base configuration
Key, user, firewall, updates: ssh-copy-id, adduser deploy, apt update && apt -y upgrade. Keep these in one script so the second rebuild takes minutes instead of an evening.
6. Verify the service before repointing DNS
curl -sS http://127.0.0.1:8080/health or systemctl status nginx. Confirm the application answers locally first.
FAQ
Questions we get on this page
Does a rebuild keep my snapshots?+
Does the IP address change?+
Ready when you are
Tell us what you need. A human answers.
Pilot stage: one facility in Reykjavík, plans confirmed by hand, payment in crypto. Write to the desk and you get a real person, not a queue.