Skip to content

Redis Stack — what is bundled and when to choose it over OSS Redis

Learn what Redis Stack gives you beyond plain Redis, how to install it on Ubuntu, and when Redis OSS or the Valkey fork is the better choice. This guide covers the four bundled modules and what the 2024 licence change means for your deployment.

This guide explains what Redis Stack is, how to install it on Ubuntu, and when plain Redis or the Valkey fork fits your job better. Redis Stack is a prepackaged build of Redis, the in-memory data store most teams run as a cache, with four extra modules already installed. Teams look at it when plain Redis stops being enough and they want JSON documents, field-level search, or timestamped metrics in the same server. Those four modules are RedisJSON for JSON documents, RediSearch for secondary indexes and full-text search, RedisTimeSeries for timestamped readings, and RedisBloom for memory-cheap filters that answer membership questions. The Redis maintainers test those modules against the core version they ship with, so you avoid the version drift of hand-loading them onto a stock Redis OSS (open source) install.

How to verify

# Is this a Redis Stack install?
redis-cli MODULE LIST
# Look for: ReJSON, search (or ReDiSearch), timeseries, bf (bloom), cf (cuckoo)

redis-cli INFO server | head -5
# Look for: redis_version, redis_mode (standalone or cluster)

# Stack-specific endpoints
redis-cli JSON.SET test '$' '{"ok":1}'
redis-cli FT._LIST
redis-cli TS.INFO key 2>&1 | head

What’s happening

Redis Stack bundles five components under one install:

  • Redis core — the same Redis server you would install from OSS, with the same RESP protocol, persistence, replication, and cluster.
  • RedisJSON — native JSON document storage with JSONPath. Detailed in /en/knowledge-base/redis-redisjson-module/.
  • RediSearch — secondary indexes, full-text search, vector similarity. Detailed in /en/knowledge-base/redis-redisearch-module/.
  • RedisTimeSeries — time-series data with retention, downsampling, and labels — like a Prometheus-compatible time-series store inside Redis.
  • RedisBloom — Bloom filters, Cuckoo filters, Count-Min Sketch, Top-K — probabilistic structures for membership and approximate counting at low memory cost.

The licensing landscape matters. Since 2024, Redis Inc. ships these under the SSPL/RSAL dual license. They are free to run for internal applications and SaaS that does not resell Redis itself, but if you sell Redis-as-a-service to third parties, the SSPL terms require open-sourcing the entire stack of services. For most internal use (a SaaS using Redis as its cache or document store), Redis Stack is free to use under the same terms as OSS Redis was. Read the license; ask counsel if your business model resells the database.

The forks worth knowing about: Valkey is the BSD-licensed fork of Redis OSS led by AWS, Google, Oracle, Ericsson, and Snap, born from the 2024 license change. Valkey does not bundle the Redis Stack modules — projects that want native JSON or search on Valkey have to load community-equivalent modules (DragonflyDB and KeyDB go a different way entirely). If you specifically want the Stack modules and a permissive license, you are stuck on Redis OSS pre-7.4 with the modules manually loaded, or on Redis Stack under SSPL.

The decision

Choose Redis Stack when:

  • You want JSON + Search + TimeSeries + Bloom in a single managed install.
  • The license terms are acceptable for your use case.
  • You value vendor cohesion (Redis Inc. tests modules together against the core version).

Choose OSS Redis with hand-loaded modules when:

  • You only need one or two modules and don’t want the rest.
  • You are pinning a specific older Redis version that does not match the Stack bundle.

Choose Valkey (the AWS/Google fork) when:

  • The license shift to SSPL is unacceptable for your business.
  • You do not need RedisJSON/RediSearch — the standard Redis data types are sufficient.
  • You prefer the open-source-foundation governance model.

Choose Redis Cloud / Redis Enterprise when:

  • You want a managed Redis Stack with multi-region active-active, online resharding, and 24/7 support — and the price is acceptable.

The procedure (install Redis Stack on Ubuntu)

  1. Add the Redis apt repository:

    curl -fsSL https://packages.redis.io/gpg | sudo gpg --dearmor \
      -o /usr/share/keyrings/redis-archive-keyring.gpg
    echo "deb [signed-by=/usr/share/keyrings/redis-archive-keyring.gpg] \
      https://packages.redis.io/deb $(lsb_release -cs) main" | \
      sudo tee /etc/apt/sources.list.d/redis.list
    sudo apt update
  2. Install the Stack server:

    sudo apt install -y redis-stack-server
    sudo systemctl enable --now redis-stack-server
    sudo systemctl status redis-stack-server --no-pager
  3. Verify modules are loaded:

    redis-cli MODULE LIST

    You should see ReJSON, search, timeseries, bf (Bloom).

  4. Configure as if it were OSS Redis. All the OSS knobs apply — maxmemory, requirepass, ACLs, TLS, persistence:

    sudo $EDITOR /etc/redis-stack.conf
  5. Use module-specific commands. No additional configuration needed; the modules are auto-loaded:

    redis-cli JSON.SET doc:1 '$' '{"hello":"world"}'
    redis-cli FT.CREATE idx ON JSON PREFIX 1 doc: SCHEMA '$.hello' AS hello TEXT
    redis-cli TS.ADD temp:room1 '*' 22.5 LABELS sensor lobby
    redis-cli BF.ADD spam:filter "suspicious-email"
  6. For Kubernetes the official redis-stack-helm chart is the same idea — one Helm release deploys a Stack server with module support.

Common pitfalls

  • Loading the modules manually on top of an OSS Redis install does work, but version skew between core and modules causes hard-to-diagnose bugs. Use Redis Stack for coherence.
  • Backups taken with BGSAVE from a Stack server can only be restored on a Stack server with the same modules. Restoring on plain OSS Redis fails to load the module-typed keys.
  • The Stack distribution defaults to listening on 127.0.0.1 only, like OSS. Bind explicitly to LAN IPs and set a password before exposing.
  • TimeSeries retention is set per-key with TS.CREATE key RETENTION ms. Without retention, time series grow indefinitely just like a Stream without trim.
  • A Redis Cluster of Stack nodes works, but each module’s behavior in cluster mode varies — RediSearch indexes are per-shard, RedisJSON is per-key (cluster-safe), TimeSeries the same. Test cluster-mode behavior of your specific module before relying on it.

In the engagements we run, Redis Stack shows up most often when a single team needs both Redis caching and document/search semantics — pairing the modules with the cache avoids running a second database. We operate Redis Stack under Managed Operations — same backups, monitoring, and HA topology as OSS Redis, with the module set treated as a first-class part of the install.