Running on Galaxy Legacy? Visit the legacy docs.
Galaxy

Redis

In-memory database for caching and real-time features, hosted and managed by Galaxy.

Redis on Galaxy

Galaxy hosts and manages Redis for you. Spin up an instance in minutes and connect it to any app on the platform.


Create a Redis Database

Open Your Dashboard

Go to your Galaxy dashboard and click Databases in the sidebar.

Start Database Creation

Click Create Database and select Redis as your database type.

Configure Your Instance

Choose your instance size and the region closest to your app.

Create and Wait

Click Create Database & Start Billing. Galaxy provisions your instance in a few minutes. You'll see "Running" when it's ready.


Connect to Your App

Click your Redis instance in the dashboard to see the connection string. Copy it and add it as an environment variable in your app's settings.

The exact variable name depends on your framework:

  • Node.js apps: Often REDIS_URL or REDIS_HOST
  • Python apps: Typically REDIS_URL
  • Other frameworks: Check your framework's documentation for the expected variable name

Keep Your Connection String Secure

Never hardcode your connection string in your code. Always use environment variables so it stays secure and out of version control.


Features

Automatic Backups: Daily backups are included with every Redis instance on Galaxy.

Zero Transfer Fees: Data moving between your Galaxy app and your Redis instance is free.

Flexible Instance Sizing: Pick the memory size that fits your workload. Upgrade any time from the dashboard.


Common Questions


What's Next?