Fly is fast, cheap, and flexible — but expects you're comfortable at the command line. If you've never used a terminal before, Railway is the friendlier first stop. total time: about 15 minutes.
On macOS or Linux:
curl -L https://fly.io/install.sh | sh
On Windows (PowerShell):
iwr https://fly.io/install.ps1 -useb | iex
Then create an account:
fly auth signup
Already have an account? fly auth login.
Unzip the bundle you got from the configurator. Everything you need — bot source, your config, your thank-yous — is already inside.
cd justthetips
fly launch
Fly asks several questions:
justthetipsFly creates a fly.toml in your folder describing the app.
Fly stores environment variables as "secrets." One command per line from your config.env:
fly secrets set OWNER_XRPL_ADDRESS=r...
fly secrets set OWNER_EVM_BASE_ADDRESS=0x...
fly secrets set DISCORD_BOT_TOKEN=MTA1...
# ...and so on for each one
config.env:
grep -v '^#' config.env | grep '=' | xargs fly secrets set
fly deploy
Fly builds your container and deploys. First deploy takes 2-3 minutes.
fly info
Look for the Hostname line. Your public URL is https://<hostname>.
Update your API_PUBLIC_URL secret to match:
fly secrets set API_PUBLIC_URL=https://your-bot.fly.dev
Open https://<your-fly-url>/check.
Every row should be green.
See what your bot is doing:
fly logs
config.env, thankyous.json, and fly.toml from your old folder into the new onefly deploy from the new folderSecrets stay put between deploys.
Fly's pricing is usage-based. A small bot with one machine costs less than $2/month. Scale down machines to zero overnight if you want to save more:
fly scale count 0 # stop
fly scale count 1 # start