Disclosure: this page contains affiliate links. If you buy through them we may earn a commission at no extra cost to you.

Discord bots are some of the lightest things you can host — a single long-running process that mostly waits for events.

What a Discord bot needs

  • 128–512 MB RAM for most bots — even music bots stay under 1 GB.
  • Always-on uptime — a bot that sleeps is a bot that’s offline.
  • Minimal disk — the code plus a tiny database if it persists state.

The pick: RackNerd 1GB

RackNerd’s 1 GB plan at $21.99/yr is more than a Discord bot needs, with full root and a dedicated IPv4. You could run several bots side by side.

Keep it online with systemd

pip install discord.py
[Service]
ExecStart=/usr/bin/python3 /opt/bot/main.py
Restart=always
  • Use systemd or pm2 so the bot restarts after crashes and reboots.
  • Store tokens in environment variables, never in the repo.
  • Register slash commands on deploy so new commands show up.

Bottom line: a Discord bot fits in 512 MB, so the 1 GB plan at $21.99/yr is overkill — and perfect. It’s the cheapest reliable way to keep a bot online 24/7.

See RackNerd's current deals