Deploy a Valkey
This guide walks you through deploying a Valkey (Redis-compatible) database on Grid. We'll cover:
- Creating a new Valkey instance
- Cluster configuration options
- Connecting to your database
- Monitoring your database
1Step 1: Configure Database
Configure the following database settings:
Instance type
Configure your runtime environment:
- CPU, RAM, and NVMe allocations
Max Memory Policy
Configure the eviction policy for when memory limits are reached:
- noeviction: Returns errors when memory limit is reached
- allkeys-lru: Evicts least recently used keys
- volatile-lru: Evicts least recently used keys with expiration set
- allkeys-random: Evicts random keys
- volatile-random: Evicts random keys with expiration set
- volatile-ttl: Evicts keys with shortest time-to-live
Note
Choose the eviction policy that best fits your use case. allkeys-lru is recommended for most general-purpose applications.
2Step 2: SSL CERTIFICATES (Optional)
Need SSL Configuration?
To configure SSL certificates for secure database connections, see our detailed SSL setup guide.
Set up SSL Certificate