Host Valkey on VeloxaHost
Valkey is an in-memory key-value store that continues the Redis 7.2.4 code base under the BSD license, as a Linux Foundation project started in 2024. Teams that want a Redis-compatible cache, queue backend or session store without Redis's newer licenses self-host Valkey, usually with no client changes.
The one-click install uses Ubuntu 24.04's valkey-server package, a Valkey 7.2 release from the archive's updates pocket, and starts it as a systemd service on port 6379. Its configuration is in /etc/valkey/valkey.conf, and like Ubuntu's Redis it listens on localhost only until you change it.
Valkey's site and documentation are at valkey.io.
Compatible with Redis 7.2
Valkey's migration guide says it is compatible with Redis OSS 7.2 and all earlier open versions of Redis, that it reads and writes 7.2-compatible RDB and AOF files, and that existing Redis client libraries connect without code changes. Point your application's REDIS_URL at Valkey and it works for caching, sessions, Sidekiq, BullMQ, Celery or Laravel queues. One limit: RDB files written by Redis 7.4 or later do not load into Valkey.
Install valkey-redis-compat if scripts call redis-cli; it adds the familiar command names.
What it needs
Like Redis, Valkey holds the dataset in memory and uses little CPU. The catalogue's minimum is 1 vCPU and 256 MB. The recommended 1 GB fits the Veloxa Nano size: 1 vCPU, 1 GB RAM and 25 GB of disk for $4 a month, billed at $0.01 an hour and capped at the monthly price. Datasets of a few gigabytes move to Veloxa 1 (2 GB, $8) or Veloxa 2 (4 GB, $15).
Valkey has no memory limit by default on 64-bit systems. Set one in valkey.conf, below the server's RAM so persistence has headroom, and choose an eviction policy: allkeys-lru for a pure cache, noeviction for queues you cannot lose.
maxmemory 600mb
maxmemory-policy allkeys-lru
Reaching it securely
Before opening it up, set a password with requirepass in valkey.conf (or ACL users), then change bind to 0.0.0.0 and restart with systemctl restart valkey-server. Every server gets a block of ports on the region's shared IPv4 address: under How to connect on the server's page, forward a port of the block to 6379. A dedicated IPv4 address is a paid add-on with limited availability.
Traffic is unencrypted by default and private networks are not available in US East yet, so attach a VeloxaHost firewall that admits only your application's addresses.
Persistence, backups and updates
Valkey's persistence guide matches Redis's: RDB snapshots plus AOF for safety comparable to a database, RDB alone if a few minutes of loss is acceptable. The RDB file can be copied while Valkey runs. Turn on automatic snapshots on the server page (hourly up to weekly, kept for 1 to 30 days) or scheduled backups (every 6 hours up to weekly, keeping 1 to 10).
Updates to Ubuntu's Valkey 7.2 come through apt upgrade. Newer major series (8.x and 9.x) are in later Ubuntu releases and Valkey's own builds; take a snapshot before moving.
FAQ
Is Valkey a drop-in replacement for Redis?
For Redis 7.2 and earlier, yes: same protocol (RESP2 and RESP3), same commands, same data files. Features added only in Redis 7.4 and later, and their RDB files, are not part of it.
How much RAM does Valkey need?
The size of your dataset plus headroom for background saves. A 600 MB cache runs on the 1 GB Veloxa Nano. Memory can be raised from the console without a restart; raise maxmemory with CONFIG SET to use it.
How do I move from Redis or a managed Redis service?
From Redis 7.2 or earlier, copy the RDB file into Valkey's data directory (/var/lib/valkey) with Valkey stopped, owned by the valkey user, and start it. From Redis 7.4 or later, copy the keys over with a migration tool instead, because those RDB files do not load.
What license is Valkey under?
Valkey is released under the BSD 3-clause license and governed by the Linux Foundation.
Can I use Valkey with n8n, Sidekiq or BullMQ?
Yes, through their Redis settings. Queue workloads need maxmemory-policy noeviction, and AOF turned on if jobs must survive a restart.
Which VeloxaHost size fits Valkey?
The recommended 1 vCPU and 1 GB of RAM is a Veloxa Nano: 1 vCPU, 1 GB RAM and 25 GB of disk for $4 a month, billed at $0.01 an hour and capped at that price.