Redis Enterprise Overview
Redis Enterprise is Redis's self-managed database platform for on-premises or cloud deployments. redisctl provides complete CLI access to the REST API.
Three-Tier Access
1. API Layer
Direct REST access for scripting and automation:
redisctl api enterprise get /v1/cluster
redisctl api enterprise post /v1/bdbs -d @database.json
2. Commands
Human-friendly commands for day-to-day operations:
redisctl enterprise cluster get
redisctl enterprise database create --name mydb --memory-size 1073741824
3. Workflows
Multi-step operations:
redisctl enterprise workflow init-cluster --name prod --nodes 3
Key Concepts
Cluster
The cluster is the top-level container that spans multiple nodes. It manages:
- Node membership
- Resource allocation
- Policies and certificates
- License
Nodes
Physical or virtual machines running Redis Enterprise. Each node provides:
- CPU and memory resources
- Network connectivity
- Storage for persistence
Databases (BDBs)
Databases run across the cluster. Each database has:
- Memory allocation
- Sharding configuration
- Replication settings
- Modules (RedisJSON, RediSearch, etc.)
Authentication
Redis Enterprise uses basic authentication:
# Environment variables
export REDIS_ENTERPRISE_URL="https://cluster.example.com:9443"
export REDIS_ENTERPRISE_USER="admin@cluster.local"
export REDIS_ENTERPRISE_PASSWORD="your-password"
export REDIS_ENTERPRISE_INSECURE="true" # for self-signed certs
# Or profile
redisctl profile set enterprise \
--deployment-type enterprise \
--url "https://cluster.example.com:9443" \
--username "admin@cluster.local" \
--password "your-password" \
--insecure
Quick Examples
# Get cluster info
redisctl enterprise cluster get
# List databases
redisctl enterprise database list -o table
# Create database
redisctl enterprise database create \
--name cache \
--memory-size 1073741824
# Stream cluster stats
redisctl enterprise stats cluster --follow
# Generate support package
redisctl enterprise support-package cluster --upload
Command Groups
- Cluster - Cluster config, certs, policies
- Databases - Create, update, delete databases
- Nodes - Manage cluster nodes
- Access Control - Users, roles, LDAP
- Monitoring - Stats, logs, alerts
- Active-Active - CRDB operations
Operations
Special tools for cluster management:
- Support Package - Diagnostic packages
- License - License management
- Debug Info - Detailed diagnostics
- Diagnostics - Health checks
- Migrations - Data migrations
Next Steps
- API Layer - Direct REST access
- Workflows - Multi-step operations
- Enterprise Cookbook - Practical recipes