Redis VPS Hosting: Your Own Redis Server
Redis is an in-memory data store used as a cache, session store, rate limiter, job queue backend and message broker, with sub-millisecond reads. Developers run their own Redis next to their application for Sidekiq, BullMQ, Celery, Laravel queues and n8n queue mode instead of paying for a managed cache.
The one-click install uses Ubuntu 24.04's own redis-server package, which is Redis 7.0. It sets requirepass to a generated password (shown on the server's page in the console) and binds Redis to all addresses, so it is ready for remote clients once you forward a port.
Documentation for commands, configuration and operations is at redis.io/docs.
What it needs
Redis keeps the whole dataset in memory, so size the server for your data, not for CPU. Redis is mostly single-threaded; one vCPU serves a busy application cache. 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. A dataset of a few gigabytes moves to Veloxa 1 (2 GB, $8) or Veloxa 2 (4 GB, $15).
Set a memory limit
By default Redis has no memory limit on 64-bit systems. Set one in /etc/redis/redis.conf, leaving headroom for the persistence and replication buffers, which the limit does not count:
maxmemory 600mb
maxmemory-policy allkeys-lru
Redis's eviction guide calls allkeys-lru a good default for a cache. For a job queue or anything you cannot lose, use noeviction so writes fail loudly instead of keys disappearing. Apply with systemctl restart redis-server.
Reaching it on VeloxaHost
An application on the same server connects to 127.0.0.1:6379. For a remote one, 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, and connect with redis://:<password>@<shared-ip>:<port>. A dedicated IPv4 address (a paid add-on with limited availability) serves 6379 directly.
Redis 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. The password is the minimum; the firewall is what keeps scanners out.
Persistence, backups and updates
Ubuntu's configuration saves RDB snapshots to /var/lib/redis/dump.rdb on a schedule. Redis's persistence guide recommends RDB together with AOF (appendonly yes) if you want data safety comparable to a database, RDB alone if losing a few minutes is acceptable, and does not recommend AOF alone. Copying dump.rdb while Redis runs is safe.
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). Security fixes for Ubuntu's Redis arrive through apt upgrade.
FAQ
How much RAM does Redis need?
Your dataset plus headroom for buffers and for copy-on-write while a background save runs. A cache with a 600 MB limit 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 right away.
What license is this Redis under?
Ubuntu 24.04 ships Redis 7.0, released under the BSD 3-clause license. Redis changed its license from version 7.4 (RSALv2 or SSPLv1) and added AGPLv3 as an option with Redis 8. If you prefer a BSD-licensed fork that continues from Redis 7.2, Valkey is also a one-click app.
How do I move from Redis Cloud or ElastiCache?
Export an RDB backup from the service (Redis Cloud's paid plans and ElastiCache both export RDB files), stop Redis, put the file at /var/lib/redis/dump.rdb owned by redis, and start it again. An RDB from a newer Redis than 7.0 may not load; in that case, migrate keys with a tool that reads from one server and writes to the other.
Can I use Redis for n8n queue mode or Sidekiq?
Yes. Both need a Redis that does not evict their keys, so set maxmemory-policy noeviction and turn on AOF for queue data.
Is it safe to expose Redis to the internet?
Only with a strong password and a firewall limited to your application's addresses. Do not forward a port without the firewall.
Which VeloxaHost size fits Redis?
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.