Redis®

Databases Cloud Server Made by Redis Ltd.

In-memory cache and queues

Install

Plan

s-1vcpu-2gbSmallest that fits

1 vCPU · 2 GB RAM · 32 GB NVMe

฿229/mo

Settings

Timezone

Redis 8.0 from Ubuntu, with Ubuntu’s security updates. It runs as a system service that starts when the server boots. Uninstalling it deletes Redis and its data.

After you press Install

  1. Check the price, accept the terms

    In the console

  2. Press Create server and install

    The server is created and billing starts

  3. Connect

    From outside on the public IP, or a program on the server

Connection and data

Who can connect
Connect from outside on the server’s public IP, from the IPs you allow (yours to start with). The password is made for you and the connection is encrypted with TLS.
From outside
In the console after installingrediss://default:••••••@SERVER_IP:6380
On the server
For programs on the same serverredis://default:••••••@127.0.0.1:6379
Password
Made on the server when it is installed. Shown in the console.
If you change it
If you changed the password inside Redis, the one shown is out of date.
Who can read it
Anyone with access to this server, coding agents included, can read this password.
Data
Data is on this server’s disk and is not backed up automatically. Deleting the server deletes it.
Other apps on the server
Other apps on this server can run commands, so they can read, change or delete the data in Redis. Use separate servers for important data.

Terms and costs

  • You read and accept the terms of Redis before you confirm.
  • XVer bills only the server, not app accounts or their usage.

Read the terms of Redis (opens in a new tab)

Full statement

XVer is not the developer or agent of Redis, and Redis does not endorse this service. You chose to install Redis and use it under the terms of Redis. You run the database and back up its data yourself. Names and logos are trademarks of their owners.

Redis is a registered trademark of Redis Ltd. Any rights therein are reserved to Redis Ltd. (opens in a new tab)

How to access

From outside

Connect from a program on your computer over the public IP, from the IPs you allow, encrypted with TLS.

  1. Show the password in the console after installing

    To start with, connections are accepted from your IP

  2. Put this address in your program

    rediss://default:••••••@SERVER_IP:6380

Replace SERVER_IP with your server’s IP

SSH tunnel

For when connections from outside are off. Connect from your computer through an SSH tunnel.

  1. Open an SSH tunnel in a terminal on your computer and leave it running

    With the same password or key you use for the server

    ssh -N -L 6379:127.0.0.1:6379 xver@SERVER_IP
  2. Connect from another window

    The password is shown in the console after installing

    redis-cli -h 127.0.0.1 -p 6379 --askpass

Replace SERVER_IP with your server’s IP

Programs on the same server connect to 127.0.0.1 directly, without a tunnel.

Web terminal

Opens in the browser.

  1. Open the server in my.xver.cloud

  2. Press Web terminal

    No server password

The owner and members who can manage the project can open it.

SSH

From a terminal on your computer, with a password or a key.

  1. Connect over SSH

    ssh xver@SERVER_IP

Replace SERVER_IP with your server’s IP

1 copy the SSH command 2 show the password (sample data, console in Thai)

Web console

For when the web terminal or SSH does not open. Needs the server’s password.

  1. Open the server in my.xver.cloud

    The user name and password are under the Access tab

  2. Press the arrow next to Web terminal and choose Web console

  3. Type the user name and password

A server with only an SSH key has no password: use SSH.

Images

  • Store values, fields, lists and keys that expire
  • Check server status, key count and memory with INFO
  • 1 copy the SSH command 2 show the password (sample data, console in Thai)

Screenshots taken by XVer

On this page
  1. What it does
  2. Who it's for
  3. What you need
  4. How to install
  5. What is on the server
  6. Connect for the first time
  7. All the data lives in RAM
  8. Who can get in
  9. Change passwords
  10. Back up your data
  11. Remove the app
  12. What it costs
  13. Safety
  14. Frequently asked questions

Redis screenshots

  • Store values, fields, lists and keys that expire
  • Check server status, key count and memory with INFO

Screenshots taken by XVer

Redis is a database that keeps its data in RAM, so reads and writes are very fast. Sites and apps use it as a cache, a session store and a job queue. It is developed by Redis Ltd., and its source code is public on GitHub.

What it does#

Task How Redis does it
Caches slow results Keeps query results or rendered pages in RAM with an expiry time (TTL) and deletes them when it runs out
Holds sessions and counters A single value or a set of fields under one key. INCR bumps a counter safely even with many writers
Background job queues Lists and streams let one program add jobs while another takes them in order
Rankings Sorted sets keep values ordered by score, for leaderboards or most-viewed lists
Instant messages Pub/sub sends a message to every program listening on the same channel

Developer site: redis.io (opens in a new tab) · Source code: GitHub (opens in a new tab)

Who it's for#

  • Developers who want a site or API on the same server to answer faster with a cache
  • People on frameworks such as Laravel, Django or Rails, which can keep sessions and job queues in Redis
  • Teams that need short-lived data: counters, API rate limits, or one-time codes that expire on their own
  • People who can run Redis themselves, including RAM sizing and backups

What you need#

Item Details
Account None
Smallest size 1 vCPU, RAM 2 GB, NVMe disk 32 GB, Bandwidth 2 TB
On your computer redis-cli or another program that connects to Redis. An SSH client too if you use an SSH tunnel
Cannot share a server with Valkey, which uses the same port 6379. Put it on another server

How to install#

  1. Press Install Redis on this page
  2. Sign in to XVer, then check the plan and the price
  3. Choose how you get into the server: a password or an SSH key
  4. Read the Redis terms and tick the box to accept them
  5. Press Create server and install. The server is created and billing starts after this step

When it is installed, the Redis password is on the install page in the console. Show it when you need it.

What is on the server#

Item Details
System Ubuntu 26.04, user xver with sudo
Redis Redis 8.0, user default, a password required before any command
Saving to disk Every write is appended to an AOF file and flushed to disk every second. Data survives a restart; a sudden power loss can cost the last second of writes
Ports open to the internet Port 6380, only from the IPs you allow, encrypted with TLS. Port 6379 is for the server itself only
Runs in the background Redis runs all the time and starts when the server boots

Connect for the first time#

From your computer#

Redis takes outside connections on port 6380, not 6379, from the IPs you allow. At first that is only your own IP. You can add more in the console. Connections are encrypted with TLS. The certificate is made on the server, so your client has to skip certificate checks or trust that certificate.

Connection string
rediss://default:PASSWORD@SERVER_IP:6380

Connect with redis-cli. The options --tls --insecure encrypt the connection without checking the certificate, and --askpass makes it ask for the password without showing it. Paste the password from the console.

On your computer
redis-cli --tls --insecure -h SERVER_IP -p 6380 --askpass

When it works: type PING and get PONG. Type quit to leave.

Redis client libraries in apps on other machines use the rediss:// string above, and also need certificate checks turned off.

Through an SSH tunnel#

If you keep outside connections off, an SSH tunnel carries port 6379 on your computer to the server. This step needs SSH. The web terminal cannot do it.

Open Terminal or PowerShell on your computer and leave the window open. Use the same password or key you use for the server. After the password, a still screen is normal.

On your computer
ssh -N -L 6379:127.0.0.1:6379 xver@SERVER_IP

Open another window and connect with redis-cli. When it asks for the password, paste the one from the console. It is not shown on screen, and --askpass keeps it out of your command history.

On your computer
redis-cli -h 127.0.0.1 -p 6379 --askpass

When it works: you see the prompt 127.0.0.1:6379>. Type PING and get PONG. Try a value that expires in 60 seconds.

In redis-cli
SET hello "world" EX 60
GET hello
TTL hello

Type INFO memory to see how much RAM is in use, and quit to leave.

From an app on the same server#

Programs on the server connect to 127.0.0.1:6379 directly, without a tunnel. Redis libraries for almost every language accept a connection string like this.

Connection string
redis://default:PASSWORD@127.0.0.1:6379

Keep it in the app's settings file or environment variables, never in code that goes into Git.

All the data lives in RAM#

Redis holds all its data in the server's RAM. The files on disk are there to load it back after a restart. By default Redis sets no size limit, so data that keeps growing will use up the server's memory.

  • Give every cached value an expiry, such as SET key value EX 3600 or EXPIRE key 3600
  • Watch memory with INFO memory, and find oversized keys with redis-cli --bigkeys
  • When the data gets close to the size of the RAM, move to a larger plan

Who can get in#

Way in Who
From outside People connecting from an IP you allow who know the Redis password
SSH tunnel People who can SSH into the server and know the Redis password
Programs on the server Programs that have the Redis password
Web terminal The owner and members who can manage the project, with no server password
SSH People who hold the server's password or key
Web console People who hold the server's password

Anyone with access to this server, coding agents included, can read the Redis password. It works for every command, including FLUSHALL, which deletes all the data.

Change passwords#

What How
The server's password Server page, Access tab, press Reset password. The old one stops working at once
The Redis password Made at install and shown in the console. If you change it inside Redis yourself, the console's copy is out of date: keep the new one yourself and update every app that uses it

Back up your data#

The data is on this server's disk and is not backed up automatically. Deleting the server or uninstalling the app deletes it. A cache you can rebuild may not need a backup, but data you cannot lose needs regular ones.

redis-cli --rdb copies a point-in-time snapshot of all the data to an RDB file on your computer, so the file lives off the server. Through an SSH tunnel, drop --tls --insecure and use -h 127.0.0.1 -p 6379.

On your computer
redis-cli --tls --insecure -h SERVER_IP -p 6380 --askpass --rdb redis-backup.rdb

When it works: you see Transfer finished with success. and get the file redis-backup.rdb. In a script, check that the command exits with 0.

  • An RDB file is all the data in one file. Redis loads files like this when it starts, so it can move your data to another Redis server
  • A backup file holds all your data. Guard it like a password, and test loading it before you need it

Remove the app#

  1. Back up with redis-cli --rdb first. Uninstalling deletes Redis and all its data
  2. Open the server page, Apps tab
  3. Press Uninstall on Redis, check what will be deleted, and confirm

The server stays and is billed as usual. If you no longer need it, delete the server. Its data is gone for good.

What it costs#

XVer does not charge for the app. You pay XVer for the server only. A server that is off is still billed. Delete it to stop billing. Its data is gone for good.

PlanNVMe diskBandwidthPer hourPer month
1 vCPU · 2 GB32 GB2 TB฿0.38/hr฿229/mo
2 vCPU · 4 GB40 GB4 TB฿0.70/hr฿419/mo

The price you pay is shown before you confirm

Compare every size on Cloud Server pricing.

Safety#

Do this Avoid this
Allow only the IPs you really use Letting every IP connect
An expiry on cached values Letting data grow until RAM is full
Regular --rdb backups kept off the server Keeping important data only on the server
  • The Redis docs say Redis is built for trusted clients, so allow only the IPs of machines that really need to connect
  • The server's user xver can use sudo without a password, so anyone who can run commands on the server can reach all the data
  • Do not paste a connection string with its password into a chat or a screenshot

Frequently asked questions#

Is Redis free, and do I need an account?

Yes, it is free. Redis 8.0 lets you choose one of three licences: AGPLv3, RSALv2 or SSPLv1. Using it for your own apps is fine; if you plan to offer Redis itself as a service to others, read the terms first. You need no account with anyone. XVer charges only for the server.

What server size do I need?

s-1vcpu-2gb is enough for the cache and sessions of a small site. Redis data must fit in RAM. For a lot of data, or other databases on the same server sharing its RAM, choose s-2vcpu-4gb or larger.

How do I update it?

Redis 8.0 gets Ubuntu's security updates. There is no automatic upgrade to a new major version.

Can I open it to the internet?

Yes. The server takes connections on port 6380 from the IPs you allow, at first only your own, and you can add more in the console. It needs the password made on the server, and the connection is encrypted with TLS.

I lost the Redis password. What now?

Show it on the install page in the console. If you changed it inside Redis yourself, the console still shows the old one.

Is XVer connected to Redis?

No. XVer is not its developer or agent, and Redis Ltd. does not endorse this service.

฿229/mos-1vcpu-2gb

Install Redis

Related posts

See all apps