Linux & Servers

Choosing a VPS for Docker: Real Criteria, Not Marketing

Six measurable criteria for picking a virtual server: virtualisation type, NVMe, RAM and CPU, bandwidth, snapshots and support.

Choosing a VPS for Docker: Real Criteria, Not Marketing
Table of contents
  1. 1. Virtualisation type: KVM versus OpenVZ/LXC
  2. 2. Disk: NVMe versus SATA
  3. 3. RAM and CPU
  4. 4. Network and bandwidth
  5. 5. Snapshots and backups
  6. 6. Support and terms
  7. Summary

There is no “best VPS”, only criteria. This article lists the criteria that actually matter so you can judge for yourself based on what you plan to run, without naming any particular provider.

1. Virtualisation type: KVM versus OpenVZ/LXC

KVM is full virtualisation: the RAM and CPU you buy really are yours. With OpenVZ/LXC resources are shared and overselling is common, which shows up as a server that slows down and stutters at peak times. For anything with a database, always choose KVM.

2. Disk: NVMe versus SATA

For MySQL/MariaDB, the difference in real IOPS between NVMe and SATA SSD is significant. Test before you commit, with fio (only on a test server; with these options fio writes, then deletes its test file):

fio --name=test --filename=/tmp/fio.bin --rw=randread --bs=4k \
--size=512m --numjobs=4 --runtime=30 --group_reporting --direct=1 --unlink=1

3. RAM and CPU

For a Dockerised WordPress stack, a realistic rule of thumb: 2 GB of RAM for testing, 4 GB for serious use (MariaDB, PHP-FPM and nginx all want their share), and 8 GB if you host several sites on the same server. For CPU, dedicated vCPUs beat shared ones; on shared plans your burst gets throttled, and databases are sensitive to that. On small plans, a little swap is cheap insurance.

4. Network and bandwidth

Questions to ask before buying: is monthly bandwidth metered or unmetered? Are domestic and international traffic counted separately? Check that the advertised numbers are real with iperf3 against a reference server.

5. Snapshots and backups

The cheapest insurance is a snapshot before every big change. Key questions: are snapshots free? Automatic, and how often? Available from the panel? If the answer to all of them is no, backups are entirely your job; the full commands are in our backup guide.

6. Support and terms

How fast is the first response during working hours? Can you upgrade to a bigger plan without a reboot? What do the terms of service say about “excessive CPU usage”? For honest answers, ask existing customers rather than the provider.

Summary

KVM + NVMe (or SSD) + enough RAM + accessible snapshots. And the first thing to do after buying is set up automated backups. Everything else is a matter of taste.

About the author

Arash Karimian

Network and infrastructure engineer with years of day-to-day work on Linux servers, firewalls and network tuning. Writes about networking, security and server troubleshooting.

All articles by Arash Karimian

Comments

No comments yet. For technical questions, include the details (OS version, the exact error and the command you ran) to get a precise answer.

Leave a comment