New AMD EPYC dedicated servers in the Swiss Alps, from $64.99 a month See servers

Pay with
EN

Self-hosted app·Social networks and the fediverse

NSFW Mastodon instance hosting in Switzerland.

NSFW Mastodon instance hosting on a Swiss VPS with S3 media storage: sizing, setup, cost ($30.95/mo) and the moderation an adult server needs.

Runs here
  • Mastodon
  • PostgreSQL

ALP1·Swiss Alps

In stock

Recommended for this use case

Cloud VPS · ProductionPro · 6 vCPU · 8 GB RAM$22.99/mo320 GB NVMe · 20 TB transfer · 1 Gbps
  • 1 Gbps port20 TB of transfer a monthIncluded
  • Debian 13preinstalled with the orderIncluded
  • DDoS protection, 1 IPv4VNC console and full rootIncluded
Per month$22.99/mo

Optional: daily backups +20% · extra IPv4 $2 · priority support $10
Pay yearly: $206.99 a year, about 25% less

Deploy VPS Pro
  • No KYC
  • Crypto only
  • Swiss jurisdiction

ALP1 · Swiss Alps · Our own hardware, under Swiss law, paid in crypto

  • 6 vCPU, 8 GB RAM
  • 320 GB NVMe local storage
  • 20 TB transfer on a 1 Gbps port
  • DDoS protection included
  • Swiss jurisdiction, outside the EU

01/06

Short answer.

Yes. You can run an adult or kink-focused Mastodon server on our Cloud VPS in ALP1, in the Swiss Alps, as long as what it hosts is legal material made by and for consenting adults. Start with VPS Pro (6 vCPU, 8 GB RAM, 320 GB NVMe, 20 TB monthly transfer) for the application and a 1 TB bucket from our S3-compatible object storage for media: $30.95 a month together. The hardware is the easy part of NSFW Mastodon instance hosting. What decides whether the server lasts is the safety layer around it: an 18+ sign-up gate, hash-matching of uploaded media against known abuse material, and a report queue that someone clears every day. Without that, other servers will cut you off long before the CPU becomes a problem.

02/06

What Mastodon is and who runs it.

Mastodon is AGPL-licensed server software for the ActivityPub network: a Ruby on Rails application on PostgreSQL and Redis, with Sidekiq for background jobs and a small Node.js process for streaming timelines. Development is run by a small team under a nonprofit structure. Founder Eugen Rochko stepped down as CEO in November 2025, Felix Hlatky became executive director, and a US 501(c)(3) holds the trademark until a Belgian nonprofit is in place. The current stable branch is 4.7; version 4.7.0 shipped on 20 August 2026 and is the release you have to pass through for a zero-downtime upgrade to the announced 5.0.

That team does not moderate your server. On an instance you operate, the rules and the legal exposure are yours, and on an adult server moderation is most of the job. Federation is what makes it hard. Any other admin can limit your domain, refuse its media or suspend it, and many apply such blocks pre-emptively from lists shared under #FediBlock. They have their reasons. In 2023 the Stanford Internet Observatory found 112 matches for known child sexual abuse material (CSAM) in about 325,000 posts collected over two days from the 25 largest instances, and the IFTAS scanning pilot measured 4.29 matches per 100,000 media files across eight servers before it closed in 2025 for lack of funding. An adult server that cannot show how it handles this gets treated as part of the problem. The admins whose decisions matter to your members mostly talk in #mastoadmin, and a published moderation policy with a record of quick action is what you bring to that conversation.

Our servers are in Switzerland and answer to Swiss law. We act only on orders from competent Swiss authorities, and a request from abroad has to pass through one of them first.

03/06

Requirements and sizing.

Mastodon 4.7 needs Ruby 3.3 or newer, PostgreSQL 14+, Redis 7.0+, Node.js 22+, libvips 8.13+ and FFmpeg 5.1+. Elasticsearch 7 or OpenSearch is optional and only powers full-text search. Debian 13 ships PostgreSQL 17 in its main archive, so the stock package covers the database. On the network side you need 80 and 443 inbound, outbound HTTPS for federation, and outbound port 25 if you deliver your own mail; it is open on every VPS we sell. Puma (port 3000) and the streaming server (port 4000) stay bound to localhost behind nginx.

Four vCPUs is a workable floor for a small federated server. VPS Pro's six leave headroom for Sidekiq, which does the actual work of federation, and for FFmpeg, which processes uploaded video; adult communities post a lot of it. Memory is the tighter limit, and this is the allocation we would start with on 8 GB:

ComponentStarting point on VPS ProReasoning
PostgreSQL 17shared_buffers = 2GB25 % of RAM, PostgreSQL's own suggested starting value
Puma (web)WEB_CONCURRENCY=2, MAX_THREADS=5processes cost RAM, threads cost CPU
Sidekiqone process, -c 25, DB_POOL=25each thread holds a database connection
Streamingone process on port 4000a single process carries many connections
MediaS3 bucketkeeps the 320 GB NVMe for PostgreSQL
Full-text searchleave out on this planOpenSearch's heap would compete for the same 8 GB

That adds up to about 35 database connections plus the streaming pool, comfortably under PostgreSQL's default limit of 100, so PgBouncer can wait. Watch the Sidekiq dashboard: when the ingress or push queues stay minutes behind, move to VPS Power.

Storage grows from two directions. Your members' uploads stay until they are deleted. Media cached from other servers is governed by Administration › Content retention, and on an adult server we would keep that cache short, seven to fourteen days, because it costs space and every cached file is a file you are hosting. Run tootctl media usage at the end of each month and size from what it reports. The same bucket layout carries over to a photo-first server such as Pixelfed.

Where media is served from decides how much of the VPS's monthly transfer you use. If clients fetch files straight from the bucket hostname, that traffic never touches the VPS's 20 TB, because bucket traffic is unlimited. If you put nginx on the VPS in front of the bucket (S3_ALIAS_HOST, which lets you change storage later without breaking URLs), every image leaves through the VPS as well. As a theoretical calculation, 20 TB a month is an average of about 62 Mbit/s, and a link saturated at 1 Gbps would use it up in roughly 44 hours.

04/06

How to deploy it with us.

  1. 01Order VPS Pro with Debian 13 through the deploy link and add a 1 TB bucket from the client panel. The account is no-KYC: an email address is enough.
  2. 02Make the bucket's objects publicly readable but not listable. Mastodon writes through the S3 API and then hands clients plain unauthenticated GET URLs, so this is not optional. Without ACL support you set S3_PERMISSION to an empty string, and media of temporarily suspended accounts stays reachable by direct URL, which matters more on an adult server than anywhere else.
  3. 03Point an A record at the VPS and settle the media hostname now. Moving media to a new hostname later means adding it to the Content-Security-Policy at least a week ahead, because Mastodon's service worker caches that header for up to a week.
  4. 04Install with the official from-source guide or the repository's docker-compose.yml. Both work on one VPS; we lean towards from source on Debian 13, because 4.7's database migrations can run for a long time and a long migration is easier to watch outside a container.
  5. 05Configure storage in .env.production with the endpoint, region, bucket name and access key shown on the bucket's page in the panel, and the secret key we send you once by ticket:
bash
S3_ENABLED=true S3_BUCKET=your-bucket S3_ENDPOINT=https://<endpoint from the panel> S3_HOSTNAME=<endpoint host> # media URLs straight from the bucket # S3_ALIAS_HOST=media.example.social # only if nginx on the VPS proxies the bucket AWS_ACCESS_KEY_ID=<access key> AWS_SECRET_ACCESS_KEY=<secret key>
  1. 06Set up mail. Port 25 is open, so you can deliver directly once SPF, DKIM and DMARC are in place and the reverse DNS of your IPv4 matches the mail hostname (enter it in the Reverse DNS field of the server's network section in the panel; our team applies it), or use an SMTP relay if sign-up confirmations must not land in spam.
  2. 07Dump PostgreSQL nightly with pg_dump and push it with restic over the S3 API to a separate bucket or prefix. The database is the part you cannot rebuild, and a bucket is not a backup of itself.

Safety settings before registrations open

Set registrations to approval-required and use the minimum-age setting Mastodon has offered since 4.4, with the threshold at 18. Be clear with yourself about what it does: the server asks for a date of birth, compares it with your threshold and discards it. That is an age gate on self-declaration, not age verification. Publish your rules and terms of service (the terms editor also arrived in 4.4), require every explicit image or video to carry the sensitive flag, and mark repeat offenders' accounts as sensitive so their media is flagged automatically.

Mastodon has no built-in hash-matching, so you add it. For a small server the practical route is Cloudflare's CSAM Scanning Tool on the media hostname alone: it compares files served through its cache against known-abuse hash lists, blocks matches where it can and emails you a daily summary. Reporting and preservation remain your job, and the honest cost is that a US provider now sits in your media path. Alternatives are the IWF's Image Intercept, which IFTAS was assessing for Mastodon compatibility in 2025, and Thorn's Safer. Choose one before launch rather than after the first incident.

If you find suspected CSAM, suspend the account and do not download copies to keep as evidence; fedpol warns that saving such files is itself an offence. Report it through fedpol's form or clickandstop.ch, then open a support ticket from the client panel so we know.

05/06

Cost.

ItemPlanPer month
Cloud VPS Pro: 6 vCPU, 8 GB RAM, 320 GB NVMe, 20 TB transfer, 1 Gbpsvps-pro$22.99
Object storage: 1 TB S3-compatible bucket, unlimited traffic, no request feesstorage-1tb$7.96
Total$30.95

A second IPv4 is $2 a month, daily VPS backups add 20 % ($4.60 here) and priority support is $10. Paying yearly brings the VPS to $206.99 a year, about $17.25 a month. Payment is crypto only, in Monero, Bitcoin, Tether (USDT), Ethereum, Litecoin and other coins, with balances in US dollars. A $250 top-up earns a 15 % bonus, so $287.50 of credit, or about nine months of this setup (theoretical); the unused paid part of a top-up is refundable within 14 days. Every plan and option is on our pricing page.

Two thresholds tell you when to move. If you add OpenSearch or Sidekiq keeps falling behind, VPS Power (12 vCPU, 16 GB, 640 GB, 40 TB, 2 Gbps) is $42.99. If you proxy media through your own nginx and transfer becomes the limit, the Rigi dedicated server (EPYC 4244P, 32 GB, 1 TB NVMe) at $64.99 has a 10 Gbps port with unmetered traffic under fair use.

06/06

Limits and acceptable use.

Swiss law draws the lines that matter here. Article 197(1) of the Criminal Code makes it an offence to make pornography accessible to anyone under 16, which is why unflagged explicit media on public timelines is a legal problem and not just bad manners. Article 197(4) and (5) prohibit outright, whatever the audience's age, material showing sexual acts with minors, sexual acts with animals, or acts of violence involving adults. Kink servers should read that last category carefully. Where Swiss courts place consensual BDSM imagery relative to it is a question for a Swiss lawyer, and your server rules should stay conservative until you have that answer.

Foreign law follows your members, not your server. Since 25 July 2025 the UK Online Safety Act requires user-to-user services that allow pornography to use highly effective age assurance. In Germany the JMStV permits pornography online only inside a closed user group backed by an age-verification system, and German courts have applied it to foreign providers aimed at German users. Mastodon's date-of-birth gate meets neither standard. If you accept members from those countries you need a real verification integration; if you do not want one, do not aim the server at them. Hosting in Switzerland does not move these obligations off you.

Complaints are handled the same way for every customer. A DMCA notice has no direct legal effect in Switzerland. We forward complete complaints to you, and you remove the content or justify it; we act on a decision of a competent Swiss authority, or where content is manifestly unlawful (Swico Code of Conduct Hosting 2025). Under article 39d of the Copyright Act a host only has to prevent re-uploads in a narrow case: the same work was already made available unlawfully through the same service, the host was notified, and the service creates a particular risk of infringement. Reposted studio clips are still infringing, so ban them in your rules; our page on DMCA notices covers the process in detail. CSAM is the clearest case of manifestly unlawful content there is, and we act on it without waiting for anyone: under our acceptable use policy, a service that hosts it is closed at once, without refund, and reported to the authorities.

On jurisdiction, the revised Federal Act on Data Protection has applied since 1 September 2023, and on 15 January 2024 the European Commission confirmed that Switzerland still offers adequate protection, so your EU members' data can come here without extra safeguards. The US Department of Justice lists CLOUD Act executive agreements only with the United Kingdom and Australia. That closes one route for foreign data requests; it does not put your server beyond the reach of foreign courts, and a US CDN in front of your media changes the picture for those files. Our offshore hosting page covers the rest.

Catalogue·Options

Every configuration, every option, every price.

Six cloud VPS plans on AMD EPYC with local NVMe. Transfer is included on every plan, from 10 TB to 100 TB a month.

Six cloud VPS plans in ALP1 · transfer included on every plan

PlanvCPUMemoryNVMeTransferPortPriceDeploy
StarterStaging, dev22 GB80 GB10 TB / month1 Gbps$6.99/moDeploy Starter
StandardSmall apps44 GB160 GB15 TB / month1 Gbps$12.99/moDeploy Standard
PowerHeavy workloads1216 GB640 GB40 TB / month2 Gbps$42.99/moDeploy Power
UltraDatabases1632 GB1000 GB60 TB / month2 Gbps$65.99/moDeploy Ultra
SummitDense hosts3264 GB2000 GB100 TB / month5 Gbps$119.99/moDeploy Summit

Every plan runs on AMD EPYC with local NVMe. Yearly billing costs about 25% less.

Every plan

  • AMD EPYCon every host
  • Local NVMenot network storage
  • DDoS protectionalways on
  • 1 IPv4 addressmore at $2 each
  • VNC consoleand full root access

Options and upgrades · prices per month

OptionWhat you getPrice
Daily backupsSnapshots of the whole VPS+20%
Extra IPv4Per address, up to 64+$2.00
Priority supportPer VPS+$10.00
Longer billingPay quarterly or yearly−10% / −25%
Dedicated serverWhen a VPS is no longer enough: 10 Gbps, unmetered trafficfrom $64.99

FAQ

Questions people ask first.

Short answers about running this in ALP1. If yours is not here, open a ticket from your panel.

Still unsure?

Tickets go straight to the people who run ALP1.

Contact support
Can a Mastodon server be entirely adult content?

Yes, provided everything on it is legal adult material. Explicit content on its own is not a reason for us to act; unlawful content is, and so is a clear violation left in place after our ticket.

Is Mastodon's minimum-age setting enough?

It keeps honest minors out and documents your intent, and combined with mandatory sensitive flags it is a sensible baseline. Whether it suffices depends on where your members live: for UK or German members it does not, because both regimes require verification that does not rest on a self-declared date of birth.

Will other servers defederate us?

Some will whatever you do, and that is their call to make. You narrow the list with public rules, enforced sensitive-media flags, a named moderation contact, fast action on reports, and by blocking servers known to host abuse material yourself.

Can I keep media on the VPS disk at first?

For a small invite-only server, yes; 320 GB of NVMe goes some way. The remote media cache grows quickly, though, and switching to a bucket hostname later needs a week of Content-Security-Policy lead time. Starting on the bucket saves that migration.

Does this work for a German-language NSFW Mastodon Instanz?

The hosting side is identical: the same ALP1 location, the same Swiss law, and Mastodon's interface is available in German. The difference is the JMStV point above, which applies as soon as the server is aimed at users in Germany.

Do you need my identity to host this?

No. The account is no-KYC, an email address is enough, and payment is in crypto. Your members' data is a separate matter: as operator you are the controller under the FADP, so publish a privacy policy that says what the server records and how long you keep it.

Sources

Every fact on this page, with its source

Accessed 6 Nov 2026 unless noted.

Industry, providers and software

ALP1·Swiss Alps

Your server in the Alps, ready when you are.

Cloud VPS start at $6.99 a month and are usually set up within minutes of your order.