PostgreSQL
Relational database
DatabasesFree
In-memory cache and queues
The script is free · VPS from $2.79 per month · installs in about 45 seconds
root@vps:~# command -v docker >/dev/null || curl -fsSL https://get.docker.com | sh; docker run -d --name redis --restart unless-stopped -p 127.0.0.1:6379:6379 -v redis-data:/data redis:8 redis-server --save 60 1
✓ Redis 8.10.2 installed · about 45 seconds
root@vps:~#
Redis is an in-memory data store. It is used as a cache, task queue, store for sessions and Telegram bot states, counters and rate limiting.
Sub-millisecond responses take load off your main database: frequent queries are served from Redis instead of PostgreSQL or MySQL.
The command runs the official Redis 8 image with persistence to disk. The port is reachable only from the server itself. Redis 8 is distributed under a choice of three licenses, one of which is AGPL-3.0.
For Redis: at least 1 vCPU, 2 GB RAM and 10 GB NVMe.
Three steps in the bot or one command over SSH; installation takes about 45 seconds.
Open @ExpressHost_bot and pay for a VPS. The server will be ready in about 60 seconds.
At the “Add-ons” step pick the script from the library, or run it later: Server settings → Scripts.
docker exec -it redis redis-cli ping (response: PONG)
Connect to the server as root and run the command. Supported systems: Ubuntu 22.04, Ubuntu 24.04, Debian 12.
command -v docker >/dev/null || curl -fsSL https://get.docker.com | sh; docker run -d --name redis --restart unless-stopped -p 127.0.0.1:6379:6379 -v redis-data:/data redis:8 redis-server --save 60 1| Port | Protocol | Purpose |
|---|---|---|
| 6379 | tcp | Client connections (127.0.0.1 only) |
docker exec -it redis redis-cli ping (response: PONG)redis://127.0.0.1:6379--requirepass and open the port only to their IPsDidn’t find an answer? Message @ExpressHost_SupportBot.
Redis keeps all data in RAM. A few hundred megabytes is enough for a small project's cache; the limit is set with the --maxmemory parameter.
With --save 60 1, Redis saves a snapshot to disk every minute if there were changes. For more durability, enable --appendonly yes.
In the redis-data Docker volume (the /data folder inside the container).
Redis installs at checkout — in the bot.
Netherlands, Amsterdam
$2.89/mo
$0.10 for 24 hours · $0.72 for 7 days
Pick Redis at the “Scripts” step when you order the server.
Germany, Frankfurt
$3.14/mo
$0.11 for 24 hours · $0.79 for 7 days
Pick Redis at the “Scripts” step when you order the server.
Poland, Warsaw
$2.79/mo
$0.10 for 24 hours · $0.70 for 7 days
Pick Redis at the “Scripts” step when you order the server.
Estonia, Tallinn
$3.10/mo
$0.11 for 24 hours · $0.78 for 7 days
Pick Redis at the “Scripts” step when you order the server.