Pasar al contenido principal
https://catalogartifact.azureedge.net/publicartifacts/pcloudhosting.valkeycluster-21623bbf-49b9-46b4-a15e-cb6c4564b020/image3_pcloud.png

Valkey Cluster

por pcloudhosting

(1 clasificaciones)

Version 9.1.0 + Free Support on Ubuntu 24.04

Valkey Cluster 9.1.0 is an open-source, high-performance in-memory key-value datastore used for caching, session storage, real-time workloads, queues, and distributed data storage. It provides cluster mode support for horizontal scaling, automatic sharding, replication, and high availability.

The solution supports common Valkey Cluster workflows including distributed key-value storage, caching, session management, replication, persistence, cluster monitoring, and command-line administration. It is ideal for cloud applications, backend services, real-time systems, and scalable database workloads on Azure.

Features of Valkey Cluster 9.1.0:

  • Open-source in-memory key-value datastore.
  • Cluster mode support with automatic data sharding.
  • Multi-node deployment with primary and replica nodes.
  • Supports caching, session storage, queues, and real-time workloads.
  • Persistence support using append-only file configuration.
  • Command-line administration using valkey-cli.
  • Suitable for scalable Azure-based deployments.

Usage instructions for Valkey Cluster 9.1.0
$ sudo su
$ cd /opt/valkey-cluster
$ docker compose up -d
$ PRIVATE_IP=$(hostname -I | awk '{print $1}')
$ echo yes | docker run -i --rm --network host valkey/valkey:9.1 valkey-cli --cluster create ${PRIVATE_IP}:7000 ${PRIVATE_IP}:7001 ${PRIVATE_IP}:7002 ${PRIVATE_IP}:7003 ${PRIVATE_IP}:7004 ${PRIVATE_IP}:7005 --cluster-replicas 1
$ docker exec -it valkey-7000 valkey-cli -c -p 7000 cluster info
$ docker exec -it valkey-7000 valkey-cli -c -p 7000 set testkey "Valkey Cluster Working"
$ docker exec -it valkey-7001 valkey-cli -c -p 7001 get testkey
$ docker exec -it valkey-7000 valkey-server --version

Credentials:Valkey Cluster does not use default web login credentials. Access is managed through SSH and valkey-cli.

 
Access Valkey Cluster:
Use SSH to connect to the server and manage the cluster using valkey-cli.

Connect to Valkey CLI:
docker exec -it valkey-7000 valkey-cli -c -p 7000

Default Valkey Cluster ports:
7000-7005

Cluster bus ports:
17000-17005

Disclaimer: Valkey Cluster 9.1.0 is provided “as is” under applicable open-source licenses. Users are responsible for proper configuration, secure network access, authentication setup, backup planning, data validation, and production hardening. This solution is best suited for deploying, testing, and managing scalable Valkey Cluster workloads in Azure environments.