Self-hosted app·Communities, calls and games
Discord bot hosting 24/7 in the Swiss Alps.
Discord bot hosting 24/7 on a 2 vCPU / 2 GB NVMe VPS in the Swiss Alps for $6.99/mo: systemd setup, sizing, sharding limits and what we don't host.
- Discord
- Python
- Node.js
ALP1·Swiss Alps
In stockRecommended for this use case
- 1 Gbps port10 TB of transfer a monthIncluded
- Debian 13preinstalled with the orderIncluded
- DDoS protection, 1 IPv4VNC console and full rootIncluded
Optional: daily backups +20% · extra IPv4 $2 · priority support $10
Pay yearly: $62.99 a year, about 25% less
- No KYC
- Crypto only
- Swiss jurisdiction
ALP1 · Swiss Alps · Our own hardware, under Swiss law, paid in crypto
- 2 vCPU, 2 GB RAM
- 80 GB NVMe local storage
- 10 TB transfer on a 1 Gbps port
- DDoS protection included
- Swiss jurisdiction, outside the EU
01/06
Short answer.
Yes, and the smallest plan is enough for most bots. A Discord bot is one long-running process that holds an outbound WebSocket to Discord's gateway, and our Cloud VPS Starter (2 vCPU, 2 GB RAM, 80 GB NVMe, 10 TB of monthly transfer at 1 Gbps) runs it in ALP1, in the Swiss Alps, for $6.99 a month.
What decides whether the bot is really online around the clock is less the server than the supervisor wrapped around the process. Discord allows 1,000 IDENTIFY calls per 24 hours, counted across all shards; when a bot goes over, Discord terminates every active session, resets the bot token and emails the owner. A bot that crashes on startup and is restarted immediately reaches that limit quickly: at one cycle every ten seconds, the budget is gone in under three hours (theoretical: 1,000 × 10 s ≈ 2.8 h). The restart policy therefore needs a delay and a ceiling, and the systemd unit further down has both.
02/06
What a Discord bot is, and who runs one.
A bot is a Discord application with a bot user attached. It authenticates with a token, opens a WebSocket to wss://gateway.discord.gg, declares its intents (the groups of events it wants to receive) and then gets a stream of events: messages, member joins, slash-command invocations. Replies go out over Discord's REST API. Disconnects are part of normal operation; Discord's documentation tells you to expect them and to resume the session, and a resume does not count against the IDENTIFY budget. The mainstream libraries handle heartbeats and resumes for you. The two most people start with are discord.py, currently 2.7.1 (released 3 March 2026, Python 3.8 or later), and discord.js on its 14.26 line.
There is a second way to build one. Instead of the gateway, a bot can receive interactions as HTTP POST requests at a public Interactions Endpoint URL. That removes the persistent socket and adds a web server with obligations: the endpoint has to answer Discord's PING, validate the X-Signature-Ed25519 and X-Signature-Timestamp headers on every request, and keep doing so, because Discord routinely sends deliberately invalid signatures and removes the URL if your server accepts them. In both modes an interaction has to be acknowledged within 3 seconds, after which its token is invalidated.
The people who run bots on a VPS are mostly server admins with a moderation, logging or ticket bot written for one community, small teams with a game-stats or notification bot in a few dozen servers, and now and then a public bot approaching Discord's verification threshold. For questions about the code itself, r/Discord_Bots and the discord.py server will serve you better than a hosting provider; we can answer for the machine underneath.
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.
A gateway bot needs no inbound ports. It makes outbound TLS connections to Discord on 443, so the firewall can drop every incoming connection apart from SSH. Debian 13 ships nftables, and an input policy of drop that accepts established traffic and port 22 is the entire firewall such a bot requires. Only the HTTP-interactions mode needs 443 open inbound, together with a domain name and a certificate.
CPU is rarely the constraint. Python's asyncio and Node's event loop run your handlers on one core, and a bot in a few hundred servers spends most of its time waiting on the network; the second vCPU on Starter is there for the database and, if you play audio, ffmpeg. Memory is what grows. Libraries cache guilds, channels and roles, plus members if you enable the privileged members intent, and that cache scales with the size of the communities the bot sits in rather than with how often it is used. Disk only matters for your own data, usually a SQLite file or a small PostgreSQL instance.
| Bot profile | What consumes resources | Plan | Per month |
|---|---|---|---|
| Slash-command or utility bot, under 100 servers | Heartbeats, a few REST calls | Starter: 2 vCPU / 2 GB / 80 GB NVMe | $6.99 |
| Moderation or logging bot with the members intent and a database | Member cache, database writes, log retention | Starter; Standard if PostgreSQL shares the machine | $6.99 / $12.99 |
| Music bot using ffmpeg, or Lavalink as a separate JVM process | Audio encoding, JVM heap | Standard: 4 vCPU / 4 GB / 160 GB NVMe | $12.99 |
| Public bot past 2,500 servers, running several shards | One cache per shard | Pro: 6 vCPU / 8 GB, or Power: 12 vCPU / 16 GB | $22.99 / $42.99 |
The table is judgement, not a benchmark.
Some thresholds come from Discord rather than from us, and they change the architecture more than any plan does. At 100 servers a bot has to be verified before it can join more, and privileged intents then need approval. Independently of that, once more than 10,000 unique users can see the app, access to privileged intents goes through a review that Discord asks you to renew every year. At 2,500 guilds sharding becomes mandatory. Each shard is its own gateway connection, the shards can run as separate processes on the same VPS, and their combined cache is what you size the machine for.
Transfer is a non-issue for a text bot; gateway events are small against a 10 TB allowance. Voice is the case worth working out. One continuous Opus stream at 64 kbit/s is 8 kB/s, or about 20.7 GB over a 30-day month, so Starter's allowance would cover roughly 480 such streams running non-stop (theoretical: 10,000 GB ÷ 20.7 GB).
04/06
How to deploy it with us.
Order Starter with Debian 13 from this link: deploy Cloud VPS Starter with Debian 13. Debian 13 ships Python 3.13, and its system Python is externally managed, so the bot belongs in a virtual environment owned by an unprivileged user rather than in the system site-packages.
apt update && apt install -y python3-venv git
adduser --system --group --home /opt/bot bot
runuser -u bot -- python3 -m venv /opt/bot/venv
runuser -u bot -- /opt/bot/venv/bin/pip install "discord.py==2.7.1"
# put your code in /opt/bot/app (owned by bot), with a data/ directory for SQLite
install -d -m 750 -o root -g bot /etc/bot
install -m 640 -o root -g bot /dev/null /etc/bot/bot.env
nano /etc/bot/bot.env # one line: DISCORD_TOKEN=...Your code reads the token with os.environ["DISCORD_TOKEN"], so it stays out of the repository and out of shell history. The service unit goes in /etc/systemd/system/discord-bot.service:
[Unit]
Description=Discord bot
Wants=network-online.target
After=network-online.target
StartLimitIntervalSec=600
StartLimitBurst=5
[Service]
User=bot
Group=bot
WorkingDirectory=/opt/bot/app
EnvironmentFile=/etc/bot/bot.env
ExecStart=/opt/bot/venv/bin/python bot.py
Restart=on-failure
RestartSec=30
NoNewPrivileges=yes
ProtectSystem=strict
ProtectHome=yes
PrivateTmp=yes
ReadWritePaths=/opt/bot/app/data
[Install]
WantedBy=multi-user.targetsystemctl daemon-reload
systemctl enable --now discord-bot
journalctl -u discord-bot -fThe two start-limit lines are the point of the file. RestartSec=30 on its own still permits 2,880 starts a day (theoretical: 86,400 s ÷ 30 s), almost three times Discord's IDENTIFY budget. With the limit, systemd gives up after five starts in ten minutes and leaves the unit in a failed state, which is what you want for a bot that dies on startup: an unapproved privileged intent closes the connection with code 4014 every time, and no number of retries will fix it. Ordinary gateway disconnects never reach systemd, because the library resumes them inside the running process.
For discord.js, the unit stays the same with ExecStart=/usr/bin/node index.js, but do not use Debian's nodejs package: it is version 20.19, and the Node.js 20 line left upstream support on 30 April 2026. Install a current LTS release from nodejs.org's binaries instead. If you prefer Docker, the same reasoning applies: restart: on-failure:5 rather than always, the token in an env file outside the image, the database on a volume.
Voice needs a little more. pip install "discord.py[voice]==2.7.1" pulls in PyNaCl and davey, and apt install ffmpeg provides the encoder. Since 1 March 2026 Discord only admits clients and apps that support DAVE, its end-to-end encryption for voice, and discord.py added DAVE support in 2.7.0. A music bot that went silent in March is most likely running an older library.
For backups, the cheapest sound option is a nightly sqlite3 /opt/bot/app/data/bot.db ".backup /opt/bot/backup.db" followed by restic to a 250 GB bucket on our S3-compatible object storage. It is used through the S3 API, not mounted as a disk.
05/06
Cost.
| Item | Price |
|---|---|
| Cloud VPS Starter, monthly | $6.99 |
| Starter, billed yearly (about −25 %) | $62.99 a year |
| Daily VPS backups | +20 %, so $8.39 a month on Starter (theoretical) |
| Extra IPv4 address | $2 a month |
| Priority support | $10 a month |
| Object storage, 250 GB bucket | $1.99 a month |
The monthly price includes the 2 vCPU, 2 GB RAM, 80 GB NVMe and 10 TB of transfer at 1 Gbps. VPS traffic is not unmetered; the 10 TB is the plan's allowance. The other plans and their transfer allowances are on the pricing page.
Payment is in cryptocurrency only: Monero, Bitcoin, Tether (USDT), Ethereum, Litecoin and other coins, with prices and balances in US dollars. The account is no-KYC: an email address is enough (how no-KYC hosting works with us). Top-ups start at $25, which pays for three months of Starter with $4.03 left over (theoretical: 25 − 3 × 6.99). The bonus starts at 5 % from $50 and 10 % from $100, and the unused paid part of a top-up is refundable within 14 days. The honest downside for a $7 bot is that there is no card option; if you have never held crypto, the first top-up is the hardest step of this whole page.
06/06
Limits and acceptable use.
The contract is with Hosta AG, a Swiss société anonyme (IDE CHE-107.875.655, Riehen), and the bot's own data, meaning moderation logs, warnings, user IDs and any message copies, sits on our hardware in ALP1 under the revised Federal Act on Data Protection, in force since 1 September 2023. The European Commission confirmed on 15 January 2024 that Switzerland keeps its adequacy status, so personal data of EU members can flow to the bot's database without additional safeguards. What passes through Discord itself stays on Discord's infrastructure under Discord's terms, and Swiss hosting changes nothing about that (what the Swiss jurisdiction does and does not cover). If you store message content, you are the one processing personal data: keep what the feature needs, set a retention period and say so in the bot's privacy notice.
Music bots run fine on our machines; the legal exposure is yours, and it has a history. YouTube's terms forbid downloading or broadcasting content except where YouTube itself allows it. Groovy shut down on 30 August 2021 and Rythm on 15 September 2021, both after cease-and-desist letters from Google. Swiss law permits downloading a work for private use but not making it available online without permission, and a bot playing tracks to a public server full of strangers is much closer to the second than to the first. Play your own files or sources you are licensed to stream.
A DMCA notice has no direct legal effect in Switzerland. We forward complete complaints to the customer, who must remove the content or justify it, and we act on a decision of a competent Swiss authority, or where the content is manifestly unlawful (Swico Code of Conduct Hosting 2025).
We do not host raid bots, mass-DM spam, token grabbers or anything else that collects other people's credentials, tools that scrape member lists into databases, or software used to attack Discord or anyone else. On your side: keep the token secret, since whoever holds it controls the bot; keep Debian and the library patched; answer forwarded complaints; and follow Discord's Developer Policy.
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.
| Plan | vCPU | Memory | NVMe | Transfer | Port | Price | Deploy |
|---|---|---|---|---|---|---|---|
| StarterRecommendedStaging, dev | 2 | 2 GB | 80 GB | 10 TB / month | 1 Gbps | $6.99/mo | Deploy Starter |
| StandardSmall apps | 4 | 4 GB | 160 GB | 15 TB / month | 1 Gbps | $12.99/mo | Deploy Standard |
| ProProduction | 6 | 8 GB | 320 GB | 20 TB / month | 1 Gbps | $22.99/mo | Deploy Pro |
| PowerHeavy workloads | 12 | 16 GB | 640 GB | 40 TB / month | 2 Gbps | $42.99/mo | Deploy Power |
| UltraDatabases | 16 | 32 GB | 1000 GB | 60 TB / month | 2 Gbps | $65.99/mo | Deploy Ultra |
| SummitDense hosts | 32 | 64 GB | 2000 GB | 100 TB / month | 5 Gbps | $119.99/mo | Deploy 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
FAQ
Questions people ask first.
Short answers about running this in ALP1. If yours is not here, open a ticket from your panel.
Does a Discord bot need any open ports?
A gateway bot does not. It only opens outbound connections to Discord on 443, so you can drop all inbound traffic except SSH. A bot that receives interactions over HTTP needs 443 open inbound, a domain and a valid certificate, and must validate Discord's Ed25519 signature on every request.
Will the bot come back on its own after a reboot?
Yes, if the unit is enabled. WantedBy=multi-user.target starts it at boot once the network is up, and the library identifies once, which costs one of the 1,000 daily IDENTIFY calls. Gateway disconnects while the bot is running are resumed by the library and do not restart the process.
Can I run several bots on one Starter VPS?
Yes. Give each bot its own user, directory, token and systemd unit. The IDENTIFY budget belongs to each application, so separate bots do not share it; memory is the limit to watch, and systemctl status shows each unit's current usage.
When is Starter no longer enough?
When the cache plus the database no longer fit comfortably in 2 GB, or when you start running several shards. A music bot with Lavalink belongs on Standard from the start.
Is a music bot allowed?
Hosting one is allowed. Where the audio comes from is your responsibility, and YouTube's terms and Swiss copyright law both cut against streaming YouTube tracks to public servers. Technically, use discord.py 2.7.0 or later, or a current discord.js voice package, because Discord has required DAVE for voice since 1 March 2026.
Do I need to send ID to order?
No. The account is no-KYC: an email address is enough, and payment is in cryptocurrency. For anything about your account, open a support ticket from the client panel; the FAQ covers billing and top-ups.
Sources
Every fact on this page, with its source
Swiss law and authorities
EU and other countries
Industry, providers and software
Other references
- Discord Developer Documentation, "Gateway": 1,000 IDENTIFY calls per 24 h and token reset on overrun; resuming does not count against the limit; 2,500 guilds per shard; verification for apps in 100+ guilds; privileged-intent review above 10,000 users; close code 4014docs.discord.com
- Discord Developer Documentation, "Interactions Overview": Interactions Endpoint URL, PING, Ed25519 signature headers, routine invalid-signature checksdocs.discord.com
- Discord Developer Documentation, "Receiving and Responding": initial response within 3 seconds; tokens valid 15 minutesdocs.discord.com
- discord.py 2.7.1 on PyPI: released 3 March 2026, requires Python 3.8 or later; voice extra depends on daveypypi.org
- discord.py changelog: DAVE protocol support added in 2.7.0discordpy.readthedocs.io
- Discord blog, "Every Voice and Video Call on Discord Is Now End-to-End Encrypted" (May 2026): migration completed early March 2026, bots includeddiscord.com
- Help Net Security, 19 May 2026: DAVE support required for Discord calls from 1 March 2026helpnetsecurity.com
- Supabase changelog, 8 May 2026: Node.js 20 reached end of life on 30 April 2026 per the Node.js release plansupabase.com
- Tubefilter, 13 September 2021: Groovy shut down 30 August 2021 after a YouTube cease-and-desist; Rythm received the sametubefilter.com
- 9to5Google, 13 September 2021: Rythm shutting down on 15 September 20219to5google.com
- YouTube Terms of Service, "Permissions and Restrictions" (version effective 15 December 2023, read on 6 November 2026)youtube.com
- Discord Support: self-bots are a violation of Discord's API Terms of Usesupport.discord.com
- Swico Code of Conduct Hosting, 2025 edition (referenced in our complaint-handling wording)Switzerland Hosting
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.
