---
title: "Deploy Mage AI"
description: "The modern replacement for Airflow"
category: "Other"
url: https://railway.com/deploy/pRF69q
---

# Deploy Mage AI

The modern replacement for Airflow

**[Deploy Mage AI on Railway](https://railway.com/template/pRF69q)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/pRF69q/manifest.json

- **Creator:** Brody's Projects
- **Category:** Other
- **Total deploys:** 86

## Template content

### Mage https://res.cloudinary.com/h5kvzw/image/upload/v1714086834/mage-icon-dark_vsqxrg.svg

- **Image:** mageai/mageai
- **Start command:** `/bin/sh -c "exec /app/run_app.sh mage start --host 0.0.0.0 --port $PORT"`
- **Health check:** /api/statuses
- **Public domain:** Yes

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

- **Image:** postgres:15

## Documentation

<p align="center">
    <a href="https://docs.mage.ai/introduction/overview">
        <img alt="mage ai logo" src="https://mintlify.s3-us-west-1.amazonaws.com/mage/logo/dark.svg" style="width: 500px;">
    </a>
</p>

<h3 align="center">🧙 A modern replacement for Airflow</h3>

<div align="center">

Give your data team `magical` powers

</div>

<p align="center">
  <b>Integrate</b> and synchronize data from 3rd party sources
</p>

<p align="center">
  Build real-time and batch pipelines to <b>transform</b> data using Python, SQL, and R
</p>

<p align="center">
  Run, monitor, and <b>orchestrate</b> thousands of pipelines without losing sleep
</p>

**Notes:**

- Login with the default email `admin@admin.com` and the password `admin`. Once logged in go to `/settings/workspace/users` and change the default credentials.

- Communication to Postgres is done exclusively over the private network and the database is not exposed externally in any way by default, if you want to enable access from outside of the private network you can go to the databases settings to enable TCP proxying and enter the internal port (5432) the TCP proxy can be again removed at any point to close off external access.

### 🦄 Make data magical

We put the fun in fun-ctional programming. Mage is a hybrid framework that combines the best of both worlds: the flexibility of notebooks with the rigor of modular code.

- **Extract** and synchronize data from 3rd party sources.
- **Transform** data with real-time and batch pipelines using Python, SQL, and R.
- **Load** data into your data warehouse or data lake using our pre-built connectors.
- Run, monitor, and **orchestrate** thousands of pipelines without losing sleep.

### 🔨 Build

Have you met anyone who loves developing in Airflow? That's why we designed an easy developer experience that you'll enjoy.

- **Simple developer experience:** Start developing locally with a single command or launch a dev environment in your cloud using Terraform.
- **Language of choice:** Write code in Python, SQL, or R in the same pipeline for ultimate flexibility.
- **Engineering best practices built-in:** Every step in your pipeline is a standalone file with modular code that's reusable and testable. No more DAGs with spaghetti code 🍝.
- **Bring your favorite tools:** Write **[dbt](https://docs.mage.ai/dbt/overview)** models, use your favorite **[IDE](https://docs.mage.ai/development/text-editor)**, **[track changes with Git](https://docs.mage.ai/getting-started/setting-up-git)**, and much much more.

### 🔍 Preview

Don't waste time waiting for your DAGs to finish testing. Get instant feedback from your code every time you run it.

- **Interactive code:** Immediately see results from your code's output with an interactive notebook UI.
- **Data is a first-class citizen:** Each block of code in your pipeline produces data that can be versioned, partitioned, and cataloged for future use.
- **Collaborate on cloud:** Develop collaboratively on **[cloud resources](https://docs.mage.ai/production/deploying-to-cloud/architecture)**, version control with **[Git](https://docs.mage.ai/getting-started/setting-up-git)**, and **[test](https://docs.mage.ai/development/data-validation)** pipelines without waiting for an available shared staging environment.

### 🚀 Launch

Don't have a large team dedicated to Airflow? Mage makes it easy for a single developer or small team to scale up and manage thousands of pipelines.

- **Fast deploy:** Deploy Mage to Railway with only a few clicks.
- **Scaling made simple:** Transform very large datasets directly in your data warehouse or through a native integration with Spark.
- **Observability:** Operationalize your pipelines with built-in monitoring, alerting, and observability through an intuitive UI.

## Similar templates

- [Rocky Linux](https://railway.com/deploy/rocky-linux) — Hosted Rocky Linux 9 workspace with SSH and persistent storage. 🚀
- [Foundry Virtual Tabletop](https://railway.com/deploy/X5tR6G) — A Self-Hosted & Modern Roleplaying Platform
- [Letta Code Remote](https://railway.com/deploy/letta-code-remote) — Run a Letta Code agent 24/7. No inbound ports, just deploy.

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