Web / Community / Collaboration

Mastodon on VPS

Self-hosted federated microblogging community

GitHub stars
50441
License
AGPL-3.0
Docker
Yes
GPU
Not required

Requirements

Minimum and recommended VPS specs

Badges are attached to each value. An estimate is never presented as an official project requirement.

Mastodon hardware requirements
ResourceMinimumRecommended
RAM2GB Estimated4GB Estimated
CPU2 Estimated2 Estimated
Disk20GB EstimatedNot stated Not stated

Disk figures describe the application footprint recorded in the dataset. Personal media, documents, backups and other user data can require substantially more storage.

RunOnVPS sizing suggestion

Suggested VPS tier

4 GB RAM tier

This is our sizing suggestion, derived from Mastodon’s recommended RAM of 4GB. It is not an official requirement and it does not guarantee that every workload, plug-in set or media library will fit comfortably.

Affiliate link placeholder — no provider selected

This placeholder intentionally has no URL or affiliate ID in the Day 2 build.

Deployment

Docker & GPU

Docker support: Yes

GPU: Not required

Check the source notes below before assuming a GPU, transcoding workload or machine-learning feature is included in the baseline deployment.

Commercial alternative

What it can replace

X (Twitter)

Mastodon is catalogued here as a self-hosted alternative to X (Twitter). Feature parity varies, so compare your required workflow before migrating.

Add it to a multi-app VPS estimate →

Source check

Important notes

Stars/license checked 2026-10-24. Official prerequisites list only OS (Ubuntu 24.04/Debian 13), domain and SMTP; install docs give software stack (Ruby/PostgreSQL 14+/Redis 7+/Node 24+) — 官方未标明 RAM/CPU/磁盘,均为基于官方 docker-compose(web+streaming+sidekiq+PostgreSQL+Redis)默认部署的估算,磁盘随媒体缓存增长. Repo ships official container image and docker-compose.yml.

Data source: https://docs.joinmastodon.org/admin/install/

Project repository: https://github.com/mastodon/mastodon