Deploy Redpanda

Redpanda 26.2: Kafka-compatible streaming broker with Kafbat UI console

Deploy Redpanda

/var/lib/redpanda/data

Deploy and Host Redpanda on Railway

Redpanda is a Kafka-compatible streaming platform written in C++. Existing Kafka clients, connectors and tools work unchanged, but there is no JVM or ZooKeeper to run. One binary also provides a Schema Registry and an HTTP Proxy, which makes it a small-footprint alternative to Apache Kafka.

About Hosting Redpanda

This template runs Redpanda v26.2.7 as a single broker, plus Kafbat UI v1.5.0, a free web console for Kafka clusters behind a login form. Both services build from the public GitHub repo aalfath/redpanda-railway-template, which pins the official images by digest, so new versions reach you as Railway update notices. The Kafka API, Schema Registry and HTTP Proxy listen on Railway's private network and advertise the private hostname, so services in the same project connect with no extra setup. Broker data lives on a Railway volume and survives redeploys, and Railway health-checks the broker's Admin API. It is one node, so there is no replication.

Common Use Cases

  • Event streaming and messaging between services in a Railway project
  • Running Kafka-based code without operating a JVM Kafka cluster
  • Change-data-capture and log pipelines with Kafka connectors and the Schema Registry

Dependencies for Redpanda Hosting

  • Redpanda (redpandadata/redpanda:v26.2.7, official image)
  • Kafbat UI (ghcr.io/kafbat/kafka-ui:v1.5.0)
  • A Railway volume at /var/lib/redpanda/data

Deployment Dependencies

Implementation Details

ServiceNetworkingStorage
redpandaprivate only: Kafka 9092, Schema Registry 8081, HTTP Proxy 8082, Admin API 9644volume at /var/lib/redpanda/data
kafbatpublic Railway domain on 8080none
  • Clients in the same project use redpanda.railway.internal:9092 as the bootstrap server.
  • Sign in to Kafbat UI as admin with the generated SPRING_SECURITY_USER_PASSWORD from the kafbat service's Variables tab.
  • The broker uses one core and REDPANDA_MEMORY (default 1G); raise it for heavier use.
  • The broker has no authentication and is not exposed to the internet. Clients outside Railway would need an extra listener behind a TCP proxy with SASL, which this template leaves out.
  • Redpanda runs in dev-container mode, the single-node profile. Redpanda Community is licensed under the BSL 1.1. This is a community-maintained package, not affiliated with Redpanda Data or the Kafbat project.

Why Deploy Redpanda 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 Redpanda 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

More templates in this category

View Template
Celery | Web, Worker and Scheduler as Three Services
Web, worker and scheduler wired up: Celery on Redis, outcomes in Postgres.

Templates Guru
0
View Template
smoothmq
A drop-in replacement for AWS SQS

poundifdef
7
View Template
NEW
Apache Kafka
Apache Kafka 4.4 in KRaft mode: private plaintext, public SASL, volume

Agaz Self-Host
2