eda redis
Provision and manage isolated Redis database indexes, credentials, and connection strings
The eda redis command group manages Redis caching and queue database instances for your applications. It assigns an isolated database index, configures password authentication, and injects REDIS_URL into your application environment.
eda redis <subcommand> [options]
explita deploy redis <subcommand> [options]1. Subcommands Overview
| Command | Description |
|---|---|
eda redis create [-a <appId>] | Provision an isolated Redis database index and inject REDIS_URL. |
eda redis url [-a <appId>] | View connection string and assigned database index. |
eda redis rm -a <appId> | Flush database index and remove Redis configuration. |
2. Options
| Flag | Shorthand | Description | Default |
|---|---|---|---|
--app <appId> | -a | Target application ID (or auto-resolved from explita.json). | Local project |
--help | -h | Display usage instructions and available subcommands. |
3. Usage Examples
Provision Redis Instance
eda redis createAllocates a dedicated database index (e.g. index 1, 2, 3) on the host Redis engine and sets REDIS_URL in your application's encrypted environment variables.
View Connection String
eda redis urlSample Output:
REDIS_URL:
redis://:[email protected]:6379/1
Database Index: 1Remove Redis Database
# Explicit application ID required for safety
eda redis rm -a payment-apiFlushes all cached keys in the designated database index and removes the connection string from the application environment.
eda db (Databases)
Provision and manage PostgreSQL and MariaDB/MySQL databases, connection strings, dumps, and backup snapshots
System Dumps & S3 Offsite Sync (eda dump, eda s3)
Export compressed cluster or app backup archives, configure automated schedules, and replicate offsite to Cloudflare R2 / AWS S3