Skip to content

Fly.io

The default application name is streamstack (edit fly.toml). Storage is Tigris (S3-compatible).

The protocol is set in the fly.toml build args:

toml
[build.args]
  MODULE = "frontend/native/server"
  JAR = "native-server.jar"
toml
[build.args]
  MODULE = "frontend/ds/server"
  JAR = "ds-server.jar"

If you are new to Fly.io, create an account (it includes a 7-day trial). To deploy from this machine, install the CLI and log in:

bash
brew install flyctl
fly auth login

Then:

bash
fly launch --config harness/fly/fly.toml
fly storage create
fly deploy --config harness/fly/fly.toml

Multi-node (3 nodes): --config harness/fly/fly.cluster.toml.

Topology

FileStorage
fly/topo.yamlOne Fly Machine. Tigris (region=auto)
fly/topo.cluster.yamlThree Fly process groups n1-n3