Skip to content
Databasezy
← All engines

Valkey

Key-value Available Free tier

Fast in-memory data, open source

Valkey is the open-source, Redis-compatible key-value store. Use it for caches, sessions, queues and rate limits, with snapshots and an append-only file shipped to object storage.

Good for

  • Caching
  • Sessions
  • Rate limiting
  • Job queues and streams

Sample query

valkey-cli · valkey-7f3k.us-east.databasezy.com
Sample
> HSET session:9f2c user_id 4182 plan solo
> EXPIRE session:9f2c 3600
> HGETALL session:9f2c
Sample result of the Valkey query above
field value
user_id 4182
plan solo
2 rows · 0.4 ms Illustrative data and timing

Valkey on Databasezy

  • Sub-millisecond reads

    Data lives in memory; the gateway adds TLS without a second hop through the internet.

  • Drop-in for Redis clients

    Speaks RESP, so redis-py, ioredis, go-redis and friends connect unchanged.

  • Durable when you need it

    RDB snapshots and the AOF are shipped to object storage, so a restart is not a data loss event.

  • Sleeps when idle

    Free instances scale to zero after idle time and wake on the next connection.

Connect to Valkey

Hosts, ports and the CA bundle come from the portal or the CLI after you create an instance. Credentials are shown once and never stored by our control plane.

From the CLI

1. Create the instance
zb instances create --engine valkey --name valkey-7f3k --wait
2. Download the CA bundle
zb ca > databasezy-ca.pem
3. Open a shell with a one-time credential
zb connect valkey-7f3k

At a glance

Category
Key-value
Versions
9.1, 8.1, 8.0
Wire protocol
resp · port 6379
Runtime
Single-node adapter (valkey/valkey)
Backup
RDB snapshots + AOF shipped to object storage
Pause
Scale to zero
Free tier
Yes
Licence
BSD-3-Clause

Connection strings and drivers

Connection URI
rediss://app:<password>@valkey-7f3k.us-east.databasezy.com:6379/0
valkey-cli
valkey-cli --tls --cacert databasezy-ca.pem -h valkey-7f3k.us-east.databasezy.com -p 6379 --user app --askpass
Node.js (ioredis)
import Redis from "ioredis";

const redis = new Redis(process.env.REDIS_URL); // rediss:// enables TLS
await redis.set("hello", "world", "EX", 60);
Python (redis-py)
import os, redis

r = redis.from_url(os.environ["REDIS_URL"], ssl_ca_certs="databasezy-ca.pem")
r.set("hello", "world", ex=60)

Choose where it runs

Placement is chosen per database, so a regulated workload and a side project can live in the same organisation.

  • Standard hosting

    Shared cells with namespace isolation, default-deny network policy and an IP allow-list. Available from the free plan up.

    • Usage-based compute, billed per running hour
    • Spend cap to stop surprises
  • Secure hosting (HIPAA)

    This database runs on dedicated nodes in a separate HIPAA cell, under a signed Business Associate Agreement. Available on Team and Enterprise.

  • From the CLI or API

    Script instances in CI with the zb CLI or the REST API. Pick the placement per instance.

    secure placement
    zb instances create --engine valkey --placement secure --wait

Valkey on each plan

Usage-based pricing with a spend cap: you pay a plan fee plus what your instances use.

Free tier

Yes. One f0 instance with a shared vCPU (bursts to 1), 512 MiB of memory and a 500 MB database, no card required. It sleeps after 15 minutes idle and wakes on connect.

Sizes

From s0 (0.25 vCPU, 1 GiB) at $10/mo up to xl32 (32 vCPU, 128 GiB). Resize without changing the connection string.

All sizes and prices

Backups

RDB snapshots + AOF shipped to object storage. Snapshots only: point-in-time recovery is not available for this engine.

Valkey questions

Which Valkey versions can I run?

9.1, 8.1, 8.0. New instances default to 9.1; pick another with --engine-version or in the portal. Minor and patch updates are applied in your maintenance window after a pre-change backup.

Which extensions, modules or plugins are available?

Instances run the standard Valkey server with no extra modules loaded. Modules such as RediSearch or RedisJSON are not available; the migration preflight lists keys that depend on them.

How are backups handled?

Backups use RDB snapshots + AOF shipped to object storage. Paid plans run scheduled backups (Solo: daily, 7-day retention; Team: daily, 14-day retention); the free plan keeps one manual snapshot. Valkey does not support point-in-time recovery; you restore from the most recent snapshot into a new instance.

Is the connection encrypted?

Always. The gateway terminates TLS (1.3 where your client supports it, 1.2 at minimum) and re-encrypts traffic to the database. Plain-text connections are refused. Verify the server with our CA bundle from the portal or zb ca, and restrict access further with the IP allow-list included on every plan.

Can I pause it when I'm not using it?

Yes. Free instances sleep after 15 minutes without connections and wake on the next one; after 7 idle days they are archived with the disk kept. On paid plans you pause on demand or on a schedule. A paused instance bills storage and backups but no compute, and wakes in 10 to 40 seconds.

What are the limits?

The free plan runs one f0 instance with a shared vCPU (bursts to 1), 512 MiB of memory, 20 connections and a 500 MB database. Paid sizes run from s0 (0.25 vCPU, 1 GiB, 60 connections, $10/mo) to xl32 (32 vCPU, 128 GiB, 5,000 connections), with up to 16 TB of disk.

Is Valkey a drop-in replacement for Redis?

For the core data types and commands, yes: Valkey forked from Redis 7.2 and keeps the RESP protocol. Check any module-specific commands your app uses before you switch.

What you get on each plan

Plan features as they apply to Valkey.

Valkey features by plan
Feature Free Solo Team Enterprise
Valkey on this plan YesYesYesYes
Plan fee $0/mo$25/mo$599/moCustom
Largest size f0xl32xl32xl32
Included per instance 500 MB8 GB8 GBNegotiated
Max disk per instance 1 GB1 TB16 TB16 TB
Scheduled backups 1 manual snapshotDaily, 7-day retentionDaily, 14-day retentionHourly, 35-day retention · cross-region copy · immutable
Point-in-time recovery Not available for this engineNot available for this engineNot available for this engineNot available for this engine
Pause Sleeps after 15 min idle, wakes on connectOn demand or on a scheduleOn demand or on a scheduleOn demand or on a schedule
Secure hosting (HIPAA) ——Available with a BAAAvailable with a BAA
Support CommunityEmailPriority24x7 dedicated
Uptime SLA ——99.9%99.95%

Start with Valkey today

The free plan needs no card. Upgrade when you need more, and keep the same endpoint.