VPS for Redis

Redis keeps everything in memory, so look at the price per gigabyte of RAM. Cheapest memory first, from 6 GB.

Find a VPS in four questions
16,139 plans
Sort by

VPS for Redis: prices, hosting providers and payment methods

The selection has 16,589 plans from 1,968 hosts. Prices start at 2.21 $ per month, a quarter of plans are cheaper than 35.85 $, half are cheaper than 73.54 $. NVMe: 43% of plans, unlimited traffic: 29%, hourly billing: 23%.

Cheapest hosting providers

  1. Server Hosh10yrs Special Package · 4 cores · 10 GB2.21 $
  2. Çelen Hosting Information Tech.VDS3 Fransa · 2 cores · 6 GB2.42 $
  3. Zentyx LimitedBudget VPS 1 · 1 core · 6 GB2.66 $
  4. BalHostVPS-2 (Xeon) · 4 cores · 6 GB3.03 $
  5. Cloudy4 Web ServicesGeneral Basic · 2 cores · 16 GB3.49 $

Price by RAM size

RAMPlansPrice from
from 1 GB16,5892.21 $
from 2 GB16,5892.21 $
from 4 GB16,5892.21 $
from 8 GB15,4132.21 $
from 16 GB9,9623.49 $

Payment methods

  • Bank card1090 55%
  • Cryptocurrency467 24%

How many hosting providers in the selection accept each payment method.

Best VPS hosting 2026 Provider comparisons VPS price index VPS guide

How to choose a VPS for Redis: memory headroom, persistence and port protection

Redis keeps all its data in RAM, so a plan for it is chosen almost by a single parameter: the price per gigabyte of memory. But "how much the data weighs" and "how much memory the server needs" are different numbers. The difference goes on internal structures, fragmentation and, above all, the copy of the process that Redis makes when saving to disk.

How much memory to take

Don't count the size of a dump; count what INFO memory shows on real data: every key has overhead, and a million short keys take up several times more in memory than their contents in a file. Then add headroom on top:

  • fragmentation: the mem_fragmentation_ratio field; with active overwriting of keys of different sizes it stays above 1.2–1.5;
  • replication and AOF buffers: they are not counted towards the maxmemory limit, and the documentation explicitly advises leaving free memory for them;
  • saving to disk: under heavy writes during an RDB snapshot or an AOF rewrite, Redis can use up to twice as much memory as usual.

Hence a practical rule: if you have 3–4 GB of data and the database is actively written to, take a VPS with 8 GB, not 4. For a pure cache without persistence the headroom can be smaller. Redis barely loads the cores, since commands run in a single main thread, so two to four cores are usually enough, and a high clock speed is more useful than their number.

maxmemory and the eviction policy

By default, on a 64-bit system no memory limit is set, and Redis grows until the kernel's OOM killer kills it. Always set maxmemory explicitly, with a margin below physical memory: with 10 GB free, the documentation advises setting 8–9 GB. What happens when the limit is reached is decided by maxmemory-policy:

  • noeviction (the default): delete nothing and return an error on writes. Right for queues, sessions and anything that must not be lost silently.
  • allkeys-lru or allkeys-lfu: delete keys that were used long ago or rarely. The standard choice for a cache.
  • volatile-*: delete only keys with a TTL. If no key has a TTL, the policy behaves like noeviction.

A cache and a queue in one Redis instance is a common mistake: under a shared allkeys-lru, jobs from the queue sooner or later get evicted. Split them into two instances with different policies; on one VPS that's simply two services on different ports.

RDB, AOF and the cost of fork

RDB is a compact snapshot every few minutes: it restores quickly and is handy for backups, but after a crash you lose the data since the last snapshot. AOF records every command; with the default appendfsync everysec policy you lose no more than a second of writes. The documentation recommends enabling both mechanisms if the data matters, and RDB alone if losing a few minutes is acceptable. For a pure cache, persistence can be disabled entirely.

Both mechanisms work through fork(): the process is copied, and the child copy writes the data to disk. On a large dataset the fork itself takes noticeable time, and all that time Redis doesn't respond to clients, from milliseconds up to a second on a weak CPU. Hence the server requirements:

  • KVM virtualisation with dedicated memory: on containers with burst memory, fork hits the limit more often;
  • vm.overcommit_memory = 1, otherwise background saving may fail to start because of a fork error;
  • transparent huge pages disabled (never): with them, copy-on-write causes latency spikes and extra memory use;
  • swap enabled: the documentation recommends it so that when memory runs short you see rising latency rather than a sudden process crash.

RDB files can be copied while the server is running: the snapshot is written to a temporary file and swapped in atomically. Once a day, send a copy off the server.

Never expose 6379 to the internet

Redis is designed for a trusted network: without a password, anyone who can reach the port can read and wipe the data, and by writing the configuration can gain access to the server itself. Scanners find open instances within hours. The minimum for a VPS:

  • bind 127.0.0.1 -::1 and protected-mode yes; if the application is on another server, use a private network or WireGuard, not a public IP;
  • a password or ACL users with minimal rights, with dangerous commands such as CONFIG and FLUSHALL reserved for the administrator;
  • in Docker, don't publish the port as -p 6379:6379: Docker writes its own iptables rules, and such a port can end up open despite your ufw rules. Use 127.0.0.1:6379:6379.

If you need Redis as a cache and queue for a website on the same server, also see the VPS for Laravel and VPS for databases selections.

FAQ

How much memory does Redis need?

The data size according to INFO memory plus headroom for fragmentation and buffers. If saving to disk is enabled and the database is actively written to, plan for up to twice the data size.

Which maxmemory-policy should I choose for a cache?

Usually allkeys-lru or allkeys-lfu: keys that were accessed long ago or rarely are deleted. For queues and sessions keep noeviction so data doesn't disappear silently.

Which should I choose: RDB or AOF?

For important data, both: AOF loses no more than a second of writes, and RDB gives a convenient backup and fast restart. If losing a few minutes is acceptable, RDB is enough.

Why does Redis freeze every few minutes?

Most often it is the fork during an RDB save or AOF rewrite on a large dataset. Check latest_fork_usec in INFO persistence, disable transparent huge pages and don't run the server on an overloaded CPU.

Can I run Redis on the same VPS as the website?

Yes, it's a common setup for caches and queues: Redis listens only on localhost, and maxmemory is capped so that memory is left for the application and the database.

Does Redis need a separate server?

When the data grows large or you need a fault-tolerant cluster with replicas and Sentinel. Then the servers are connected over a private network, and port 6379 is still closed to the outside.

How much does VPS for Redis cost?

From 2.21 $ per month. A quarter of plans are cheaper than 35.85 $, half are cheaper than 73.54 $. In total 16,589 plans from 1,968 hosts.

Can I pay for VPS for Redis by bank card or cryptocurrency?

By bank card at 1,090 hosts of 1968 (55%), by cryptocurrency at 467 (24%). Payment methods for each plan are in the Payment column.

How much does VPS for Redis with 2 GB of RAM cost?

From 2.21 $ per month; with 4 GB from 2.21 $, with 8 GB from 2.21 $.

Which countries have the most plans?

Most plans are in in the USA, in Germany and in the Netherlands. You can pick a country in the filter, and prices and payment methods will update.

VPS/VDS collections

all 502 →

Prices and specs are taken from hosting providers' websites; check them on the website before paying, as hosts change plans without notice.