ssh -i your-key.pem ubuntu@your-ec2-public-ip
sudo apt update && sudo apt upgrade -y
scp -i your-key.pem server.bin license.enc ubuntu@your-ec2-public-ip:/home/ubuntu/
chmod +x /home/ubuntu/server.bin
Create the service file:
sudo nano /etc/systemd/system/trading_bot.service
Paste the following:
[Unit] Description=Binance Trading Bot After=network.target [Service] User=ubuntu WorkingDirectory=/home/ubuntu ExecStart=/home/ubuntu/server.bin Restart=always RestartSec=10 StandardOutput=append:/home/ubuntu/trading_bot.log [Install] WantedBy=multi-user.target
If you don’t want to go through the full manual EC2 setup, you can use our
Prime Spot DCA Trading Bot – Quick Start GUI guide.
With Quick Start GUI, the system will automatically create and configure your Amazon EC2 server for you.
This option is perfect for beginners or anyone who wants to get started within minutes.
sudo systemctl daemon-reload sudo systemctl enable trading_bot.service sudo systemctl start trading_bot.service sudo systemctl status trading_bot.service
sudo ufw allow 22/tcp sudo ufw allow 8765/tcp sudo ufw enable
ps aux | grep server.bin
Notes: