Deploy Rubix Redis Bridge with Redis
Secure Redis HTTP bridge with Upstash SDK compatibility.
Redis
Just deployed
/data
rubixvi/rubix-redis-bridge
Just deployed
Deploy and Host Rubix Redis Bridge on Railway
Rubix Redis Bridge is a secure, self-hosted HTTP gateway for Redis-compatible databases. It provides an Upstash-style REST API for supported @upstash/redis, @upstash/ratelimit, and @upstash/realtime workflows, with bearer authentication, command policies, managed transactions, realtime SSE subscriptions, health checks, and Prometheus metrics.
About Hosting Rubix Redis Bridge
Deploying Rubix Redis Bridge provisions the bridge alongside Redis and connects both services through Railway’s private network. Redis remains protected from direct public access while the bridge provides authenticated HTTP endpoints for applications that cannot use Redis TCP connections. The deployment generates separate access and metrics tokens, applies command restrictions, limits request and response sizes, controls concurrency, and monitors Redis availability. A Railway public domain can be enabled when external or serverless applications require access. Applications running within the same Railway project can use private networking to avoid public traffic and network egress.
Common Use Cases
- Use Upstash Redis SDKs with a self-hosted Redis deployment
- Provide Redis access to serverless, edge and HTTP-only applications
- Support caching, rate limiting, KV storage and realtime SSE events
Dependencies for Rubix Redis Bridge Hosting
- An authenticated Redis-compatible database
- Secure bearer tokens for API and metrics access
Deployment Dependencies
Implementation Details
Configure an application using the bridge with the standard Upstash Redis client:
import { Redis } from '@upstash/redis'
export const redis = new Redis({
url: process.env.UPSTASH_REDIS_REST_URL!,
token: process.env.UPSTASH_REDIS_REST_TOKEN!,
})
Set these variables on the consuming application:
UPSTASH_REDIS_REST_URL="https://your-bridge-domain"
UPSTASH_REDIS_REST_TOKEN="your-bridge-token"
Why Deploy Rubix Redis Bridge on Railway?
Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.
By deploying Rubix Redis Bridge on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.
Template Content
Redis
redis:8.2.1rubixvi/rubix-redis-bridge
rubixvi/rubix-redis-bridge