Databases 6 min read

Master RedisInsight: Install, Configure, and Use the Ultimate Redis GUI

This guide walks you through installing RedisInsight, configuring its environment variables, deploying it on Kubernetes, and using its GUI to monitor Redis memory, connections, and performance, while also covering the prerequisite Redis server setup and essential command‑line operations.

Architect's Tech Stack
Architect's Tech Stack
Architect's Tech Stack
Master RedisInsight: Install, Configure, and Use the Ultimate Redis GUI

RedisInsight Overview

RedisInsight is an intuitive, high‑efficiency GUI management tool for Redis that monitors memory, connection count, hit rate, and uptime, and allows interaction with Redis via an integrated CLI.

Key Features

Only GUI tool that fully supports Redis Cluster.

Browser‑based interface for searching keys, viewing and editing data.

Supports SSL/TLS connections and provides in‑app memory analysis.

Installation and Usage

1. Physical Installation

Download the RedisInsight package from the official site:

wget https://redis.com/redis-enterprise/redis-insight
ls
mkdir /usr/local/redisinsight
mv redisinsight-linux64-1.11.0 /usr/local/redisinsight/redisinsight-1.11.0
chmod +x /usr/local/redisinsight/redisinsight-1.11.0

Start the service in the background:

nohup /usr/local/redisinsight/redisinsight-linux64-1.4.0 &   // run in background
ps aux | grep redis   // verify the process

2. Configuration

Set environment variables to customize RedisInsight:

echo "export REDISINSIGHT_HOST=192.168.1.1" >> ~/.bash_profile
echo "export REDISINSIGHT_HOST_DIR=/usr/local/redisinsight/.redisinsight" >> ~/.bash_profile
source ~/.bash_profile

Important variables:

REDISINSIGHT_PORT : listening port (default 8001).

REDISINSIGHT_HOST : IP address (default 0.0.0.0).

LOG_DIR : log storage path (default REDISINSIGHT_HOST_DIR).

REDISINSIGHT_HOST_DIR : data storage path (default ~/.redisinsight).

3. Kubernetes Deployment

Create a redisinsight.yaml file:

apiVersion: v1
kind: Service
metadata:
  name: redisinsight-service
spec:
  type: NodePort
  ports:
  - port: 80
    targetPort: 8001
    nodePort: 31888
  selector:
    app: redisinsight
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: redisinsight
  labels:
    app: redisinsight
spec:
  replicas: 1
  selector:
    matchLabels:
      app: redisinsight
  template:
    metadata:
      labels:
        app: redisinsight
    spec:
      containers:
      - name: redisinsight
        image: redislabs/redisinsight:1.7.0
        imagePullPolicy: IfNotPresent
        volumeMounts:
        - name: db
          mountPath: /db
        ports:
        - containerPort: 8001
          protocol: TCP
      volumes:
      - name: db
        emptyDir: {}

Apply the configuration:

kubectl apply -f redisinsight.yaml

4. Basic Usage

If Redis is not yet installed, install it first:

wget https://download.redis.io/releases/redis-6.2.6.tar.gz
tar zxf redis-6.2.6.tar.gz
cd redis-6.2.6
make PREFIX=/usr/local/redis install
sed -i '/^bind 127.0.0.1/s/127.0.0.1/192.168.1.1/g' redis.conf
sed -i '/protected-mode/s/yes/no/g' redis.conf
sed -i '/daemonize/s/no/yes/g' redis.conf
sed -i '/requirepass/s/foobared/123123/g' redis.conf
sed -i '/requirepass 123123/s/^#//g' redis.conf
cp redis.conf /usr/local/redis/
/usr/local/redis/bin/redis-server /usr/local/redis/redis.conf

Access the RedisInsight UI using the configured IP and port (default 8001).

RedisInsight UI
RedisInsight UI

Within the UI you can view various Redis metrics, perform key operations, and conduct memory analysis.

Redis metrics
Redis metrics
Key operations
Key operations
Memory analysis
Memory analysis
GUIKubernetesRedisInstallationRedisInsightDatabase Management
Architect's Tech Stack
Written by

Architect's Tech Stack

Java backend, microservices, distributed systems, containerized programming, and more.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.