• Sizing
  • Performance

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
  1. Starting spec table by workload
  2. Shared, General Purpose, or Dedicated CPU
  3. Measure real usage before upgrading
  4. Cost when running less than a full month
  5. Frequently asked questions

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 WordPress site 1-2 2 GB RAM (PHP and MariaDB)
n8n with database 2 2-4 GB RAM on large workflow payloads
Multi-service Docker host 2-4 4-8 GB RAM
Minecraft (5-10 players) 2-3 4-8 GB Single-core CPU speed
Windows Server over RDP 2-4 4-8 GB RAM and disk
PlanNVMe diskBandwidthPer hourPer month
1 vCPU · 1 GB20 GB2 TB฿0.25/hr฿149/mo
1 vCPU · 2 GB32 GB2 TB฿0.38/hr฿229/mo
2 vCPU · 4 GB40 GB4 TB฿0.70/hr฿419/mo
4 vCPU · 8 GB80 GB10 TB฿1.37/hr฿819/mo

Prices when this page was built

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#

  1. Check memory. Look at the available column rather than free, because Linux uses free memory for page cache.

    Terminal
    free -h
  2. Check CPU load. If the load average stays higher than your vCPU count for long stretches, work is waiting in line.

    Terminal
    nproc
    uptime
  3. Check for out-of-memory kills.

    Terminal
    sudo journalctl -k | grep -i "out of memory"
  4. 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.

฿16.80

24 hours

2 vCPU · 4 GB

฿117.60

168 hours

2 vCPU · 4 GB

฿419.00

730 hours

2 vCPU · 4 GB

Charged per hour the server exists, never above the monthly price in a calendar 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.

Follow the guide on your own server

Create a Cloud Server with Ubuntu, Debian or Windows Server, billed by the hour in Thai baht. Support answers 24/7 in Thai and English.