============================================================================
Create an aws account, setup an EC2 Ubuntu virtual machine instance. Make sure you have at least 1GB of RAM and 3GB of Storage for 1 bot instance, and 250Mb RAM for each extra bot instance
Download your aws instance secret key. Use the key and your Public DNS to log onto you aws virtual machine.
Find aws instance Public DNS (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/connection-prereqs.html#connection-prereqs-get-info-about-instance)
Use SSH protocol to log onto into aws from a linux terminal (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/WSL.html)
$ sudo ssh -i /path/my-key-pair.pem ubuntu@PUBLIC_DNS
dowload and install developer version of hummingbot at https://docs.hummingbot.io/installation/source/linux/ (Download for each instance)
dowload and install docker version of hummingbot (Best way to run Hummingbot is in Docker) at see https://docs.hummingbot.io/installation/source/linux/ (No need to download for each instance)
============================================================================
gcc --version
$ sudo apt update
$ sudo apt install build-essential
$ sudo apt-get install manpages-dev
$ pip --version
$ sudo apt-get install python3-pip
$ pip3 install pre-commit
============================================================================
check https://repo.anaconda.com/archive/ for the latest Anaconda version to download
$ wget https://repo.anaconda.com/archive/Anaconda3-XXXX.XX-Linux-x86_64.sh
$ bash Anaconda3-XXXX.XX-Linux-x86_64.sh
$ source .bashrc
$ conda --version
$ conda update -n base -c defaults conda
============================================================================
sudo apt-get update
$ sudo apt-get install -y tmux
$ sudo apt install -y docker.io
$ sudo systemctl start docker && sudo systemctl enable docker
5) Change permissions for docker (optional). Allow docker commands without requiring sudo prefix. $USER is usually ubuntu, or your username on your machine.
$ sudo usermod -a -G docker $USER
$ exit
$ sudo ssh -i /path/my-key-pair.pem ubuntu@PUBLIC_DNS
$ docker --version
wget https://raw.githubusercontent.com/CoinAlpha/hummingbot/development/installation/docker-commands/create.sh
wget https://raw.githubusercontent.com/CoinAlpha/hummingbot/development/installation/docker-commands/start.sh
wget https://raw.githubusercontent.com/CoinAlpha/hummingbot/development/installation/docker-commands/update.sh
chmod a+x *.sh
============================================================================
screen -ls
screen -S UNIQUE_NAME
screen -X -S UNIQUE_NAME quit
ctrl+a d
screen -r SCREEN_NAME
: sessionname NEW_NAME
============================================================================
Once in a seperate screen, create a new bot instance. This will create a Docker container, give it a UNIQUE_NAME (can be the same name as the screen name). It will also create a UNIQUE_NAME_files to contain you logs, data and config files.
./create.sh
Go through the bot configuration, create or import a configuration file and run it using these Hummingbot commands:
create
import
config
start
history
status
stop
exit
$ ./start.sh
docker container ls