Home / Servers / MASTODON VPS

Self-host Mastodon on a no-KYC VPS

Run your own federated social server with full moderation control and zero ads. Anonymous signup, no email required, no KYC. Pay with crypto or card, full root, no logs.

Deploy Mastodon VPS from $15.59 / month / 4 GB RAM minimum

Quick start: Mastodon on Servury via Docker Compose

Tested on Ubuntu 24. Pick a 4 GB+ plan, deploy, SSH in. Have your domain ready.
# 1. Install Docker
curl -fsSL https://get.docker.com | sh

# 2. Clone Mastodon
git clone https://github.com/mastodon/mastodon /opt/mastodon
cd /opt/mastodon

# 3. Generate secrets and run interactive setup wizard
docker compose run --rm web bundle exec rake mastodon:setup
# It will ask for domain, email (SMTP), and write .env.production for you

# 4. Bring up the stack (Postgres + Redis + web + sidekiq + streaming)
docker compose up -d

# 5. Put Caddy in front for HTTPS:
#    social.yourdomain.com {
#      reverse_proxy localhost:3000
#      reverse_proxy /api/v1/streaming/* localhost:4000
#    }
# 6. Open https://social.yourdomain.com, sign in as the admin you created

Why run your own Mastodon instance

Your moderation rules Big public instances enforce broad rules. Your instance, your rules. Federate with whoever you want, defederate the rest.
Permanent handle @you@yourdomain.com is portable forever. Your followers never lose you to a server shutdown or admin drama.
Communities of any size From a 1-user single-actor instance to a 10k-user community, the same software scales. Pick the VPS size that matches.
No algorithmic feed, no ads Strict reverse-chronological timeline. No promoted posts, no engagement-bait algorithm. The opposite of Twitter/X.
Federate with the fediverse ActivityPub means you can also follow accounts on Pleroma, Akkoma, Misskey, PixelFed, PeerTube, Lemmy. One identity, whole federated web.
Privacy-first No tracking pixels, no SDK fingerprints, no targeted ads. Combined with Servury's no-logs hosting, your instance stays your own.

Fair questions

How much VPS do I need?

For a single-user or small instance (under 50 users), 4 GB RAM is the floor. The Postgres + Redis + Sidekiq + Puma + streaming stack is heavy. For 100+ active users, plan 8 GB and offload media to S3-compatible storage. The biggest growth driver is media storage, not compute.

Do I need an SMTP server?

For account confirmations and admin emails, yes. The setup wizard asks for SMTP credentials. Use any transactional provider (Postmark, AWS SES, Mailgun, Resend) or run your own.

Can I run a single-user instance?

Yes, that is one of the most popular use cases. Disable signups so only you can register, and you have a personal corner of the fediverse with permanent handle and full data ownership.

How do I store media efficiently?

For low-volume instances, local disk works. For anything bigger, configure S3-compatible storage (Backblaze B2, Wasabi, MinIO). Mastodon then keeps only a thumbnail cache locally and offloads the rest.

How do I get federated quickly?

Follow some popular accounts on day one. Each follow tells their server about yours. Within 24 hours your instance is "known" across most of the fediverse.

Does it work with iOS/Android?

Yes, all official and third-party Mastodon apps (Ivory, Ice Cubes, Tusky, Toot!, etc.) accept any instance domain at login.

How do I back up?

Postgres dump + media volume = full backup. Schedule it nightly with restic or borg to remote storage. Always have backups.

Does Servury log my traffic?

No. No application-level logging on customer servers. Anonymous signup, crypto/card payment, no logs.

Other use cases

AnythingLLM VPS Self-host AnythingLLM to chat with your PDFs, codebases, and knowledge bases privately. Coolify VPS Run Coolify on your own VPS to deploy apps, databases, and services with one click. A self-hosted Vercel/Heroku. CrewAI VPS Run multi-agent CrewAI workflows on your own VPS, 24/7, without Replit or notebook tabs open. Crypto VPS Anonymous VPS for crypto trading bots, nodes, and miners. Dev/Staging VPS Disposable dev and staging VPS, deployable in 30 seconds, paid by the day. Dify VPS Self-host Dify on a no-KYC VPS for private LLM apps and RAG pipelines. Discord Bot VPS Host Discord bots 24/7 on an anonymous VPS. discord.js, discord.py, JDA, anything. No KYC. Encrypted VPS Full-disk-encrypted VPS in Montreal on owned hardware. Flowise VPS Self-host Flowise to build LLM apps, chatbots, and agents with a visual drag-and-drop UI. Forex VPS Low-latency VPS for forex trading and MT4/MT5 EAs. FreeBSD VPS Anonymous FreeBSD VPS on owned hardware, no KYC, crypto accepted. Gaming VPS Low-latency VPS for game servers and dedicated lobbies. Gitea / Forgejo VPS Self-host Gitea or Forgejo on a no-KYC VPS. A lightweight GitHub alternative with full Actions support. Hermes Agent VPS Self-host Hermes Agent 24/7 on a no-KYC VPS, anonymous signup, crypto accepted. Immich VPS Self-host Immich to replace Google Photos with AI search, face recognition, and mobile auto-upload. LibreChat VPS Self-host LibreChat on a no-KYC VPS as a private multi-provider chat UI. Matrix Synapse VPS Self-host a Matrix Synapse server. End-to-end encrypted, federated chat, voice, and video. Minecraft Server VPS Host a Minecraft server (Vanilla, Paper, Fabric, Forge) on an anonymous VPS. Full root, no KYC. n8n VPS Self-host n8n on a no-KYC VPS for unlimited workflows, no n8n Cloud bill. Nextcloud VPS Self-host Nextcloud to replace Google Drive, Docs, Photos, Calendar, and Contacts with one private suite. Ollama VPS Self-host Ollama on a no-KYC VPS for a private LLM API endpoint. Open WebUI VPS Self-host Open WebUI as a private ChatGPT alternative on a no-KYC VPS. OpenBSD VPS Anonymous OpenBSD 7.8 VPS with full root access on owned hardware. OpenClaw VPS Run an OpenClaw AI assistant gateway 24/7 on a no-KYC VPS. Pi-hole VPS Run Pi-hole on a VPS to block ads and trackers across every device, including phones on mobile data. Plausible Analytics VPS Self-host Plausible Analytics on your own VPS. Cookieless, GDPR-compliant Google Analytics alternative. Scraping VPS Web scraping VPS with no KYC, fast IP rotation, and crypto payments. Telegram Bot VPS Host Telegram bots 24/7 on an anonymous VPS. Long-poll or webhook. aiogram, Telegraf, anything. Tor Relay & Bridge VPS Run a Tor middle relay or obfs4 bridge on a privacy-friendly VPS. Help users in censored regions reach the open internet. Vaultwarden VPS Self-host Bitwarden (Vaultwarden) on a no-KYC VPS. Free Premium features, family-friendly, end-to-end encrypted. VPN VPS Self-hosted VPN VPS for personal WireGuard or OpenVPN endpoints. WireGuard VPS Self-host a WireGuard VPN on a dedicated VPS. Faster than commercial VPNs, no shared IP, no logs.