Guide

VPS for a Discord bot

Last updated: 15 November 2026

A typical Discord bot connects out to Discord, so it needs no open ports and no domain: just a server that stays on. A small VPS runs most bots well.

Fast VPS from $7.99 a month

See Fast VPS plansHow ordering works

Size

Fast VPS plans start at $7.99 a month: Fast 1-2 (1 vCPU, 2 GB RAM, 20 GB NVMe), 2-4 (2 vCPU, 4 GB, 40 GB), 4-8 (4 vCPU, 8 GB, 60 GB) and larger, with full root access. Order page: Fast VPS.

Setup

  1. Log in over SSH (first-login guide) and create a separate user for the bot.
  2. Install the runtime (Python 3 with a virtual environment, or Node.js LTS) and the bot's dependencies as that user.
  3. Keep the bot token in an environment file readable only by that user, never in the code or a public repository. If a token leaks, reset it in the Discord developer portal at once.
  4. Run the bot as a systemd service with Restart=always and RestartSec=5, enable it with sudo systemctl enable --now my-bot and read logs with journalctl -u my-bot -f. A complete unit example is in deploying an app.
  5. Keep your own backups of the bot's data.

Ordering and paying

An order needs an email, a password and any nickname; we do not ask for documents or a phone number. Pay with Monero, Bitcoin, Litecoin, USDT (Solana, BNB Smart Chain, TRON), USDC (Solana, BNB Smart Chain), SOL, TRX or by card through MoonPay (a separate service that may ask you to verify your identity). New VPS orders carry a 24-hour guarantee (conditions in the terms); see the acceptable use policy for what is not allowed.

Questions and answers

Does a Discord bot need open ports or a domain?
No. It connects out to Discord, so it needs neither.

How much RAM does a Discord bot need?
1 to 2 GB is enough for a typical bot; music, images or a database need more.

What if my bot token leaks?
Reset it in the Discord developer portal at once and update the environment file.

How do I keep the bot online after a crash or reboot?
Run it as a systemd service with Restart=always and enable it with systemctl enable.

Ready to try it? Fast VPS from $7.99 a month

See Fast VPS plansHow ordering works