PrimeBot
).https://testnet.binance.vision/api
.⚠️ Note: Make sure you use the correct environment (Mainnet vs Testnet).
If you prefer a GUI over command-line tools (scp
, sftp
), you can connect to your EC2 instance using FileZilla with your PEM key file.
18.222.33.44
)ubuntu
(or your AMI default user).pem
file from EC2 setupRefer to:
Once connected, use the left panel for local files and the right panel for EC2 files. Drag & drop to upload or download.
💡 Tip: Ensure your EC2 instance is running. If FileZilla rejects your key, set the PEM file to read-only.
If you connected successfully in the GUI (via the Connect button) but the bot does not start when you press Start Bot — or the GUI shows no activity even though the server is running — this likely means the trading service is not active.
✅ To fix this, restart the bot service manually:
sudo systemctl restart trading_bot
Alternatively, you can run the Auto Script and choose option 8 (Restart Bot).
This will restart the background process and re-sync the GUI connection.
There are two easy ways to find your server's public IP address:
When you run the Auto Script during EC2 setup, it writes connection details into the log file. Open the autoscript log and look for a line showing your public IPv4 address, for example:
Server public IP: 18.222.33.44
In rare cases, the bot may not be able to sell an asset completely due to the order matching process on Binance. As a result, a very small remaining balance — commonly referred to as dust — may remain in your account.
If such dust remains, the bot will not be able to place a new buy order (and it also cannot sell the remaining amount, since it is below Binance’s minimum trade limit).
Although the bot includes an automatic process to detect and remove dust, in some situations — particularly when trading pairs with low liquidity or low volume — a small amount of dust may still persist in the bot’s internal state (estimated probability below 0.5%).
👉 If this occurs, please use the “Panic Sell” command in the client application for that specific trading pair to release the asset state and allow the bot to continue trading normally.
Optimize profit by buying during small dips and taking small but frequent profits. This setup focuses on balance — maximizing gain while keeping capital risk low.
Max Active Deals: 1–2 (to limit simultaneous positions and manage capital efficiently).
Monitor performance and adjust Target Profit or Stop Loss as market volatility changes.
If you trade on small timeframes (e.g., 5 m – 15 m candles), expect smaller price swings — keep profit targets around 0.5 – 2 %.
Unfortunately, if you have lost the .pem
key file that was created when you launched your EC2 instance, you cannot recover it. AWS does not store or back up private keys for security reasons — the key file is only available once when the key pair is created.
When you create a key pair in AWS, the private key (.pem
) is generated once and immediately downloaded. AWS never keeps a copy of it. Without that file, SSH or SFTP (FileZilla) access to the current instance will no longer work — unless you had a backup.
You can create a new key pair and attach it to your instance using one of the methods below.
.pem
file securely.ssh -i new-key.pem ubuntu@<public-ip>
*(Replace ubuntu
with ec2-user
or your AMI’s default username.)*If your instance supports EC2 Instance Connect or has the SSM Agent enabled, you can log in directly from the AWS Console without the .pem
file, then manually add a new public key to ~/.ssh/authorized_keys
.
If you are using the AutoScript to manage or connect to your instance (as described in Quick Start GUI), you need to update your configuration before running it again:
.pem
key file to trading-bot-key.pem (the default name expected by the script).Always back up your .pem
key file securely — store it in an encrypted folder, password-protected cloud drive, or external device.
Once lost, AWS cannot recreate or resend it.