- What do vCPU, memory, storage and transfer mean on a VPS?A VPS plan is described by four numbers.
- What size do common workloads need?These are starting points, not guarantees.
- Why is memory usually the first limit?Web stacks keep many things in memory at once: the web server, PHP or application workers, the database and its caches, and…
What do vCPU, memory, storage and transfer mean on a VPS?
A VPS plan is described by four numbers. vCPUs are virtual processor cores, which decide how much work runs at the same time. Memory (RAM) holds running programs and caches; when it runs out, the system slows sharply or kills processes. Storage is the disk space for the system, your files, databases and backups, and its type (NVMe, SSD) affects speed; see NVMe vs SSD. Transfer is how much traffic you may send each month; see bandwidth, storage and data transfer.
What size do common workloads need?
These are starting points, not guarantees. The right size depends on your software, your traffic and how well you cache. Always check the requirements of what you run.
| Workload | Starting point | What grows first |
|---|---|---|
| One small static or WordPress site | 1 vCPU, 1 to 2 GB memory | Memory, as plugins are added |
| A few WordPress sites | 2 vCPUs, 2 to 4 GB memory | Memory and CPU at peak |
| A busy shop or membership site | 2 to 4 vCPUs, 4 to 8 GB memory | Database and PHP workers |
| A Node.js or Python app with a database | 1 to 2 vCPUs, 2 to 4 GB memory | Memory, then CPU |
| Docker with several services | 2 vCPUs, 4 GB memory or more | Memory |
| A game or media server | Depends on the software | CPU and network |
Why is memory usually the first limit?
Web stacks keep many things in memory at once: the web server, PHP or application workers, the database and its caches, and the operating system. A page request can use tens of megabytes in a PHP worker, so ten simultaneous visitors need hundreds of megabytes. When memory is exhausted, the system starts swapping to disk, which is far slower, or the kernel kills a process, often the database. A little spare memory is cheap insurance, and giving the database room to cache data speeds everything up.
How do you measure what you actually use?
- Watch memory and CPU over a week
Use the provider's graphs or tools such as htop, and include your busiest day.
- Look at the peaks, not the average
An average of 30% can hide spikes to 100%.
- Check disk use and inodes
Include logs, backups and the database.
- Test under load
Use a load testing tool on a staging copy to see where it breaks.
When should you resize?
- Memory use stays above about 80% and swap is in use.
- CPU is near 100% for long stretches at busy times.
- Response times rise at peak, as shown in time to first byte.
- You are adding a new site, a shop or a service.
- Before an event you expect to bring traffic, such as a sale or a launch.
First try cheaper fixes: page caching, object caching with Redis, a CDN and removing heavy plugins. They often delay or avoid an upgrade.
How does resizing work?
Providers differ. Some let you upgrade CPU and memory with a short restart and a bigger price; some let you add only disk, or allow downgrades only for some resources; some require rebuilding on a new plan. Check whether a resize is reversible, whether it changes your IP address and how long it takes. Take a snapshot and a backup first; see website backups.
How do cost and size relate?
Prices rise with resources, but not evenly. Often a plan with double the memory costs less than double the price, so the next size up can be good value. Compare plans on our best VPS hosting, cheap VPS and unmanaged VPS lists, and remember that a managed plan includes work you would otherwise do yourself; see managed vs unmanaged VPS.
What are the common mistakes?
- Buying the largest plan “to be safe” and paying for resources you never use.
- Buying the smallest plan and ignoring memory warnings.
- Judging by the average, not the peak.
- Running the database, cache and web server with default settings that waste memory.
- Forgetting to include backups, logs and updates when sizing storage.
A worked example: sizing a server for three WordPress sites
An agency wants to host three small WordPress sites for clients on one VPS. Each site gets about 3,000 visits a month with page caching. They start with 2 vCPUs and 4 GB of memory. After a week of monitoring, memory use averages 1.6 GB and peaks at 2.4 GB during a backup run, and CPU peaks at 40 percent. That leaves comfortable headroom. A month later one client launches a campaign, and memory peaks at 3.6 GB with swap in use. The agency moves that site to its own 2 GB server and keeps the other two where they are.
They sized on measurement, split the load when one site grew and avoided paying for a much larger server that most sites did not need.
How should you set up monitoring for sizing?
- Record CPU, memory, disk and network at one-minute or five-minute intervals.
- Keep at least a few weeks of history, including backup and update times.
- Alert at 80 percent sustained memory use and on swap usage.
- Check slow queries and the busiest URLs when load rises.
- Review the numbers monthly and after any change.