StackPilot

Best VPS for Hosting a Discord Bot: 5 Options Ranked

By The StackPilot Team 7 min read

Some links on this page are affiliate links. If you sign up through them we may earn a commission at no extra cost to you. We only link to services we have actually used, and commission never decides what we recommend.

A Discord bot is a long-running process holding a websocket open to Discord's gateway. It idles at near-zero CPU and a few hundred megabytes of RAM, then spikes briefly when someone runs a command. That shape — cheap, always-on, and sensitive to one endpoint's latency — eliminates most of the VPS market and makes the decision easier than the marketing pages suggest.

Quick verdict

For most people the answer is Vultr: pick a region close to your guilds, deploy the smallest cloud compute instance, and the bot is online in a couple of minutes for entry-tier money. The tradeoff that matters is that it is unmanaged. Nobody patches your kernel, rotates your logs, or debugs your crash loop — you do. If that sentence made you wince, jump to the managed hosting entry in the shortlist and stop reading the middle.

What you are actually choosing between

OptionCost shape and performance ceilingOps burden and lock-in
Vultr Cloud ComputeCheapest tier to mid; one vCPU with burst, more than enough for a typical botYou own the OS. Low lock-in — snapshots and cloud-init mean you can rebuild elsewhere
Hetzner CloudCheapest tier for the specs you get; strong single-core, EU and US regionsSame as above. Weak Asia coverage, so it loses for APAC guilds
Free tiers (Oracle Always Free, GCP e2-micro)Free, but CPU-credit capped and capacity can be reclaimedHighest ops burden of anything here; you fight the console more than the bot
Shared / OpenVZ budget hostsCheapest of allOversold CPU, old kernels, noisy neighbours. Fine until it isn't
Managed bot hostingMid to premium, priced per bot or per RAM blockNear-zero ops, heavy lock-in. Your files and config live in their panel

The shortlist, ranked

1. Vultr — the default pick

Vultr wins because it removes the two things that actually cost you time: waiting for provisioning and guessing at regions. Instances come up in well under a minute, billing is hourly so a mistake costs cents, and the region list covers the places Discord bot owners actually live — Tokyo, Osaka, Seoul, Singapore, Mumbai, plus the usual US and EU set. If your guilds are in Asia, Tokyo or Singapore is the short answer, and latency from Hong Kong to Tokyo is the reason people keep recommending it for that audience.

The procedure, start to finish:

  1. Deploy Ubuntu LTS on the smallest cloud compute instance. Add your SSH key at deploy time and skip every optional feature — you can add object storage or backups later.
  2. Create a non-root user, install Node (or Python) from the upstream repo, and copy the bot into /opt/myb ot. Put the token in /etc/myb ot/env with chmod 600, never in the repo.
  3. Run it under systemd so it survives reboots and crashes. This unit is the whole trick:
[Unit]
Description=Discord bot
After=network-online.target
Wants=network-online.target

[Service]
Type=simple
User=botuser
WorkingDirectory=/opt/mybot
EnvironmentFile=/etc/mybot/env
ExecStart=/usr/bin/node /opt/mybot/index.js
Restart=always
RestartSec=5
MemoryMax=512M

[Install]
WantedBy=multi-user.target
  1. systemctl enable --now mybot, then journalctl -u mybot -f until you see the ready line. MemoryMax is your guardrail: if the bot leaks, systemd kills and restarts it instead of the OOM killer taking down sshd.
  2. Take a snapshot once it works. That snapshot is your rollback and your migration path.

The one thing to measure rather than assume: latency to Discord. Run ping and a TLS handshake against discord.com from the box itself before you commit to a region.

2. Hetzner Cloud — pick this if you are in the EU or US

Hetzner gives you more RAM and a faster single core per euro than almost anyone, and their console is pleasant. The reason it is second and not first is geography: Falkenstein, Nuremberg, Helsinki, Ashburn, Hillsboro, Singapore. If your users are in Europe, this is arguably the better buy and I would not argue with you. If they are in Hong Kong or Japan, the extra hop makes it the wrong call.

3. Oracle Always Free — pick this if you are broke and patient

The always-free Arm allocation is generous on paper and genuinely usable for a bot. In practice you will hit "out of capacity" errors when creating the instance, and Oracle has adjusted the free allowances before, so read the current terms rather than a blog post. It is also the option most likely to be reclaimed if the instance sits idle. Good for a learning bot, risky for one people depend on.

4. Managed bot hosting — pick this if you do not want a shell

Panels that run your bot for you, priced per bot or per RAM block, are the right answer for someone who wants to paste a token and walk away. You trade money and portability for never seeing a kernel panic. The lock-in is real: your config lives in their UI, and moving out means rebuilding from scratch. Worth it if your time is worth more than the markup.

5. A box you already own — pick this for a single-guild hobby bot

A Raspberry Pi or the spare mini-PC in the closet runs a small bot fine. What it does not give you is a datacentre's uptime, a clean public IP, or immunity from your home router rebooting. For one server you moderate, that is an acceptable trade. For anything public, it is not.

Where this falls short

Vultr's honest weaknesses: it is unmanaged, so a broken dependency at 2am is yours to fix, and support will help with the hypervisor, not your Node stack. Hourly billing cuts both ways — extra reserved IPs, snapshot storage, and backups quietly accumulate on the invoice if you leave them on. The entry tier does not come with serious DDoS scrubbing, which matters the moment your bot gets popular enough to annoy someone. And one VM is one point of failure: a host maintenance event or a bad deploy takes the bot down until you fix it.

Do something else entirely if any of these are true. Your bot is in a handful of guilds — a free tier or the server you already pay for is enough, and adding a VPS adds work, not uptime. Your bot is in thousands of guilds — the answer is sharding, a real database, and probably a queue, not a bigger single instance; a VPS is the wrong shape for that problem. You have no intention of learning Linux — pay the managed premium and be honest about it. And if downtime is genuinely expensive for you, budget for two small instances and a health check rather than one larger one.

FAQ

How much RAM does a Discord bot need?

Most bots running on discord.js or discord.py sit comfortably under 256 MB at idle and rarely exceed 512 MB with a cache and a few libraries loaded. The smallest tier on any provider here is enough to start. Profile before you upgrade — a memory leak is more common than genuine demand.

Can I host a Discord bot on a free VPS?

Yes, and Oracle's always-free tier is the usual route. Expect capacity errors at creation, CPU-credit throttling under load, and a small chance of reclamation. Treat it as a stepping stone, not a home for a bot other people rely on.

Which VPS region should I pick for a Discord bot?

The one closest to your users, then verified against Discord itself. Pick Tokyo or Singapore for Asian guilds, Frankfurt or Helsinki for European ones, and US East for a mixed audience. Test latency from the instance with ping and a TLS handshake to discord.com rather than trusting a map.

Can I run several bots on one VPS?

Yes — separate systemd units, separate users, separate environment files, and a MemoryMax on each. A single small instance handles several small bots without strain. Keep them isolated so one crash loop does not starve the others.

Related reading: Cheap VPS Providers for Discord Bot Hosting: A Shortlist That Actually Stays Up, How to Host a Discord Bot on a VPS: systemd, Swap, and the Parts

Bottom line

Vultr is the pick for the common case: a bot that needs to be online, in a region near its users, deployed by someone willing to run systemctl a few times. The alternatives exist for specific reasons — Hetzner for European value, Oracle for zero budget, managed panels for zero shell — and none of them beat it on the combination of region coverage and setup speed.

Today: create a Vultr account, deploy the smallest Ubuntu LTS instance in Tokyo or whichever region matches your guilds, and add your SSH key at deploy time. Then write the systemd unit above before you write another line of bot code — getting restarts right on day one saves you the 3am debugging session later.

Try Vultr
Good HK/Tokyo latency from Asia.

Check current pricing