Hummingbot runs in Docker on a headless server. Budget 4 GB of RAM per instance, attach to the client when you need it, and detach without stopping it.
Last updated: · 8 min read
Quick answer
How to run Hummingbot on a VPS?
To run Hummingbot on a VPS, install Docker, clone the hummingbot repository, then run make setup, make deploy and make link-cli, and attach to the container with docker attach hummingbot. The client needs 4 GB RAM per instance, so Blockgilt recommends a Gilt with 8 GB.
In brief
Hummingbot needs 4 GB RAM, 5 GB of disk and 1 vCPU per instance.
Gilt (4 vCPU, 8 GB RAM, 250 GB NVMe, 8 TB traffic) costs $12.61 a month on 12 months.
Install: Docker, git clone, make setup, make deploy, make link-cli.
Attach with docker attach hummingbot; detach with Ctrl+P then Ctrl+Q.
The first-use password encrypts your exchange API keys.
Use trading-only API keys and change the Gateway passphrase from admin.
What does Hummingbot need on a VPS?
Hummingbot requirements per instance from its installation page, with the Blockgilt plan that fits
Item
Hummingbot client
Gilt plan
RAM
4 GB per instance
8 GB
Disk
5 GB per instance
250 GB NVMe
CPU
At least 1 vCPU per instance or controller
4 vCPU
System
Linux x64 or ARM (Ubuntu 20.04+, Debian 10+)
Debian 13, Debian 12, Ubuntu 24.04 LTS
Price
-
$12.61 a month on 12 months, $25.22 month to month
Requirements from the Hummingbot installation page, read on 10 November 2026.
What are the steps to run Hummingbot on a VPS?
Use a non-root user in the docker group, or prefix the commands with sudo.
Order a plan with 4 GB of RAM per instance
A Gilt (8 GB) runs one instance with room for the system. Choose the Debian 13 or Ubuntu 24.04 LTS image.
Secure the server
Set up key-only SSH and a firewall before the bot holds any exchange key.
Install Docker
The Hummingbot documentation installs Docker on a headless server with the get.docker.com script.
Clone the repository
Clone github.com/hummingbot/hummingbot and enter the folder.
Run make setup, make deploy and make link-cli
The three commands prepare the environment, start the container in the background and add the hbot command to the host.
Choose the keystore password
On first use, hbot asks for a password. It encrypts your exchange API keys, so store it somewhere other than the VPS.
Attach to the client and add exchange keys
Attach to the container, connect your exchange with a trading-only API key and start with a small test.
Detach without stopping the bot
Press Ctrl+P then Ctrl+Q. To stop everything, run docker compose down.
How do you install Docker and Hummingbot on a headless VPS?
You install Docker with the get.docker.com script, clone the repository and run three make targets. This is the headless-server path of the Hummingbot documentation, written for VPS providers such as AWS EC2 and Digital Ocean; it works the same on a Blockgilt KVM server.
Docker, repository, deployment
curl -fsSL https://get.docker.com -o get-docker.sh
sh get-docker.sh
git clone https://github.com/hummingbot/hummingbot.git
cd hummingbot
make setup
make deploy
make link-cli
hbot --version
make deploy starts the client in the background, and make link-cli adds the hbot command so you can run and monitor the bot non-interactively. The latest release on 10 November 2026 is v2.17.0. The alternative, a source install with make install and conda activate hummingbot, needs Python and Anaconda; Docker is the quickstart method and the one this guide uses. If you compare frameworks first, read Freqtrade versus Hummingbot.
How do you attach to Hummingbot and leave it running?
You attach with docker attach hummingbot and detach with Ctrl+P then Ctrl+Q, which leaves the bot running. Learn the detach sequence before you start a strategy.
Attach, detach, stop
docker attach hummingbot
# detach without stopping: press Ctrl+P, then Ctrl+Q
docker compose down
docker compose down stops the stack. Run it from the hummingbot folder. Keep the keystore password out of shell history and out of the repository folder.
Which exchange API key should Hummingbot use?
Hummingbot should use an exchange key with trading rights and no withdrawal rights. The client encrypts your keys with the password you set on first use, and Blockgilt never holds your coins, seeds or exchange API keys: the node and the wallet on your VPS are yours to run, and nobody on the team will ask for a seed phrase or a private key.
Blockgilt sells servers, not trading advice. A bot can lose money as fast as it can make it; test strategies on paper first and give exchange API keys trading rights only, never withdrawal rights. Start with the smallest order size your exchange allows and a paper-trading mode if the connector offers one, and watch a full day of orders before you raise the amount. If the exchange lets you restrict a key to an IP address, restrict it to the IPv4 address of your VPS. No plan includes backups. Keep your wallet seeds, Lightning channel backups and bot configs somewhere other than the VPS: keep the password and your strategy configs in a place you control.
What about Gateway and DEX trading?
Gateway is an optional component for trading on decentralized exchanges, and it holds wallet private keys, so treat it with more care than a centralized-exchange key. You enable it by uncommenting its lines in docker-compose.yml and running docker compose up -d.
The documentation gives two warnings. Change the default GATEWAY_PASSPHRASE of admin to a secure passphrase, because it encrypts the wallet keys. And note that Gateway runs in development mode (DEV=true) by default, which uses plain HTTP; set DEV=false for HTTPS in production. Do not publish the Gateway port: keep it on localhost, as in how to secure a VPS for a crypto node or bot. Docker’s own documentation warns that published container ports go around the firewall.
How big a VPS does Hummingbot need?
Size it at 4 GB of RAM, 5 GB of disk and at least one vCPU per instance. According to Blockgilt’s sizing of 10 November 2026, a Leaf with 4 GB equals exactly one instance and leaves nothing for the system, a Gilt with 8 GB holds two instances on paper, and an Ingot with 16 GB holds four. In practice, keep one instance of headroom for Linux and Docker, so count on one bot per Gilt and three per Ingot.
The Hummingbot page gives no CPU or disk figure beyond the per-instance minimums, and Blockgilt does not publish a benchmark of its own. The RAM of each plan belongs to your VPS and is not overcommitted, so a large database cache for the first sync stays in memory. For a first bot, a Gilt at $12.61 a month on 12 months is the smallest sensible choice. Locations are Amsterdam (Netherlands), Zurich (Switzerland), Singapore and Tokyo (Japan): all eight plans in all four cities, at one price; an AWS industry post places Binance in Tokyo and Bybit in Singapore. Wider guidance is in the best VPS for a trading bot.
The documentation lists 4 GB of RAM per instance, 5 GB of disk per instance and at least 1 vCPU per instance. A Gilt has 8 GB, enough for one comfortable instance.
Can I run Hummingbot without Docker?
Yes. The documentation also describes a source install with make install and conda activate hummingbot. It needs Python and Anaconda, while Docker is the quickstart method.
How do I leave Hummingbot running after I close SSH?
Deploy with make deploy, which runs the container in the background, then detach from the client with Ctrl+P then Ctrl+Q. The bot keeps running when your SSH session ends.
Which operating system does Hummingbot support?
Linux x64 or ARM (Ubuntu 20.04+, Debian 10+), macOS and Windows with WSL2. Blockgilt images are Debian 13, Debian 12 and Ubuntu 24.04 LTS.
Does Blockgilt give trading advice?
No. Blockgilt sells servers, not trading advice. A bot can lose money as fast as it can make it; test strategies on paper first and give exchange API keys trading rights only, never withdrawal rights.
Run Hummingbot on a Gilt
4 vCPU, 8 GB of RAM and 250 GB of NVMe for $12.61 a month on 12 months.