# Virtual Private Server (VPS)

> A rented slice of a big machine that acts like your own server.

**Field:** Infrastructure  
**Category:** Renting a Server (VPS)  
**Also known as:** VPS, Cloud Server, Virtual Server, VPS Hosting

## Think of it like

Think of it like a flat in a big block. The building is shared, but your flat has its own door and key.

## Definition

A VPS is a server you rent that is one slice of a bigger machine. Software splits the machine into many private servers. Each one gets its own share of CPU, memory and disk. You get root access and pick the operating system. To you it acts like a whole server, at a small part of the price.

## Example

Lucy rents a small VPS for her shop's website. She logs in with SSH, installs a web server and points her domain at it.

## Example code

```console
$ nproc
2
$ free -h | head -2
               total        used        free
Mem:           3.8Gi       410Mi       3.1Gi
```

Two CPUs and about 4 GB of memory. That is the share this plan gives Lucy.

## Why it matters

It is the cheapest way to get a real server that is all yours. Most small sites start here.

## Common mistake

Thinking the host looks after it. On an unmanaged VPS, updates, backups and safety are your job.

## Three principles

- **A slice.** One part of a big shared machine.
- **Root access.** You run it like your own server.
- **Fixed share.** Set CPU, memory and disk.

## Related terms

- [Shared Hosting](https://learn.benibix.com/term/infrastructure/shared-hosting)
- [Dedicated Server](https://learn.benibix.com/term/infrastructure/dedicated-server)
- [Managed Hosting](https://learn.benibix.com/term/infrastructure/managed-hosting)
- [Server Plan](https://learn.benibix.com/term/infrastructure/server-plan)
- [Secure Shell (SSH)](https://learn.benibix.com/term/infrastructure/ssh)
- [Infrastructure as a Service (IaaS)](https://learn.benibix.com/term/infrastructure/infrastructure-as-a-service)
- [Virtual Machine (VM)](https://learn.benibix.com/term/infrastructure/virtual-machine)

## Told apart from

- [VPS vs Dedicated Server](https://learn.benibix.com/compare/vps-vs-dedicated-server): People often think a VPS is a small dedicated server. It is not a machine of its own. A VPS is one slice of a big machine, shared with other customers. A dedicated server is the whole machine, with nobody else on it. A VPS is ready in a minute and costs less. A dedicated server gives steady speed that no neighbor can take.
- [Shared Hosting vs VPS](https://learn.benibix.com/compare/shared-hosting-vs-vps): People often think shared hosting and a VPS are the same cheap plan. On shared hosting, the host runs the server and you only get a folder for your site. On a VPS, you get root access and run the whole server yourself. Shared hosting is easier. A VPS lets you install anything, and every update is yours to do.

## Taught in

- [VPS, Shared and Dedicated](https://learn.benibix.com/learn/infrastructure-vps/vps-vs-shared-and-dedicated): VPS, 1/7

![Three buildings side by side. Shared hosting is one big room where many small sites sit at the same table. A VPS is a building split into locked flats, each with its own door and key, on one shared machine. A dedicated server is a whole house for one tenant. An arrow along the bottom points right: more control, more cost.](https://learn.benibix.com/diagrams/inf3-hosting-types.svg)

---

Source: https://learn.benibix.com/term/infrastructure/virtual-private-server
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-17
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
