---
title: "Deploy RudderStack"
description: "Privacy and Security focused Segment-alternative, in Golang and React."
category: "Analytics"
url: https://railway.com/deploy/rudderstack
---

# Deploy RudderStack

Privacy and Security focused Segment-alternative, in Golang and React.

**[Deploy RudderStack on Railway](https://railway.com/template/rudderstack)**

- **Creator:** rconjoe
- **Category:** Analytics
- **Total deploys:** 16

## Template content

### d-transformer

- **Image:** rudderstack/rudder-transformer:latest

### metrics-exporter

- **Image:** prom/statsd-exporter:v0.22.4

### Postgres https://devicons.railway.app/i/postgresql.svg

- **Image:** ghcr.io/railwayapp-templates/postgres-ssl:16

### backend

- **Image:** rudderlabs/rudder-server:latest
- **Public domain:** Yes

## Documentation

## Deploy and Host RudderStack on Railway

RudderStack is the easiest way to collect, transform, and deliver customer event data everywhere it's needed in real time with full privacy control.

## About Hosting RudderStack

Hosting RudderStack on Railway is easy, all you need is your workspace token from your free, open source RudderStack dashboard. See below on how to find this token.

## Common Use Cases

- Unified Customer Data Collection
- Building a Customer 360 View
- Marketing Automation and Orchestration
- Business Intelligence
- Personalization
- Product Analytics

## Dependencies for RudderStack Hosting

- A workspace token from a free "open source" RudderStack account.

### Deployment Dependencies

*To get a workspace token:*

1. Sign up [here](https://app.rudderstack.com/signup?type=opensource) for an open source RudderStack account. *Make sure you choose open source and not RudderStack cloud*. If you use the link above, you're safe.

2. In your RudderStack open source dashboard, go to Settings > Workspace and copy your "Workspace Token". This is the only environment variable you need to deploy this template.

3. After deploy, you can follow [these instructions](https://www.rudderstack.com/docs/get-started/rudderstack-open-source/sending-test-events/) to send a test event to your instance and verify it is receiving.

## Why Deploy RudderStack 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 RudderStack 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.

## Similar templates

- [Matomo Analytics + MariaDB](https://railway.com/deploy/matomo-analytics-mariadb) — Privacy-friendly analytics with MariaDB and persistent volumes.
- [Bugsink](https://railway.com/deploy/bugsink) — Self-hosted Error Tracking. Sentry-SDK compatible
- [SubTrackr](https://railway.com/deploy/bscottsubtrackr) — Self-hosted Subscription Tracker

Open this page in a browser: https://railway.com/deploy/rudderstack
