{
  "schema_version": 2,
  "id": "integrate/railway-redis",
  "title": "Redis on Railway",
  "url": "https://redis.io/docs/latest/integrate/railway-redis/",
  "summary": "Deploy and host Redis on Railway. The Railway Redis database template allows you to provision and connect to a Redis database with zero configuration.",
  "tags": [
    "docs",
    "integrate",
    "oss",
    "rs"
  ],
  "last_updated": "2026-10-02T14:54:03+01:00",
  "children": [],
  "page_type": "content",
  "content_hash": "10787996d8dbe12ce030a50d49879482d082d8fe936065feaad449c27304dca1",
  "sections": [
    {
      "id": "overview",
      "title": "Overview",
      "role": "overview",
      "text": "[Railway](https://railway.com?utm_medium=integration&utm_source=docs&utm_campaign=redis) simplifies your infrastructure stack from databases to servers to observability with a single, scalable, easy-to-use platform. Companies of all sizes deploy full-stack applications on Railway and benefit from highly performant networking, intuitive vertical and horizontal scaling, and isolated environments with pull request deploys. Railway's template marketplace includes thousands of one-click deploy templates, including Redis.\n\n![](https://redis.io/docs/latest/images/rc/railway-redis-canvas.png)\n\nThis is a guide to deploying Redis on Railway, using the official template."
    },
    {
      "id": "deploy-redis-to-railway",
      "title": "Deploy Redis to Railway",
      "role": "content",
      "text": "Navigate to a new Railway project at [railway.com/new](https://railway.com/new?utm_medium=integration&utm_source=docs&utm_campaign=redis). Add a Redis database to your project via the `ctrl / cmd + k` menu, and type `Redis`.\n\nYou can also deploy it via the [template](https://railway.com/deploy/redis) from the Railway template marketplace.\n\n![](https://redis.io/docs/latest/images/rc/railway-redis-add.gif)\n\nUpon deployment, you will have a Redis service running in your project, deployed from the [redis](https://hub.docker.com/_/redis) Docker image.\n\nSince the deployed container is pulled from the [redis](https://hub.docker.com/_/redis) image in Docker Hub, you can modify the deployment based on the [instructions in Docker Hub](https://hub.docker.com/_/redis)."
    },
    {
      "id": "connecting-to-your-railway-redis-service",
      "title": "Connecting to your Railway Redis Service",
      "role": "content",
      "text": "It is possible to connect to Redis externally by using the [TCP Proxy](https://docs.railway.com/deploy/exposing-your-app?utm_medium=integration&utm_source=docs&utm_campaign=redis#tcp-proxying) which is enabled by default."
    },
    {
      "id": "backup-and-monitoring",
      "title": "Backup and Monitoring",
      "role": "content",
      "text": "Especially for production environments, performing backups and monitoring the health of your data is essential. Consider adding:\n\n- **Backups**: Automate regular backups to ensure data recovery in case of failure. We suggest checking out Railway's native [Backups](https://docs.railway.com/reference/backups?utm_medium=integration&utm_source=docs&utm_campaign=redis) feature.\n\n- **Observability**: Implement monitoring for insights into performance and health of your Redis cluster. You can integrate a Redis exporter for Prometheus, although we do not provide a specific template at this time."
    },
    {
      "id": "additional-resources",
      "title": "Additional Resources",
      "role": "content",
      "text": "- [Railway Redis guide](https://docs.railway.com/guides/redis?utm_medium=integration&utm_source=docs&utm_campaign=redis)\n- [Railway platform features](https://railway.com/features?utm_medium=integration&utm_source=docs&utm_campaign=redis)"
    }
  ],
  "examples": []
}
