A VPS for system administrators
A small VPS such as S4 (2 vCPU, 4 GB RAM, 40 GB NVMe) makes an ideal sysadmin toolbox: a lab you can wipe in seconds, a jump host, a monitoring node or a private resolver, all with full root on a KVM machine. Rebuild switches between 11 Linux images on the same server, and Arm plans let you test arm64 next to x86.
Recommended start: S4, $4.25/mo
What can a sysadmin use a VPS for?
A cheap server outside your own infrastructure solves a surprising number of everyday problems:
- Test lab: try a config change, a kernel parameter or a package upgrade on a throwaway machine before touching production.
- Jump host: one hardened SSH entry point that reaches internal machines, with every login logged in one place.
- Monitoring node: watch your servers from outside your own network, so you notice when the whole site goes dark.
- DNS resolver: a private validating resolver for your laptops and remote staff.
- Multi-distro testing: check that a script or package works on Ubuntu, Debian, Rocky, Alma, Fedora and openSUSE.
- Arm testing: run the same playbook on arm64 hardware.
- Script runner: scheduled jobs, certificate checks, reports, log shippers.
Each of these needs little CPU, so the low-cost plans carry most of them. Every server has its own dedicated IPv4 and IPv6 /64 and full root access.
How do you use a VPS as a test lab?
The Rebuild action is the lab feature: it installs any image on the same server in one step, keeps the IP address and wipes the disk. A typical loop looks like this:
- Rebuild with the target distribution.
- Run your change by hand or with a script, and record what you did.
- Break it on purpose: fill the disk, kill a service, reboot mid-upgrade.
- Rebuild again and repeat until the procedure is clean.
Because the host key changes on every rebuild, clear the old one before reconnecting:
ssh-keygen -R 203.0.113.10
ssh -o StrictHostKeyChecking=accept-new root@203.0.113.10Keep the SSH key in the console under SSH keys and select it during rebuild, so each fresh install is reachable at once without a password. There are no snapshots, so the lab state is rebuilt from your scripts rather than restored from an image. That discipline is a good thing: if the script cannot rebuild the server, production cannot be rebuilt either.
Plans that fit
Sizes picked for this project, smallest first. Prices are per month; the order total is the shortest term that reaches $40.
| Plan | Why | Per month |
|---|---|---|
| S4 | Jump host, resolver or a small test box in Europe, the recommended start | $4.25 |
| A4 | Arm64 testing next to x86, in four European cities | $4.55 |
| S8 | Prometheus, Grafana and Uptime Kuma together on one monitoring node | $6.35 |
| P2 | A test box or monitoring probe outside Europe, sold in all 15 cities | $6.95 |
How do you set up a jump host?
A jump host (bastion) is a single hardened machine that every admin SSH session passes through. Internal servers then accept SSH only from the jump host address.
On the bastion, allow key logins only, and limit what the account may do:
# /etc/ssh/sshd_config.d/bastion.conf
PasswordAuthentication no
PermitRootLogin no
AllowUsers jump
AllowTcpForwarding yes
X11Forwarding no
LogLevel VERBOSEReload with systemctl reload ssh on Ubuntu or Debian (sshd on Rocky and Alma). On each admin laptop, add the bastion to ~/.ssh/config:
Host bastion
HostName 203.0.113.10
User jump
Host db1 web1
ProxyJump bastionNow ssh db1 goes through the bastion transparently, and the private key never leaves the laptop. On internal servers, restrict port 22 to the bastion IPv4 and IPv6 with ufw allow from 203.0.113.10 to any port 22. More hardening steps are in SSH hardening.
How do you run an outside monitoring node?
Monitoring that runs inside the network it watches goes quiet exactly when that network fails. A VPS in another city sees what your users see. Two common setups:
- Uptime checks: Uptime Kuma in Docker, checking HTTP, TCP, DNS and certificate expiry, with alerts to chat or email.
- Metrics: Prometheus with the blackbox exporter for probes, plus Grafana for dashboards. Our Prometheus and Grafana image starts with both installed.
A minimal blackbox job in /etc/prometheus/prometheus.yml:
scrape_configs:
- job_name: https
metrics_path: /probe
params:
module: [http_2xx]
static_configs:
- targets: [https://example.com, https://api.example.com/health]
relabel_configs:
- source_labels: [__address__]
target_label: __param_target
- source_labels: [__param_target]
target_label: instance
- target_label: __address__
replacement: 127.0.0.1:9115Place the node in a different city from production, for example Helsinki watching servers in Frankfurt. Monitoring basics covers the on-host side.
How do you run your own DNS resolver?
A private resolver gives you validated DNSSEC answers, your own logging policy and a stable address for remote staff. Unbound is light and secure by default:
apt -y install unbound
cat > /etc/unbound/unbound.conf.d/lab.conf <<EOF
server:
interface: 10.8.0.1
access-control: 10.8.0.0/24 allow
hide-identity: yes
hide-version: yes
qname-minimisation: yes
EOF
systemctl restart unbound
dig @10.8.0.1 example.com +dnssecBind it only to a WireGuard address, as shown here, never to the public IP: an open resolver gets abused for reflection attacks within hours. On Ubuntu, systemd-resolved already listens on 127.0.0.53, which does not clash with the WireGuard address. The VPN side is in our VPN guide and the WireGuard image.
How do you test scripts across many distributions?
The images cover the families most fleets contain: Ubuntu 24.04 and 22.04, Debian 13 and 12, Rocky Linux 10 and 9, AlmaLinux 10 and 9, CentOS Stream 10, Fedora 43 and openSUSE Leap 15.6. Common differences that break scripts:
| Topic | Debian and Ubuntu | Rocky, Alma, CentOS Stream, Fedora | openSUSE Leap |
|---|---|---|---|
| Package manager | apt | dnf | zypper |
| SSH service name | ssh | sshd | sshd |
| Default firewall tool | ufw (Ubuntu) | firewalld | firewalld |
| Mandatory access control | AppArmor | SELinux enforcing | AppArmor or SELinux |
| Web server user | www-data | apache or nginx | wwwrun |
Detect the system from /etc/os-release rather than guessing:
. /etc/os-release
case "$ID" in
ubuntu|debian) apt-get -y install curl ;;
rocky|almalinux|centos|fedora) dnf -y install curl ;;
opensuse-leap) zypper -n install curl ;;
esacWith 10 servers per account you can keep several distributions running side by side, or rebuild a single server through them in turn. The image list has notes on each one.
How do you test on Arm64 hardware?
More fleets now include arm64 machines, and container images, compiled tools and kernel modules all need checking there. An Arm64 plan such as A4 (2 vCPU, 4 GB RAM, 40 GB NVMe) runs on Ampere Altra cores in Frankfurt, Nuremberg, Helsinki or Amsterdam, and every image we offer exists for both architectures.
Quick checks after a rebuild:
uname -m # aarch64
dpkg --print-architecture # arm64 on Debian and Ubuntu
docker buildx lsRun your playbooks or install scripts on an x86 server and an Arm server in parallel and compare the results. Binary downloads that hardcode amd64 or x86_64 in a URL are the most common failure; a mapping from uname -m fixes them.
Why keep server configuration in git?
A lab is most useful when every change it proves ends up written down. Keep configuration files, scripts and notes in a git repository so that a rebuilt server returns to a known state, and so you can see who changed what and when.
- For a single machine,
etckeepercommits/etcautomatically after every package change:apt -y install etckeeper, thengit -C /etc log. - For several machines, a repository of plain files plus a short deploy script (
rsyncover SSH and a service reload) goes a long way before you need a full configuration management tool. - Never commit secrets. Keep them in a separate file outside the repo, or encrypt them with
sopsorage.
Host the repository yourself on a small server with Forgejo, or on the GitLab CE image if you also want built-in CI.
How do you keep lab costs low?
Use the smallest plan that holds the test, and delete servers once a project ends. Terms are prepaid and the shortest term is the one whose total reaches $40, for example $51.00 for 12 months for S4, so plan a lab around a few months rather than a few hours. Unused time is not refunded on early deletion, so rebuilding a server you already pay for is cheaper than ordering a new one for each test. Billing details are in the billing FAQ.
Sysadmin lab and tools, answered
Is there an API or CLI for automating servers?
No. Servers are created and rebuilt in the console. Automation starts once the server is up, over SSH with your own scripts or tools.
Can I upload my own ISO?
Custom ISOs are not available. Choose from 11 Linux distributions and 7 app images, all for x86 and Arm.
Does rebuild keep the IP address?
Yes. Rebuild keeps the server, its IPv4 and its IPv6 range, and wipes the disk. Only the SSH host key changes.
Can I build a private network between my servers?
There is no private network product. Link servers with WireGuard; a private link with WireGuard shows the setup.
Is nested virtualization supported for running VMs inside the lab?
Plan for containers instead. Docker, Podman and LXC run well inside our KVM servers and cover most lab needs.
How many lab servers can I have?
Up to 10 servers per account, in any mix of plans, images and cities.
Build it on CheapVPS
Pick the plan, a city near your users and the image, then pay the order in crypto.