A VPS, short for virtual private server, is a virtual computer carved out of a bigger physical one. You get your own operating system, a set amount of memory and processor power, and full administrator access, without paying for a whole machine.
How virtualisation creates a private server
The provider runs a layer of software called a hypervisor, such as KVM, on a powerful physical machine. The hypervisor divides that hardware into several virtual machines, each believing it is a real computer. Your VPS boots its own copy of Linux or Windows, gets its own IP address, and cannot see the files or processes of the other virtual machines on the same hardware. Compared with shared hosting, the key difference is that your memory and CPU allocation are reserved, and you control the software stack.
What you take on with a VPS
An unmanaged VPS is a blank computer. You connect over SSH, install a web server like Nginx, set up a firewall, configure SSL, apply security updates and arrange backups. Providers such as DigitalOcean, Linode (now part of Akamai), Vultr and Hetzner sell these by the month. Managed VPS plans cost more because the provider handles some of that maintenance for you.
Running a Node.js booking app on a VPS
A small agency runs a booking app built with Node.js and PostgreSQL. Shared hosting cannot run a long-lived Node process, so they rent a VPS with 2 GB of memory. They install Node, PostgreSQL and Nginx in front as a reverse proxy, set up automatic security updates, and schedule nightly database dumps to separate storage. It works well, but someone on the team now owns server upkeep.
Does a small-business site need one?
Usually not. A brochure site, blog or small shop is better served by managed or static hosting, where nobody has to patch an operating system. A VPS makes sense when you need to run custom server software, background workers or a database you control, and you have someone who can look after it.
Common VPS mistakes
- Leaving password login on SSH. Bots try common passwords against every public server. Use keys and disable password login.
- Never updating the system. Nobody patches an unmanaged VPS except you.
- Treating provider snapshots as the only backup. Keep copies somewhere outside that account too.
- Picking the smallest plan for a database-heavy app. Running out of memory makes the database crash or the server swap heavily.
Related terms
- Shared hosting: the cheaper, less flexible option below a VPS.
- Server: what a VPS imitates in software.
- Nginx: a web server commonly installed on a VPS.
- Web hosting: the full range of hosting options.