Cloud VPS from $1.98/mo · pay with Bitcoin, Ethereum, Monero, USDT or Solana · paid in crypto

Redis on a VPS

Redis is an in-memory data store used as a cache, message broker and session store, and since Redis 8 also as a JSON, search and vector engine.

1 GBMinimum memory
Ubuntu 24.04 LTSBase image
6379/tcpPorts
AGPL-3.0, RSALv2 or SSPLv1 (Redis 8 and later)License

About Redis

Redis keeps data structures in memory: strings, hashes, lists, sets, sorted sets, streams, bitmaps and geospatial indexes, each with atomic commands. Redis 8 folds the former Stack modules into the core, adding JSON documents, the Redis Query Engine, time series, probabilistic structures and vector sets.

From version 8 the code comes under your choice of AGPL-3.0, RSALv2 or SSPLv1, while 7.2 and earlier stay BSD-3-Clause. A CloudSat VPS gives the dataset its own DDR5 memory, and RDB snapshots or the append-only file write it to NVMe for restarts.

Redis listens on 6379, bound to localhost with protected mode on.

What you get with Redis

  • Strings, hashes, lists, sets, sorted sets and streams
  • JSON, search, time series and vector sets in Redis 8
  • RDB snapshots and append-only persistence
  • Pub/sub and consumer groups on streams
  • ACL users with per-command permissions
  • Replication and Redis Cluster sharding

Redis use cases

  • Cache database queries and rendered pages
  • Hold sessions and rate-limit counters for a web app
  • Back job queues for Sidekiq, Celery or BullMQ

After you deploy Redis

  1. Connect over SSH when the server is Running and test with redis-cli ping, which should answer PONG.
  2. Set requirepass or define ACL users in /etc/redis/redis.conf, then run systemctl restart redis-server.
  3. When Redis acts as a cache, set maxmemory and a maxmemory-policy such as allkeys-lru.
  4. Before changing bind for remote clients, admit only your application hosts to 6379 with CloudSat firewall rules and turn on TLS.

Redis ports

Open these in your firewall if you use one: 6379/tcp Redis (localhost by default).

Redis FAQ

Is Redis open source again?

Redis 8 added the OSI-approved AGPL-3.0 next to RSALv2 and SSPLv1, and you pick one. If you want a BSD-licensed server, Valkey is a compatible fork.

How much RAM do I need?

The whole dataset lives in memory, plus headroom for replication buffers and the fork that writes snapshots. Size the plan well above used_memory from INFO memory.

Disclaimer. The Redis project has no affiliation with CloudSat and does not endorse it. Names and logos belong to their owners and appear only to identify the software.

Redis on your own server.
Ready in under 5 minutes.

Pick a region and a size; the console shows the address as soon as it is up.

Every server delivered in under 5 minutesPay with crypto14-day money-back