Railway

Deploy Meteroid [Updated May '26]

Meteroid [May '26] (Billing, Subscriptions & Usage-Based Pricing) Self Host

Deploy Meteroid [Updated May '26]

/var/lib/postgresql

Just deployed

Just deployed

Just deployed

/var/lib/kafka/data

Just deployed

/var/lib/clickhouse

Just deployed

/data/object-store

Just deployed

Meteroid open source billing platform

Deploy and Host Open-Source Billing & Subscription Management Platform on Railway (Meteroid)

Meteroid is an open-source billing and subscription management platform purpose-built for SaaS companies. It is a self-hosted alternative to Stripe Billing, Chargebee, and Zuora that gives you full control over your monetization stack. Built in Rust for high performance, Meteroid can process millions of usage events for real-time metering and billing.

Meteroid supports subscription billing, usage-based pricing, hybrid models, invoicing with tax compliance, coupons, trials, and revenue analytics. Its modern API-first architecture makes it easy to integrate with any application stack while keeping billing logic fully under your control.

About Hosting Meteroid on Railway (Self Hosting Meteroid on Railway)

Self hosting a billing platform like Meteroid means your customer data, pricing logic, invoices, and revenue metrics stay entirely on infrastructure you control. There is no dependency on third-party billing SaaS providers that may impose usage limits, pricing changes, or data residency restrictions.

Traditionally, self hosting Meteroid requires:

  • Deploying and managing PostgreSQL for billing data
  • Running ClickHouse for usage analytics
  • Operating a Kafka-compatible message broker for event streaming
  • Configuring multiple application services with shared secrets
  • Managing networking, TLS, and persistent storage

With Railway, all of this complexity is handled automatically. Railway provisions each service, injects environment variables securely, manages persistent volumes, and handles internal networking between services. You deploy once and start configuring billing models immediately.

Why Deploy Meteroid on Railway

Deploying Meteroid on Railway is ideal for SaaS teams that want full billing control without DevOps overhead.

Railway gives you:

  • One-click deployment of the entire multi-service stack
  • Automatic provisioning of PostgreSQL, ClickHouse, and Kafka
  • Secure environment variable management with cross-service references
  • Persistent storage for databases and object storage
  • Simple horizontal and vertical scaling

Railway vs DigitalOcean

On DigitalOcean, deploying Meteroid requires provisioning multiple droplets, installing and configuring each service, setting up networking between them, and managing persistent storage. Railway simplifies this into a single template deployment with automatic service discovery.

Railway vs Linode

Linode provides raw servers that require manual installation of PostgreSQL, ClickHouse, Kafka, and all Meteroid services. Railway abstracts these operational tasks and gives you a production-ready billing platform instantly.

Railway vs AWS

AWS provides powerful services but introduces IAM complexity, VPC networking, security groups, and unpredictable pricing. Railway delivers a developer-first billing platform experience with transparent pricing and minimal setup.

Railway vs Hetzner

Hetzner offers excellent performance at low cost but assumes strong sysadmin expertise for multi-service deployments. Railway prioritizes ease of use and rapid deployment for modern SaaS teams.

Common Use Cases

Here are 5 common use cases for Meteroid:

  1. SaaS Subscription Management: Configure flexible subscription plans with trials, upgrades, and automated renewals.

  2. Usage-Based Billing: Ingest millions of usage events in real-time and bill customers based on actual consumption.

  3. Hybrid Billing Models: Combine flat-rate subscriptions with metered usage overages for complex pricing structures.

  4. Invoice Generation & Tax Compliance: Automatically generate invoices with tax calculations and send them to customers.

  5. Revenue Analytics & Reporting: Track MRR, churn, revenue growth, and billing metrics through real-time dashboards.

Dependencies for Meteroid Hosted on Railway

Meteroid requires several infrastructure components to function:

  • Database: PostgreSQL (custom image with billing extensions)
  • Analytics: ClickHouse (usage metering and reporting)
  • Message Broker: Apache Kafka (real-time event streaming)
  • Object Storage: Filesystem or S3-compatible storage

Deployment Dependencies for Managed Meteroid Service

When deployed via Railway, these dependencies are automatically provisioned:

  • PostgreSQL with persistent storage
  • ClickHouse with persistent storage
  • Apache Kafka with KRaft mode (no Zookeeper)
  • Internal networking between all services
  • Secure secret generation for JWT, API keys, and encryption

Implementation Details for Meteroid

Railway provides cross-service environment variables:

  • DATABASE_URL – PostgreSQL connection string referencing the database service
  • JWT_SECRET – Auto-generated secret for authentication tokens
  • INTERNAL_API_SECRET – Service-to-service authentication
  • SECRETS_CRYPT_KEY – 32-character encryption key for sensitive data
  • KAFKA_BOOTSTRAP_SERVERS – Internal Kafka broker address
  • CLICKHOUSE_HTTP_ADDRESS – Internal ClickHouse endpoint

Meteroid invoicing dashboard

How Does Meteroid Compare to Other Billing Platforms

Meteroid vs Stripe Billing

Stripe Billing is convenient but charges transaction fees and locks you into their ecosystem. Meteroid is self-hosted, open-source, and gives you full control over billing logic and customer data.

Meteroid vs Chargebee

Chargebee charges per user and per transaction with pricing that scales with revenue. Meteroid has no per-transaction fees and lets you define your own billing rules without vendor constraints.

Meteroid vs Zuora

Zuora is enterprise-focused with significant implementation costs and complexity. Meteroid offers comparable functionality for usage-based and subscription billing at a fraction of the cost.

Meteroid vs Kill Bill

Kill Bill is open-source but Java-based and requires significant configuration. Meteroid is built in Rust for better performance and offers a modern web dashboard out of the box.

How to Use Meteroid

Using Meteroid is straightforward:

  1. Deploy Meteroid: Click the Railway deploy button to provision the entire stack.

  2. Access Dashboard: Open the Meteroid web dashboard at your generated domain.

  3. Create Organization: Set up your organization and configure billing settings.

  4. Define Products & Plans: Create products, pricing plans, and billing configurations.

  5. Integrate API: Use the gRPC or REST API to connect your application to Meteroid for subscription and usage tracking.

How to Self Host Meteroid on Other VPS

To self host Meteroid manually:

git clone https://github.com/meteroid-oss/docker-compose.git ~/meteroid
cd ~/meteroid
cp .env.example .env
# Configure database passwords, JWT secrets, and API keys
docker compose up -d

You must manually configure PostgreSQL, ClickHouse, Kafka, networking between services, persistent volumes, and secret management.

With Railway and the Meteroid template, all of this is handled automatically.

Features of Meteroid

  • Subscription Management with flexible plan configurations
  • Usage-Based Billing with real-time event ingestion
  • Hybrid Pricing Models (flat-rate + metered)
  • Automated Invoicing with tax compliance
  • Revenue Analytics and MRR tracking
  • Quote-to-Cash / CPQ workflows
  • Coupons, Trials, and Promotions
  • Multi-organization support
  • gRPC + REST API
  • Built in Rust for high performance

Official Pricing of Meteroid

Meteroid is 100% free and open source under the AGPL v3 license.

There are no licensing fees or per-transaction charges.

You only pay for the infrastructure running it.

Monthly Cost of Self Hosting Meteroid on Railway

Hosting Meteroid on Railway typically costs $15–$40 per month, depending on usage volume and storage needs. The multi-service architecture requires more resources than single-service applications.

System Requirements for Hosting Meteroid

  • Database: PostgreSQL 18+ with custom extensions
  • Analytics: ClickHouse 25+
  • Message Broker: Apache Kafka (KRaft mode)
  • CPU/RAM: 2+ vCPU, 4GB+ RAM recommended (across all services)
  • Storage: Persistent disks for PostgreSQL, ClickHouse, and Kafka

FAQs

What is Meteroid?

Meteroid is an open-source billing and subscription management platform built in Rust. It handles the entire revenue lifecycle — from subscription creation through invoice collection — for SaaS companies that want full control over their billing stack.

Is Meteroid free and open source?

Yes. Meteroid is licensed under AGPL v3 and is completely free to self-host. There are no per-transaction fees or usage limits.

How do I self host Meteroid?

You can self host Meteroid using Docker Compose or deploy it on Railway with one click. Railway is the easiest option as it provisions all required services automatically.

Is Meteroid suitable for production?

Yes. Meteroid is built in Rust for high performance and is designed to handle production workloads including millions of usage events and complex billing scenarios.

How much does it cost to host Meteroid on Railway?

Hosting Meteroid on Railway typically costs $15–$40 per month, depending on usage volume. This is significantly cheaper than SaaS billing platforms that charge per-transaction fees.

Can I migrate Meteroid to another provider later?

Yes. Meteroid uses standard PostgreSQL and has no vendor lock-in. You can export your data and migrate to any other hosting provider at any time.


Template Content

More templates in this category

View Template
N8N Main + Worker
Deploy and Host N8N with Inactive worker.

jakemerson
View Template
Postgres Backup
Cron-based PostgreSQL backup to bucket storage

Railway Templates
View Template
Prefect [Updated May ’26]
Prefect [May ’26] (ETL & Automation alternative to Airflow) Self Host

shinyduo