Redis the Fly.io Way
Upstash for Redis is a fully managed, Redis-compatible database provisioned inside your Fly.io organization. It takes care of:
- High availability with replication in your region
- Regular backups, stored outside Fly.io
- Global read replicas you can add or remove anytime
- Private connections from every Fly.io region
- Replica regions added or removed with no downtime
- Billing on your regular Fly.io invoice
What You Get With Upstash Redis
fly redis dashboard
away
Upstash runs on Fly.io infrastructure but outside your organization's network, so you pay Upstash's prices and no extra VM costs.
How Do Replicas Work?
Running in one region? Put your database in the same one. Need a cache per region that doesn't have to be shared? Give each region its own database, with eviction on.
When Memory Fills Up
fly redis update
Scalable Pricing
Pay per request, or pick a fixed plan for a predictable bill. Fixed plans suit queue software like Sidekiq or BullMQ that polls Redis constantly. Every plan bills on your Fly.io invoice.
Pay-as-you-go
Usage updates hourly on your Fly.io bill. Up to 10,000 commands per second.
Need more? The Prod Pack add-on ($200/mo, on any plan) adds monitoring, compliance and availability features.
Getting Started
Create a database and pick your primary region and any replicas. Then grab its private redis:// URL and set it as a secret on your app.
fly redis create
fly redis status your-db-name
To poke at it yourself, run fly redis connect, which opens a redis-cli session through a local proxy.