Telegram & Discord Bot Hosting on a No-KYC VPS
Host a Telegram or Discord bot on a no-KYC VPS: real RAM sizing for Python and Node bots, webhooks vs polling, token security and which plan fits.
Most Telegram and Discord bots run fine on the smallest VPS you can buy. A typical text bot uses tens of megabytes of RAM, barely touches the CPU and moves very little traffic. What makes one bot need a bigger server is what runs alongside it: a database, media processing, a local Bot API server, or several bots on one machine. This guide covers how to size a bot server honestly, how to choose between polling and webhooks, how to keep your token safe, and what a no-KYC VPS hides and doesn't hide when the platform itself knows who you are.
Direct answer
For one or a few small bots written in Python (aiogram, python-telegram-bot, discord.py) or Node.js (Telegraf, grammY, discord.js), a 1 vCPU / 2 GB RAM VPS is enough. At IronBalkans that's the Iron 1 plan at €7.99/mo. Move up to Iron 2 (2 vCPU, 4 GB RAM, €14.99/mo) if your bot runs PostgreSQL or Redis, converts images or audio, serves a web dashboard, or shares the server with other services. Plans above that only make sense for large Discord bots in thousands of servers, or for heavy media work.
Bandwidth almost never decides the plan. Text messages and API calls weigh a few kilobytes each, so even the 1 TB on the smallest plan is far more than a text bot will use.
What a bot actually uses
RAM is the real constraint
A bot process sits idle most of the time, waits for an update, handles it and goes back to waiting. CPU use is close to zero unless you do real work per message. Memory adds up from a few places:
- The runtime itself. A bare Python or Node.js process with a bot library loaded usually uses somewhere between 40 and 150 MB.
- Library caches. Discord libraries cache guilds, channels, members and messages by default. On a bot in a handful of servers this costs nothing. On a bot in thousands of servers with member caching on, it can grow to several hundred MB or more. Turning off caches and privileged intents you don't need is the cheapest optimisation you can make.
- Everything else on the box. PostgreSQL, Redis, a reverse proxy and the OS together can easily use more memory than the bot does.
If you're squeezing several bots onto 2 GB, add swap or zram and set per-service memory limits so one leaky bot can't take the others down. Our low-RAM VPS tuning guide explains how to set that up.
When CPU starts to matter
CPU becomes the bottleneck when the bot does work beyond relaying messages: resizing images, converting audio with ffmpeg, generating PDFs, scraping pages, or running a model locally. Each of these runs per request, so a burst of users can queue up work quickly. With enough vCPUs that work runs at a predictable speed, while on oversold hosts you share the CPU with noisy neighbours. If your bot does media processing, start on Iron 2.
Bandwidth and latency
A Telegram or Discord bot sends and receives small JSON payloads. Even a busy text bot rarely uses more than a few gigabytes a month. File-sharing bots are the exception, because every file passes through your server twice.
Latency matters less than people expect. A few tens of milliseconds between Bucharest and the platform's servers won't be noticed in a chat reply, because platform rate limits shape your response time far more than network distance does. Trading bots are a different case, and our trading bot hosting guide covers why.
Polling vs. webhooks: which setup fits a VPS
Discord bots connect outward to Discord's Gateway over a WebSocket. You don't open any inbound port unless you choose HTTP-based interactions. For most people that means the firewall can block everything inbound except SSH.
Telegram offers two ways to receive updates:
- Long polling (
getUpdates): the bot keeps asking Telegram for new updates over an outbound connection. You don't need a domain, a TLS certificate or any open ports. This is the simplest and safest option for most bots. - Webhooks (
setWebhook): Telegram pushes updates to your server over HTTPS. Telegram only accepts ports 443, 80, 88 and 8443, and needs a valid certificate (or a self-signed one you upload). Webhooks scale more cleanly under heavy load and let several bots sit behind one reverse proxy. The trade-off is a public HTTPS endpoint you have to maintain.
You can't use both at once. While a webhook is set, getUpdates won't return anything, which is a common cause of "my bot stopped responding" after a migration.
Our advice: use polling until you have a measured reason to switch. It keeps the server off the public web almost entirely, and it means you don't have to register a domain that could tie the bot back to you.
What a no-KYC VPS hides, and what it doesn't
Be clear on this before you pay. A no-KYC VPS removes your hosting provider as a source of identity. It does nothing about the platform your bot runs on.
- Telegram bots are created through @BotFather from a Telegram account, and Telegram accounts are tied to a phone number. Telegram knows which account owns the bot.
- Discord bots belong to a Discord developer account. Discord also requires bot verification once a bot grows past 100 servers, and that process includes identity checks on the owner.
- Both platforms can see the IP address your bot connects from.
The VPS still adds something real. If someone gets the bot's server IP, through a webhook URL, a leaked log or a link preview your bot fetches, the trail ends at a server with no name, email or card behind it, not at your home connection or a hosting account under your legal name. Your bot's database and logs also stay on a server you control instead of a free-tier platform with its own data policies.
At IronBalkans, signup needs no email, name, phone or ID, just a generated account ID and recovery key. Payment is in Monero, Bitcoin or Litecoin, and the server is ready about two minutes after the payment confirms. You can compare the plans here.
Setup essentials that prevent most problems
You don't need a complex stack. A few habits cover most of the risk:
- Run each bot as its own unprivileged user, never as root. If a dependency is compromised, the damage stays inside that user.
- Keep the token out of the code. Put it in an environment file owned by the bot user with
chmod 600, and keep it out of Git. If it leaks, revoke it straight away (/revokein BotFather, or "Reset Token" in the Discord developer portal). - Use systemd with
Restart=on-failureso the bot comes back after crashes and reboots. You can add sandboxing directives such asProtectSystem=strictandNoNewPrivileges=yescheaply. See our systemd service hardening guide. - Firewall everything inbound except SSH (and 443 if you use webhooks). Polling and Discord Gateway bots don't need any open ports.
- Log less. A bot that logs every message's full content and user IDs builds a sensitive dataset on your disk. Log errors, not conversations.
Which plan fits which bot
| Bot profile | Suggested plan |
|---|---|
| 1–3 text bots, SQLite, polling | Iron 1: 1 vCPU, 2 GB, 20 GB SSD (€7.99/mo) |
| Bot + PostgreSQL/Redis, web dashboard, or 4+ bots | Iron 2: 2 vCPU, 4 GB, 50 GB SSD (€14.99/mo) |
| Image/audio processing, local Telegram Bot API server for large files | Iron 2, or Iron 3 (4 vCPU, 8 GB) under heavy use |
| Large Discord bot with sharding across thousands of servers | Iron 3 or Iron 4, depending on cache size |
The local telegram-bot-api server is worth knowing about. It raises the upload limit from 50 MB to 2,000 MB, but it uses extra RAM and stores files on your disk, so plan for that. For workloads beyond bots, the general plan sizing guide covers the rest.
Common mistakes buyers make
- Oversizing on day one. Most bots never outgrow 1 GB. Start small and upgrade when your monitoring shows you need to, not because you might.
- Running "music bots" that stream from YouTube. Big streaming platforms often block or throttle datacenter IPs, and the copyright exposure is real under EU law. Hosting offshore doesn't make that go away.
- Committing the token to a public repo. Scrapers find leaked bot tokens within minutes.
- Forgetting renewals. Crypto billing doesn't auto-charge, so the bot goes offline if you miss a payment. Set a reminder.
- Assuming the VPS anonymises the bot. It anonymises the hosting. The platform account is a separate identity problem.
Pros and cons
Pros
- Very cheap for always-on bots: €7.99/mo covers most use cases
- No hosting account tied to your identity or payment card
- Full root on real KVM (kernel-based virtualisation with your own kernel), so you can run any language, database or Docker setup
- Dedicated IPv4 and included DDoS protection if you expose a webhook
Cons
- Unmanaged: updates, backups and restarts are your job
- Doesn't hide your identity from Telegram or Discord
- No auto-renew, so you have to remember to pay
- A single location (Bucharest), so there's no multi-region failover out of the box
FAQ
Can I run a Telegram bot and a Discord bot on the same VPS? Yes. Run them as separate systemd services under separate users. Neither needs much, and polling and Gateway connections don't conflict.
Do I need a domain name? Not for polling or Discord Gateway bots. You only need one for Telegram webhooks or a web dashboard. Telegram does accept a bare IP with an uploaded self-signed certificate, but a domain is easier to manage.
Is Docker worth it for a single bot? It's optional. It makes dependencies reproducible, but it adds memory overhead and can bypass host firewall rules if you publish ports carelessly. A plain virtualenv or Node install with systemd is perfectly fine.
What happens if the bot crashes at 3 a.m.?
With Restart=on-failure in systemd, it restarts automatically. Add an external uptime check if you need to know when it happens.
Get started
If your bot is a few hundred lines of Python or JavaScript, a €7.99/mo server is all you need, and you can buy it with no email and no ID. Create an anonymous account, pay in Monero, Bitcoin or Litecoin, and have your bot running on its own Romanian server about two minutes after your payment confirms.
