Ubuntu VPS:
Best Plans and How to Set One Up
Quick answer: An Ubuntu VPS is a virtual private server running Ubuntu Server, a free Linux distribution with long-term support (LTS) releases. Pick a KVM plan with at least 1 GB of RAM, install the newest LTS release your provider offers, then secure it with a sudo user, a firewall, SSH keys and automatic security updates.
| Provider and Plan | vCPU | RAM | Storage | Monthly Price | Our Score | Link |
|---|---|---|---|---|---|---|
| RackNerd 1 GB KVM VPS (Black Friday) | 1 | 1 GB | 20 GB SSD | $1.83 on annual term | Testing | See Plan Details |
| RackNerd 512 MB KVM VPS | 1 | 0.5 GB | 30 GB RAID-10 SSD | $2.25 on annual term | Testing | See Plan Details |
| RackNerd 2 GB KVM VPS (Black Friday) | 2 | 2 GB | 35 GB SSD | $3.00 on annual term | Testing | See Plan Details |
| Kamatera Type A 1 vCPU / 2 GB / 30 GB NVMe | 1 | 2 GB | 30 GB NVMe | $8.00 monthly | Testing | See Plan Details |
| Hostinger KVM 1 | 1 | 4 GB | 50 GB NVMe | $12.99 on annual term | Testing | See Plan Details |
Prices checked November 26, 2026. Scores come from our own tests; plans marked Not Tested are listed for price comparison and aren't ranked. We may earn a commission when you buy through some of these links. How we test.
Part of our Linux VPS guide. Related: KVM VPS and Docker VPS.
Why Choose Ubuntu for a VPS?
Ubuntu Server is free, well documented and offered by almost every VPS provider and control panel. Its long-term support (LTS) releases come out every two years and get five years of standard security updates from Canonical. Ubuntu Pro extends that coverage and is free for personal use on up to five machines. Many tutorials for Docker, n8n, WordPress and AI tools are written for Ubuntu first, which makes problems easier to solve.
Which Ubuntu Version Should You Install?
Install the newest LTS release your provider offers. LTS versions end in .04 and come out in even-numbered years, such as 22.04 and 24.04. Avoid interim releases on a server, because each one is supported for only nine months. Our RackNerd test server runs Ubuntu 24.04 LTS.
How Much RAM Does an Ubuntu VPS Need?
It depends on what you run. These are our starting points:
| What You Run | Suggested RAM |
|---|---|
| Small website, VPN or bot | 1 GB |
| WordPress with caching | 2 GB |
| Docker with a few containers | 2 to 4 GB |
| n8n, AI agents or a database | 4 GB or more |
| Game servers | 4 to 8 GB or more |
How Do You Set Up an Ubuntu VPS?
- Connect over SSH:
ssh root@your-server-ip - Update the system:
apt update && apt upgrade -y - Create a sudo user:
adduser yourname, thenusermod -aG sudo yourname - Turn on the firewall:
ufw allow OpenSSH, thenufw enable - Turn on automatic security updates:
apt install unattended-upgrades, thendpkg-reconfigure --priority=low unattended-upgrades - Switch to SSH keys: add your public key, test it, then set
PasswordAuthentication noin/etc/ssh/sshd_configand restart SSH.
Our step-by-step guide covers each of these in more detail: how to set up a VPS.
Is Ubuntu Better Than Debian or AlmaLinux for a VPS?
None of them is best for everyone. Ubuntu ships newer software and has the most tutorials. Debian changes less between releases and is a little lighter. AlmaLinux and Rocky Linux suit people who need Red Hat compatibility. If you're unsure, start with Ubuntu LTS.
More Linux VPS Guides
Frequently Asked Questions
Is Ubuntu Free to Use on a VPS?
Yes. Ubuntu Server costs nothing; you pay only for the VPS. Ubuntu Pro adds longer security coverage and is free for personal use on up to five machines.
Can I Install a Desktop on an Ubuntu VPS?
You can, but most people don't need one, and a desktop uses extra RAM. If you want a graphical remote desktop, a Windows VPS is often simpler.
How Do I Upgrade Ubuntu on a VPS?
Take a snapshot or backup first, then run sudo do-release-upgrade. Many people prefer to build a fresh server on the new LTS release and move their apps across.
What Is the Difference Between Ubuntu Server and Ubuntu Desktop?
Ubuntu Server has no graphical desktop and is built to run services; Ubuntu Desktop adds a desktop environment. VPS providers almost always offer the server edition.