VPS with 4 GB RAM under $12: how it gets cheaper and what to check
Four gigabytes of memory for up to about $12 a month is no longer a starter plan but a working machine for a shop, a stack of containers or a remote workstation. Hosts reach this budget in different ways: some use old processors, some save on the disk or the network, and some simply quote the price for annual payment. To understand which option suits you, it helps to know where exactly the cost has been cut.
Where the low price comes from
- Older processor generations. Xeon E5 servers paid for themselves long ago, so a core on them costs less. For a site or a bot the difference is unnoticeable; for builds, compression and databases under load, one modern core can replace two old ones.
- Dense placement. The more customers on a node, the cheaper each one is, and the more often your cores wait for other people's processes.
- SATA SSD or HDD instead of NVMe. With 4 GB for a database this is more noticeable than a shortage of cores.
- A 100 Mbit/s port or a traffic cap. Enough for a shop, but not for backups to external storage or serving files.
- Annual billing and promotions. The price of the first period may be lower than the renewal price, so check both.
- A container instead of KVM. Part of the memory may turn out not to be guaranteed; how to check is on the VPS with 4 GB RAM page.
None of these points makes a plan bad by itself. What matters is that the savings fall on something your task does not need.
Which compromise suits the task
For an online shop and a CMS with a database the disk matters most: the catalogue, cart and search constantly read small blocks, and NVMe gives more here than an extra core. A Docker stack of several services needs KVM with guaranteed memory, everything else is secondary; see VPS for Docker. For Windows used over RDP, two cores and the ping to your city matter, while the disk can be simpler. For a test environment and CI almost any option will do, as long as the plan can be deleted quickly.
If the budget hits its ceiling, it is sometimes better to look at cheap NVMe VPS with less memory: for a site with good caching, a fast disk with 2 GB works better than a slow one with 4 GB. And the other way round: if you need a lot of memory and the disk is barely used, a plan on SATA SSD is a perfectly good choice.
Testing the CPU and disk in the first days
- Processor model. The
lscpucommand shows the model and clock speed. If a program needs AVX2 or AVX-512 instructions, look for them in the Flags line: some databases and builds of ML libraries will not start without them. - Steal time. Load the server for a few minutes, for example with
stress-ng --cpu 2, and watch the st column intop. Values near zero are good; a steady 10% or more is a sign of an overloaded node. - Random disk access.
fiowith a 4K block and a queue depth of 32 shows IOPS. For a database on 4 GB, expect tens of thousands of operations on NVMe; if you get a few thousand, you are looking at SATA or HDD under load from neighbours. - Network. Download a large file from public mirrors in several directions and compare the speed with what was advertised.
Repeat the measurements in the evening: problems of dense placement show up more often at peak hours than in the morning.
If the figures are noticeably worse than expected, do not spend weeks on fine-tuning. First write to support with the test results: sometimes the server is moved to a less loaded node. If there is no answer or it is a formality, use the refund period while there is little data on the machine. Also check where the server physically is: with the same 4 GB, the difference in ping between Moscow and Western Europe matters more for a shop with a Russian audience than a price difference of a few dollars. The same applies anywhere: keep the server close to your buyers.
When it is worth going above this budget
If under constant load the server uses more than 3 GB excluding cache, swap grows day by day and steal stays high, further savings will cost you time on optimization and downtime. In that case look at 8 GB plans or the general selection of VPS under $12 with a more modern processor: sometimes a plan with less memory but on newer hardware runs faster. Prices in the table above are converted to a monthly amount, so annual and monthly plans can be compared directly.