Valkey

Databases Cloud Server Made by Linux Foundation

In-memory cache and queues, compatible with Redis OSS 7.2 and earlier per Valkey's documentation

Install

Plan

s-1vcpu-2gbSmallest that fits

1 vCPU · 2 GB RAM · 32 GB NVMe

฿229/mo

Settings

Timezone

Valkey 9.0 from Ubuntu, with Ubuntu’s security updates. It runs as a system service that starts when the server boots. Uninstalling it deletes Valkey 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 Valkey, 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 Valkey. Use separate servers for important data.

Terms and costs

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

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

Full statement

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

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. Who can get in
  8. Change passwords
  9. Back up and restore
  10. Remove the app
  11. What it costs
  12. Safety
  13. Frequently asked questions

Valkey screenshots

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

Screenshots taken by XVer

Valkey is an open-source, in-memory key-value store under the BSD licence. It is a community project under the Linux Foundation, started in March 2024 from the Redis 7.2.4 code after Redis changed its licence.

What it does#

Task How Valkey does it
Caches results Keeps computed values with an expiry time, so the app does not ask the main database every time
Stores user sessions Fast reads and writes because the data is in RAM, and sessions can expire on their own
Job queues Lists let one app add jobs and another program take them in order
Leaderboards and counters Sorted sets keep scores in order, and counters go up by one without clashing
Expiry per field Valkey 9.0 can set an expiry on single fields inside one key (HEXPIRE)
Stands in for older Redis Compatible with Redis OSS 7.2 and earlier. Redis client libraries connect without code changes

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

Who it's for#

  • Developers who want a cache to take load off the main database of a site or API
  • Apps that already use Redis for sessions, job queues or rate limits and need it on a server of their own
  • Teams on Redis OSS 7.2 or older that want to move to BSD-licensed open-source software
  • People who can run a server themselves, including backing up the data they need to keep

What you need#

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

How to install#

  1. Press Install Valkey 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 Valkey 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 Valkey 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
Valkey Valkey 9.0, user default, a password needed on every connection
Saving to disk Every write is logged to an append-only file and flushed to disk each second. The data survives a restart. A sudden power loss can lose about 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 Valkey runs all the time and starts when the server boots

Connect for the first time#

From your computer#

Valkey 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.

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

Connect with valkey-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
valkey-cli --tls --insecure -h SERVER_IP -p 6380 --askpass

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

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. The --askpass option makes it ask for the password without showing it. Paste the password from the console. If you have valkey-cli, it takes the same options.

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. Type exit to quit.

From an app on the same server#

Programs on the server connect to 127.0.0.1:6379 directly, without a tunnel. The connection string looks like this.

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

Redis client libraries in your language accept this string. Keep it in the app's settings file or environment variables, never in code that goes into Git. If several apps share one Valkey, give each one's keys its own prefix, such as shop: and blog:, so they do not overwrite each other.

Who can get in#

Way in Who
From outside People connecting from an IP you allow who know the Valkey password
SSH tunnel People who can SSH into the server and know the Valkey password
Programs on the server Programs that have the Valkey 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 Valkey password, and the user default can run every command, including deleting 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 Valkey password Use the one the console shows. If you change it inside Valkey yourself, the one shown is out of date

Back up and restore#

The data is on this server's disk and is not backed up automatically. Deleting the server or uninstalling the app deletes it. Valkey suits data you can rebuild, such as caches and sessions. Keep data you cannot lose in an SQL database and back that up as usual.

To keep a copy of what is in Valkey, pull an RDB snapshot file to your computer with valkey-cli. Through an SSH tunnel, drop --tls --insecure and use -h 127.0.0.1 -p 6379.

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

When it works: you see Transfer finished with success and get the file valkey.rdb in the folder you ran it from.

  • An RDB file can start another Valkey server with this data. Restoring it to the same server means stopping Valkey and replacing its data files: follow the Persistence page of the Valkey docs
  • Data files from Redis Community Edition 7.4 and later do not work with Valkey. Files from Redis OSS 7.2 and earlier do
  • A backup file holds all your data. Guard it like a password

Remove the app#

  1. If there is data to keep, pull an RDB file first. Uninstalling deletes Valkey and all its data
  2. Open the server page, Apps tab
  3. Press Uninstall on Valkey, 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
Enter the password with --askpass Typing it into the command with -a
Main data in an SQL database, Valkey as a cache or queue Data you cannot lose kept only in Valkey
  • 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
  • FLUSHALL deletes every key at once with no confirmation. Take care when typing in redis-cli
  • Do not paste a connection string with its password into a chat or a screenshot

Frequently asked questions#

Is it free, and do I need an account?

Valkey is free and open source under the BSD 3-Clause licence, which allows commercial use. You need no account with anyone. XVer charges only for the server.

What server size do I need?

All of Valkey's data lives in RAM, so size the server by how much you store. s-1vcpu-2gb is enough for the cache or sessions of a small site. 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?

Valkey 9.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 Valkey password. What now?

Show it on the install page in the console. The user is default.

Is XVer connected to Valkey?

No. XVer is not its developer or agent, and neither the Valkey project nor the Linux Foundation endorses this service.

฿229/mos-1vcpu-2gb

Install Valkey

Related posts

See all apps