Mastodon on a No-KYC VPS: Sizing, Media Cache and Metadata
Can a no-KYC VPS run Mastodon or GoToSocial? Honest RAM and disk sizing, media cache control, and what federation still reveals about your server.
A single-user Mastodon instance needs about 4 GB of RAM to run comfortably. On a no-KYC VPS that means a mid-tier plan, not the cheapest one. If you only want your own account on the fediverse, a lighter server such as GoToSocial will run on 1 GB. Two other things matter more than the CPU you pick. The first is disk, because the remote media cache will fill it unless you set limits. The second is federation itself: it copies your posts to servers you don't control.
This guide covers sizing, the cache settings that keep a small server alive, and what running your own instance does and doesn't hide.
Mastodon, GoToSocial or Akkoma: pick the software first
The software you choose decides the hardware you need, so choose it before you choose a plan.
Mastodon is the reference implementation and has the most features. It has the widest client support and the most familiar web interface. It's also the heaviest option. One instance runs a Ruby on Rails web process (Puma), Sidekiq background workers, a Node.js streaming server, PostgreSQL and Redis. Full-text search is optional and adds Elasticsearch or OpenSearch, which needs a lot of memory.
GoToSocial is a single Go binary that can use SQLite or PostgreSQL. It was built for small instances and single users. It speaks the Mastodon client API, so apps like Tusky, Ivory, Elk and Phanpy work with it. It ships with little in the way of a built-in web posting interface, though, and it's still maturing. Check its current release status and known federation gaps before you commit.
Akkoma, a fork of Pleroma, sits in the middle. It's written in Elixir, runs on PostgreSQL, uses moderate amounts of memory and has a strong feature set for small communities.
If you're the only user, GoToSocial is the sensible default. Pick Mastodon if you want its moderation tools, its familiar web interface, or you expect other people to join.
Realistic sizing per plan
The figures below are estimates from how these stacks are built and how small instances typically behave. They aren't benchmarks, and real usage depends on how many accounts you follow, whether you join relays, and how many local users are active.
| Use case | Suggested plan | Why |
|---|---|---|
| GoToSocial, 1–5 users | Iron 1 (1 vCPU, 2 GB, 20 GB SSD, €7.99/mo) | The binary plus SQLite usually stays at a few hundred MB of RAM. Disk is the limit, not memory |
| Mastodon, single user | Iron 2 (2 vCPU, 4 GB, 50 GB SSD, €14.99/mo) | Postgres, Redis, Puma, Sidekiq and streaming together often reach 1.5–2.5 GB. 2 GB is too tight |
| Mastodon, small community (roughly 10–50 active users) | Iron 2 or Iron 3 (4 vCPU, 8 GB, 80 GB SSD, €29.99/mo) | More Sidekiq throughput, a larger Postgres cache, room for traffic spikes |
| Mastodon with full-text search | Iron 3 or above | Elasticsearch or OpenSearch typically needs 1–2 GB of heap on its own |
| Larger community instance | Iron 4 (8 vCPU, 16 GB, 140 GB SSD, €59.99/mo) | Mainly for disk and Sidekiq concurrency, plus room to run search |
The Romania VPS sizing guide explains how RAM, disk and bandwidth map to these tiers more generally.
If you're running Mastodon on Iron 2, lower the default process counts instead of buying more RAM straight away. WEB_CONCURRENCY=1 with a modest MAX_THREADS, plus a Sidekiq concurrency of 5–10 (-c), is enough for one person. Add swap or zram as a safety net. The low-RAM tuning guide covers the OOM killer and memory limits in detail.
Disk is what actually runs out
Each post that reaches your timeline brings remote media with it: images, video, avatars, headers and link preview cards. Mastodon caches all of it locally. A single account following a few hundred active people can build up a media cache measured in tens of gigabytes within a few months if nothing cleans it up. That's an estimate, and video-heavy timelines grow faster. Joining a relay makes the growth much worse.
Mastodon cleanup
Since version 4.0, Mastodon has content retention settings in Administration → Server Settings → Content retention. Set a media cache retention period, for example 7–14 days. You can also run the cleanup yourself, or put it on a cron schedule:
# Run from the Mastodon live directory as the mastodon user, with RAILS_ENV=production
bin/tootctl media usage # see where the space is going
bin/tootctl media remove --days 7 # cached remote attachments older than 7 days
bin/tootctl preview_cards remove --days 14 # link preview thumbnails
bin/tootctl media remove --prune-profiles # remote avatars/headers of accounts you don't follow
bin/tootctl statuses remove # unreferenced remote posts in the database
These commands delete only cached copies of remote media. If someone later views an old remote post, Mastodon fetches the media again. Your own uploads aren't touched. statuses remove can run for a long time on a large database, so run it during a quiet hour.
GoToSocial cleanup
GoToSocial has a configuration option, media-remote-cache-days, which defaults to a few days, and it runs cleanup on a schedule. Check that the value suits your disk. Then watch du -sh on the storage path for the first few weeks.
Object storage and privacy
Many guides tell you to move media to S3-compatible object storage. That does solve the disk problem. It also adds a third-party account, usually with card billing and KYC, and the storage provider's hostname appears in every media URL you serve. On a privacy-focused setup it's usually better to keep media local, set a strict retention period, and move to a bigger plan when you need more space.
Bandwidth: modest unless you join relays
Federation traffic for a single-user instance is small. You receive posts from accounts you follow and send your own posts to your followers' servers. Media fetches account for most of the volume. A personal instance will usually stay well under Iron 1's 1 TB monthly allowance.
Bandwidth grows in three cases:
- Relays. Each one pushes large volumes of public posts to you.
- Viral posts. Remote servers fetch your media when a post spreads widely.
- Many local users. Each one follows a different part of the network.
Run vnstat from day one so you can see your actual usage instead of guessing.
The decisions you can't undo
Your domain is permanent. Once a Mastodon instance federates, LOCAL_DOMAIN can't be changed without breaking every remote follow. If you want handles like @[email protected] while the app runs on social.example.com, set WEB_DOMAIN before first launch. GoToSocial has a similar split between host and account-domain.
So the domain needs some thought. Its registration, DNS hosting and TLS certificates can each link the instance back to you. Certificate Transparency logs, for example, publish every certificate hostname. The anonymous domain registration guide covers how to reduce that exposure.
Email is optional for a single user. Mastodon expects SMTP for sign-up confirmations and notifications. If you're the only account, you can create it from the command line and skip outbound mail entirely:
bin/tootctl accounts create yourname --email [email protected] --confirmed --role Owner
The email field still needs a value, but nothing is ever sent to it. If you open registrations to other people, you'll need working mail, and that's a separate project with its own deliverability problems.
What your own instance does and doesn't hide
Running your own server takes one party out of the picture: no instance admin can read your direct messages, sell your data or suspend your account on a whim. That's a real gain. But the fediverse is a publishing network, and it works by sending your data to other servers.
What self-hosting doesn't hide:
- Your posts are copied. Every post, including followers-only ones, is delivered to your followers' servers and stored there. Deleting it sends a deletion request. Well-behaved software honours it, but you can't force a remote server to comply.
- Direct messages aren't end-to-end encrypted. They're stored in plain text in the database of every server involved, and that includes yours. Use Signal or a similar app for sensitive conversations.
- Your server's IP is public. Every instance you federate with connects to it directly. The domain-to-IP link is visible to the whole network, so treat it as public.
- Your social graph is visible. Follower and following lists are public by default. Hiding them in the interface doesn't stop other servers from learning who you're connected to.
- The account is still you. A no-KYC VPS removes your identity from the hosting bill. It does nothing about what you write, who you interact with, or patterns in when you post.
Paying anonymously and skipping identity checks protects the link between you and the server. Everything that happens on top of the server is a separate problem.
Moderation and legal responsibility
If you open your instance to other people, you become a host for their content. Under EU rules that can bring notice-and-action obligations, and you'll be the one answering abuse reports. Reports sent to IronBalkans are assessed under Romanian and EU law, not acted on automatically. But that applies the law; it doesn't shield you from it. The guide to abuse complaints on a Romania VPS explains the process.
In practice:
- Write a short server rules page.
- Keep a domain blocklist for well-known abusive instances.
- If you can't moderate other people's accounts, keep registrations closed or approval-only.
Other instances also defederate from servers that let spam or harassment through. That can cut you off from much of the network.
Before you deploy: a short checklist
- Pick the software. GoToSocial for one person; Mastodon if you want its features or plan to host others.
- Pick the domain carefully. Decide on
LOCAL_DOMAINandWEB_DOMAINonce, before the first launch. - Size for disk as well as RAM. Set media retention on day one, not after the disk is full.
- Lock down the basics. Use key-only SSH, a firewall that leaves only 80 and 443 public, and automatic security updates.
- Back up Postgres or the SQLite file, plus your secrets. You can re-fetch the media cache. You can't replace the database or your instance keys.
- Decide who your users will be before you open registrations.
Getting started
For a personal instance, GoToSocial on Iron 1 (€7.99/mo) or Mastodon on Iron 2 (€14.99/mo) covers most people. Both plans include full root on KVM, a dedicated IPv4 address and flat monthly pricing.
IronBalkans accounts need no email, name or ID. You pay in Monero, Bitcoin or Litecoin, and the server is usually deployed about two minutes after the payment confirms.
Start small, watch disk and memory for a month, and upgrade only if your actual usage shows you need to.
