How to choose VPS specs: how much RAM and vCPU do you need
Starting spec table by workload, commands to measure real usage, and when to upgrade
The XVer team 2 min read Beginner
Also in ภาษาไทย
On this page
Most workloads run out of RAM before CPU, so size your VPS by memory first. A single WordPress site starts cleanly at 2 GB RAM,
n8n or multi-container
Docker stacks start at 4 GB, and
Windows Server with a desktop starts at 4 GB. Measure real load before scaling up.
Starting spec table by workload#
The numbers below are practical starting points, not benchmarks for your exact traffic.
| Workload | vCPU | RAM | What fills up first |
|---|---|---|---|
| Static site or reverse proxy | 1 | 1 GB | Bandwidth |
| Single |
1-2 | 2 GB | RAM ( |
| 2 | 2-4 GB | RAM on large workflow payloads | |
| Multi-service |
2-4 | 4-8 GB | RAM |
| 2-3 | 4-8 GB | Single-core CPU speed | |
| 2-4 | 4-8 GB | RAM and disk |
Shared, General Purpose, or Dedicated CPU#
- Shared: Shares physical CPU time with neighboring VMs. Best for websites and workloads with bursty traffic.
- General Purpose: Higher RAM-to-vCPU ratio. Best for databases and multi-container hosts.
- Dedicated: Reserves CPU time for your server alone. Best for sustained heavy CPU workloads.
Measure real usage before upgrading#
-
Check memory. Look at the
availablecolumn rather thanfree, becauseLinux uses free memory for page cache.
Terminal free -h -
Check CPU load. If the load average stays higher than your vCPU count for long stretches, work is waiting in line.
Terminal nproc uptime -
Check for out-of-memory kills.
Terminal sudo journalctl -k | grep -i "out of memory" -
Check disk space.
Terminal df -h /
| Symptom | Likely cause | Fix |
|---|---|---|
available stays below 10% |
Low RAM | Upgrade RAM or add temporary swap |
| High load with plenty of free RAM | CPU bottleneck | Add vCPU or switch to Dedicated |
High %st in top consistently |
Shared CPU contention | Switch to Dedicated CPU |
df above 85% |
Disk nearly full | Prune old logs and images, or attach storage |
Cost when running less than a full month#
Here is what a 2 vCPU, RAM 4 GB, NVMe disk 40 GB, Bandwidth 4 TB server costs for one day, one week, and a full month.
Frequently asked questions#
What can a 1 GB RAM VPS run?
Static sites, reverse proxies, VPNs, or small bots run well on 1 GB. WordPress with a local database fits tightly; add swap and cap PHP workers if you try it.
How much headroom should I leave?
Aim for 20 to 30% free RAM during peak traffic. You do not need to size for next year today, since you can resize the server later.
Will resizing my VPS erase data?
Resizing does not erase your disk, though you should always take a backup first before changing plans.
Compare all plans on Cloud Server pricing, estimate hourly costs in the pricing calculator, or deploy ready-made apps in XVer Marketplace.