Create, connect, snapshot, and clone Redis boxes quickly.

Quick Start

zomg redis create my-cache
zomg redis connect my-cache
You’ll see “ready to connect” after creation. The connect command opens a redis-cli session. Inside a box, redis-cli -h <box>.<project> works directly.

Create

zomg redis create my-cache
  • Creates a Redis box quickly
  • Waits for port readiness, then prints a connect hint
  • Fails if the name already exists

Connect

zomg redis connect my-cache
  • Uses redis-cli if available
  • When inside a box, direct DNS resolution works
  • From a local machine, DNS/ports may not resolve; zomg redis falls back to an in-box redis-cli session when needed
Pass additional redis-cli args after --:
zomg redis connect my-cache -- --raw PING

Snapshot (Hard)

zomg redis snapshot my-cache
zomg redis snapshot my-cache my-snapshot
  • Hard snapshots by default (no stop)
  • Designed for instant boxes and crash-recovery startup

Clone

zomg redis create my-test-cache --fork my-cache
zomg redis connect my-test-cache
  • Creates a box from a hard snapshot of my-cache
  • Keeps the source running
  • New instance is ready to connect quickly

Stop (Clean)

zomg redis stop my-cache
  • Performs a clean stop (SHUTDOWN SAVE)

Defaults

  • Port: 6379
  • Persistence: AOF enabled