Discord bot VPS that keeps discord.py and discord.js online 24/7
Root SSH on a headless Linux server with systemd built in. Node.js, Python and pm2 are one command away. Deploy once, let pm2 restart your bot in seconds if it crashes, and stop worrying about your laptop lid.
- Servers in Germany and the Netherlands
- Restart after a crash in under 5 seconds
- Pay with crypto, no KYC
Home PCs weren't built for bots
Your users don't care that your ISP hiccupped or Windows rebooted for updates. Missed messages and silent gateway disconnects are how good bots get removed.
Gateway disconnects
Home connections drop the WebSocket every few hours. Discord's resume window is 3 minutes. Miss it and you lose events until a full re-identify.
Power and sleep
Laptops close and desktops sleep. One Windows Update reboot at 2am and your bot is offline until you wake up.
Static IPs and firewalls
Rate limits, IP-locked webhooks and OAuth callbacks assume a stable IP. Home ISPs change yours whenever they like.
Bot crashed at 3am? pm2 caught it before your users did.
Every Linux image ships with systemd, and pm2 is one npm install away. Set Restart=always once and a crashed process is back online in under five seconds, with rotated logs.
- Auto-restart on a crash, memory leak or exit code
- Starts again after a server reboot with pm2 startup or systemd
- Log rotation and per-bot metrics with pm2
$ pm2 start bot.js --name mybot
[PM2] Starting bot.js in fork_mode (1 instance)
[PM2] Done.
$ pm2 startup
[PM2] Init system found: systemd
$ pm2 save
[PM2] Saving current process list...Ship in any language
One apt-get away. Use nvm, pyenv or asdf. Your server, your toolchain.
- Node.jsdiscord.js, Eris, Sapphire18, 20, 22 LTS
- Pythondiscord.py, Pycord, Nextcord3.10, 3.11, 3.12
- Godiscordgo, Disgord1.21, 1.22
- Rustserenity, twilight-rsstable, nightly
Close to Discord's European gateway
Near the European regions where Discord runs gateway and voice servers.
- GermanyEU data center close to Discord's European gateway and voice regions
- NetherlandsEU data center close to Discord's European gateway and voice regions
From one hobby bot to a sharded public bot
1. One bot, one server
A discord.py bot in 5 to 20 guilds runs happily on the Basic plan. 6 GB RAM is plenty with member cache off.
2. Several bots or workers
Add a music bot, a modmail bot or a scraping worker. Standard gives you 8 GB and 4 vCPU, and pm2 supervises them all.
3. Sharded and public
Past 2,500 guilds Discord requires sharding. Pro's 6 vCPU and 12 GB run AutoShardingManager, Lavalink and Postgres in Docker Compose.
Discord bot VPS plans
Linux VPS plans with root access. The Basic plan is plenty for most single bots.
Questions bot developers ask
Still unsure? Our team answers on live chat and in tickets.
Why can't I just run my bot on my laptop or home PC?
How do I keep discord.py / discord.js running after I disconnect SSH?
Do you offer auto-restart if my bot crashes?
How much RAM does a discord.py or discord.js bot actually need?
Do I need sharding?
Linux or Windows for Discord bots?
Can I run a music bot with Lavalink?
What about latency to Discord's servers?
How fast can I deploy?
Related pages
- Windows RDPWindows Server 2019, 2022 and 2025 with full admin access
- Linux VPSUbuntu, Debian, AlmaLinux and Rocky with full root access
- Telegram Bot VPSaiogram and python-telegram-bot hosting
- Web Scraping VPSSelenium, Playwright and Scrapy jobs
- SEO VPSScrapebox, GSA and RankerX on Windows
- Antidetect VPSAdsPower, Multilogin and Octo Browser
- Streaming RDPOBS, vMix and XSplit streams on a server
Install guides
Give your bot a static IP and a real init system.
Spin up a Linux VPS, git clone, pm2 start, and stop checking whether your bot is still online.