---
title: "Deploy Minecraft Server (support for Serverless)"
description: "Minecraft server with support for serverless"
category: "Other"
url: https://railway.com/deploy/serverless-minecraft-server
---

# Deploy Minecraft Server (support for Serverless)

Minecraft server with support for serverless

**[Deploy Minecraft Server (support for Serverless) on Railway](https://railway.com/template/serverless-minecraft-server)**

- **Creator:** aapelix's Projects
- **Category:** Other
- **Total deploys:** 44

## Template content

### proxy

- **Source:** aapelix/proxy

### minecraft-server

- **Image:** itzg/minecraft-server:latest

## Documentation

# Deploy and Host Serverless Minecraft Server on Railway

#### You must enable serverless yourself. Click the minecraft-server service, go to settings and go down to serverless, enable it and deploy

Minecraft Server using [itzg/minecraft-server](https://github.com/itzg/docker-minecraft-server) and a custom made proxy (in Rust)

See https://docker-minecraft-server.readthedocs.io/en/latest/variables/ for configuration

## Upload your existing world, mods and more

Railway has a new feature called "Console" which allows you to run commands and upload files to a service

You can find it by

1. Go to your service
2. In the side panel, click on the tab named "Console"
3. Press Upload or interact with files by right clicking on them

**Supports Forge, Fabric, Vanilla, Paper, Bukkit, Spigot, Quilt and more!**

By hosting a Minecraft server on Railway and enabling the Serverless option, your service costs nothing while idle by sleeping.

## About

Maintaining a Minecraft has never been easier. The proxy holds TCP request when your server is waking up from sleep and connects players to the server once ready.

## Common Use Cases

- You don't play 24/7. The point of enabling serverless is the server only starts when you try to join and stops after 10 minutes of no activity
- Minimal budget. Hosting a smallish vanilla server that you play a couple of times a week could very easily cost under $2, maybe even $1
- Minimal maintenance needed. When you change the environment variable for example the VERSION and just redeploy, the new version is automatically downloaded and you don't have to do anything

## Dependencies for Serverless Minecraft Server Hosting

Docker image **itzg/minecraft-server**

### Deployment Dependencies

https://github.com/itzg/docker-minecraft-server



## Similar templates

- [Rocky Linux](https://railway.com/deploy/rocky-linux) — [Jul'26] 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/serverless-minecraft-server
