Storage

Run Postgres, Redis, MySQL and object storage on Railway: pooling, backups, migrations and vector search.

Get started

3 guides, in order

Build and deploy

17 guides
Use Storage Buckets for Uploads, Exports, and AssetsSet up Railway storage buckets for file uploads via presigned URLs, background export generation, and asset serving through a backend proxy.Use Object Storage for AI Agent OutputsStore AI agent artifacts in S3-compatible object storage on Railway. Where generated files, transcripts, and reports should live, how to write them from a worker, and how to share them with presigned URLs.Deploy a LangGraph Agent BackendRun a LangGraph agent as a FastAPI service on Railway with Postgres checkpointing for durable conversation state and Claude as the LLM.Self-Host Keycloak for AuthenticationDeploy Keycloak on Railway with a Postgres database, an admin account, and a public domain. Configure a realm and an OIDC client for your applications.Deploy a Jupyter Server for Team Data WorkRun a shared JupyterLab server on Railway with token authentication, a persistent volume for notebooks, and health checks for zero-downtime deploys.Build Hybrid Search with Postgres Full-Text Search and pgvectorCombine Postgres full-text search and pgvector similarity search in one database, then merge results with Reciprocal Rank Fusion. Includes schema, SQL, and a deployable Node API.Run an Embeddings Pipeline with an External API and pgvectorDeploy a batch worker on Railway that generates embeddings through an external API and stores them in Postgres with pgvector. Covers schema design, safe concurrent processing, and the psycopg2 vector adaptation gotcha.Run ClickHouse for Product AnalyticsDeploy ClickHouse on Railway from the template or the official Docker image, size its volume for event data, and ingest and query analytics events from a Node.js service.Self-host Supabase with Postgres, Auth, and StorageDeploy the Supabase stack on Railway with Postgres, GoTrue auth, PostgREST API, storage, and the Studio dashboard. Covers multi-service setup and JWT configuration.Self-host Strapi with Postgres and File UploadsDeploy Strapi on Railway with a Postgres database and persistent file storage. Covers one-click template deployment, environment configuration, and upload provider setup.Deploy a RAG Pipeline with pgvectorBuild a retrieval-augmented generation pipeline on Railway using Postgres with pgvector for vector storage, an external embedding API, and an LLM for generation. Covers document ingestion, similarity search, and deployment.Self-host Payload CMS with PostgresDeploy Payload CMS 3.x on Railway inside a Next.js application. Covers database setup, media storage with buckets, and production configuration.Deploy a Full-Stack Next.js App with Postgres, Background Jobs, and File UploadsDeploy a production Next.js application on Railway with a Postgres database, Redis-backed background workers, and file uploads via storage buckets. Covers multi-service architecture and production hardening.Add Authentication to a Frontend ApplicationImplement authentication in a frontend application deployed on Railway. Covers third-party providers (Clerk, Supabase Auth), session-based auth with Postgres, and common deployment pitfalls.Deploy an AI-Powered SaaS App on RailwayDeploy a production AI-powered SaaS application on Railway with an Express backend, Postgres database, and external LLM API integration. Covers API key management, request caching, rate limiting, and async processing for longer tasks.Deploy a SaaS Backend with Postgres, Workers, and WebhooksSet up a production SaaS backend on Railway with an API service, Postgres database, background worker, and cron job for webhook processing.Hosting Postgres with GeoLite2: a practical guide to IP geolocation, data loading, and updatesA practical guide to hosting Postgres with GeoLite2, loading data and handling updates

Run in production

7 guides

Compare and decide

2 guides

More guides

2 guides