Insights

Every way to deploy Jaisiu, ranked

Local Docker, Launchpad, Floci crowd, Terraform EC2, ECS Fargate, the pryzm.at EFSS, bare-metal CLI, and blue-green swap — one page, honest pros and cons.

All insights
11 min read
Vue script setup in a code editor — the deploy surface is a few hundred lines of plumbing around the same harness, no matter the packaging

There is no single right way to run Jaisiu. The harness is a Linux process that talks WebSocket + HTTP on :18789; everything else is packaging, supervision, and a Redis on the side. This post walks every deployment surface we maintain today, the commands they actually run, the rough cost shape, and which one to pick when. If you only read one section, read the decision matrix at the end.

Default path
developer-setup.sh
Gateway port
18789
Shared state
Redis 6379/6383
Verified profiles
10
Production today
make efss-deploy-remote

Why one post and not ten

We have ten real, verified deployment paths in the repo: the Jaisiu Compose profile, the Launchpad profile, the Floci crowd, the compute gateway, the Terraform EC2 stack, the Terraform ECS Agent Crowd, the live pryzm.at EFSS, the blue-green swap, the published .tar.gz bundles, and the bare-metal CLI. Each one has a real `docker-compose*.yml`, a real `infra/*.tf`, or a real `scripts/efss/deploy-*.sh` behind it.

Until now the surface was scattered across INSTALL.md, docs/deploy/README.md, docs/install/, and the platform README. This post collapses that into a single page you can read before you pick a path, and links to the runbooks for when you commit.

  • All paths are real Compose files or Terraform roots checked into the monorepo
  • Numbers come from docs/deploy/docker-compose-profiles.md, not vibes
  • Production pryzm.at itself is path #7 — keep that as your reference shape

Path 1 — Local Docker (the Jaisiu profile)

This is the default developer setup. `./developer-setup.sh` clones, builds the image, brings up `openclaw-gateway` + `redis` + `efss-api` + `efss-web` with `docker-compose.yml` + `docker-compose.override.yml`, and verifies the stack.

Ports: gateway 18789, EFSS API 9020, EFSS web 8090, Redis 6379 (publish), Caddy 18443/18080 if you opt into TLS. The override does the ugly things: bind-mounts `./node_modules` so the bun image sees your local sources, and pins `PRISM_REDIS_HOST=redis` so the gateway resolves shared state.

Best for: laptop dev, single-host staging, the path we dogfood on every Tuesday. Worst for: high availability, multi-node coordination.

  • Setup: `git clone … && cd jaisiu && ./developer-setup.sh`
  • Verify: `./scripts/verify-jaisiu-stack.sh` or `make verify-stack`
  • URLs: `:18789` gateway · `:8090/efss/` portal · `:8090/efss/api/health` healthy
  • Add Ollama: `docker compose --profile ollama up -d`

Path 2 — Launchpad (slim Compose)

Launchpad is a slimmer Compose profile (`docker-compose.launchpad.yml`) that runs the `jaisiu` service, Redis, optional Postgres, and `prizm-workspace`. API on port 3000, MCP on 8080, Redis on 6379.

It is intentionally less than the Jaisiu profile: no EFSS portal, no Caddy, no Ollama. Pick Launchpad when you want the gateway + shared state only, and you plan to bolt EFSS / TRELLIS on separately.

Best for: edge boxes, CI runners that need a stable gateway, customers who only want chat + tools. Worst for: anything that needs the file portal on the same host.

  • Setup: `docker compose -f docker-compose.launchpad.yml up -d`
  • Profile switch: `-profile launchpad` if you want Postgres
  • Add workspace: opt in with the `prizm-workspace` service

Path 3 — Floci crowd (orchestrator + N harnesses)

Floci is the multi-gateway orchestrator. `docker-compose.floci.yml` brings up one Floci REST API (`:18900`), Redis on host port 6383, and N `jaisiu-agent-*` harnesses (default 2, gateable to 10+). Or run it with `make start-crowd`.

Each agent is a full gateway: agent1 on `:18781`, agent2 on `:18782`, and so on. Floci handles heartbeat, registration, and discovery via Redis keys (`floci:agents:*`). Prism shared state still uses 6383 to keep the crowd isolated from a default Jaisiu profile that is also running.

Best for: replicating one agent hundreds of times for a benchmark, retail load testing, or staged rollouts. Worst for: anything that wants a single durable gateway.

  • Setup: `make start-crowd` (or `docker compose -f docker-compose.floci.yml up -d`)
  • Scale: bump `agent_count` or duplicate the `jaisiu-agent-*` services
  • Companion path #6 (ECS Fargate) runs the same shape on AWS

Path 4 — Compute gateway (GPU workloads)

If you run models on your own box, `docker-compose.compute-gateway.yml` overlays Ollama on `:11434`, Trellis inference on `:18800`, training on `:8888`, and a `shell` for ad-hoc jobs. This is the path that pairs with paths #1 or #2 when you want pooled local inference instead of paying a hosted LLM.

`make trellis-probe` detects your backend (CPU, NVIDIA, ROCm), then `make up-trellis` selects the right image. The viewer lives on `:8090/efss/trellis/trellis-viewer.html` (needs EFSS up) and the API health endpoint is `:18800/health`.

Best for: customer deployments that need local inference + cost caps. Worst for: CPU-only small boxes that cannot run 7B-class models.

  • Backend probe: `make trellis-probe`
  • Start: `make up-trellis` (auto-picks CPU/NVIDIA/ROCm)
  • ROCm dependency drift: `docker exec trellis-inference trellis-rocm-ensure-runtime.sh`

Path 5 — Terraform EC2 + Compose (one heavy server)

`infra/` is one Terraform core with two profiles switched by `deployment_profile`. Set it to `jaisiu` and you get one EC2 running `docker-compose.yml` (gateway + EFSS + Redis + optional Ollama). Set it to `launchpad` and the same box runs `docker-compose.launchpad.yml` with optional RDS and S3 for Launchpad state.

User data scripts on the instance pick up the `.env` from Terraform outputs, run `docker compose up -d`, and expose the gateway on `:18789`. LocalStack mode (`use_localstack = true`) lets you replay the whole stack against a local AWS API for testing.

Best for: a single prod box per region, predictable bills, no Kubernetes. Worst for: multi-AZ HA (use Fargate for that — see next).

  • Setup: `cd infra && cp terraform.tfvars.example terraform.tfvars && terraform init && terraform apply`
  • Remote EFSS: `make efss-deploy-remote && make test-efss`
  • Heavy server user data: `infra/scripts/server-user-data.sh`

Path 6 — Terraform ECS Agent Crowd (Fargate)

`infra/crowd/` is a standalone Terraform config that mirrors `docker-compose.floci.yml` on AWS: Floci REST on Fargate, N `jaisiu-agent-*` tasks behind an ALB, ElastiCache Redis for the crowd’s shared keys, optional ACM + Route53 for HTTPS.

Same surface as path #3, but you delegate supervision, scaling, and AZ placement to ECS. We use it for the staging benchmark that backs the npp-qt lift claim — the publish tarballs from JAISIU-2155 ship into this cluster’s buckets.

Best for: multi-AZ agent fanout, paying AWS for the supervision you would otherwise write. Worst for: small scale (Fargate task overhead makes <3 agents more expensive than path #3).

  • Setup: `cd infra/crowd && terraform init && terraform apply`
  • Inputs: `agent_count`, `agent_gateway_token`, optional domain/cert
  • Smoke: hit Floci `:18900/health` after first task stabilizes

Path 7 — Production pryzm.at EFSS (the live one)

The pryzm.at site itself runs `make efss-deploy-remote`. That target scp’s `efss-portal/` to a hardened VPS (UFW + fail2ban + non-root SSH), runs `sudo ./deploy.sh` over SSH, and rotates the nginx config. `make test-efss` then probes the live URLs.

This is the only path the team considers production-stable today. The gate tarballs at `https://pryzm.at/efss/jaisiu/jaisiu-gateway-{linux-x64,linux-arm64,darwin-x64,darwin-arm64,windows-x64}.tar.gz` are produced here, even though they describe deployment paths 8 and 9 below.

Best for: the canonical production shape. Worst for: reproducible builds (this path assumes you trust our EFSS as the SBOM).

  • Deploy: `make efss-deploy-remote`
  • Test: `make test-efss` (asserts portal + API healthy)
  • Live: `https://pryzm.at/efss/`

Path 8 — Pre-built tarball from EFSS

JAISIU-2155 publishes the gateway as a single tarball per architecture. Download it next to a Node 22 runtime, untar, run `./jaisiu gateway --allow-unconfigured`. The bundle is a portable binary path that does not require Docker on the target box.

Two of the five architectures are live on prod today (`linux-x64`, `darwin-arm64`). The other three (`linux-arm64`, `darwin-x64`, `windows-x64`) are wired into `install/ci/publish-to-efss.sh` and follow the next CI run that publishes with `JAISIU_PUBLISH_EFSS=1`.

Best for: air-gapped installs, edge devices with no Docker, customers who want a single binary. Worst for: production rollouts until the missing three architectures ship.

  • Download: any tarball under `https://pryzm.at/efss/jaisiu/`
  • Run: `tar -xzf jaisiu-gateway-*.tar.gz && ./jaisiu gateway`
  • Config: `.env` + `OPENCLAW_GATEWAY_TOKEN`

Path 9 — Bare-metal CLI (`jaisiu onboard --install-daemon`)

If you can install Node 22 yourself (or use the `jaisiu.ai/install.sh` one-liner that does it for you), this is the smallest possible deployment: one process, supervised by your OS, no Redis unless you add one. The installer handles macOS / Linux / WSL2 via `install.sh` and Windows via `install.ps1`.

This path is the right call when Docker is overkill (a developer laptop, a Raspberry Pi, an Apple Silicon box that already has Node). It is not the right call for shared state — Prism Network discovery needs Redis, and live sessions need a shared filesystem.

Best for: solo dev, lightweight VPS, Node shops that already ship containers without Docker. Worst for: shared state, multi-agent fanout.

  • Installer: `curl -fsSL https://jaisiu.ai/install.sh | bash`
  • PowerShell: `iwr -useb https://jaisiu.ai/install.ps1 | iex`
  • Manual: `npm install -g jaisiu@latest && jaisiu onboard --install-daemon`

Path 10 — Blue-green swap

`docker-compose.bluegreen.yml` and `scripts/blue-green-deploy.sh` give you a swap-without-downtime pattern: bring up the new gateway stack alongside the old, verify health, then flip the upstream proxy. Caddy and the production nginx both already know how to point at a blue or green upstream.

We reach for this when we cut a new gateway image that the mesh must never see half-migrated. It composes with paths #1, #5, and #7 — not with #2 (Launchpad ships with its own Caddy) or #3 (Floci agents are stateless).

Best for: image updates that cross a major CLI flag, anything you would otherwise schedule a maintenance window for. Worst for: ephemeral sandboxes.

  • Spin up: `docker compose -f docker-compose.bluegreen.yml up -d gateway-green`
  • Verify: hit green `:18789` directly, watch `/health`
  • Swap: `scripts/blue-green-deploy.sh --flip` (Caddy or nginx reload)

Pick in 60 seconds — the decision matrix

Three questions decide the path. One box, or many? Docker on the host, or not? Do you need a portal (EFSS) on the same box as the gateway?

Below is the matrix we use internally. Pick by row, then jump to that path above for the exact commands.

  • Solo dev / laptop → Path 9 (CLI). Add Path 8 (tarball) if your host is air-gapped.
  • Single server, no Docker → Path 8 (tarball from EFSS). No Redis unless you bring one.
  • Single server, Docker available → Path 1 (Jaisiu profile) or Path 2 (Launchpad). Add Path 4 (compute gateway) if you want local inference.
  • One EC2 for prod, no Kubernetes → Path 5 (Terraform EC2). Add Path 10 for image swaps without downtime.
  • Need N agents behind a load balancer → Path 3 (Floci local) or Path 6 (ECS Fargate).
  • You want the exact shape we run on pryzm.at → Path 7 (make efss-deploy-remote) plus Path 8/9 for the binary distribution.

What we are still tightening

Path 8 still ships only two of five architectures on prod; the other three follow the next CI run. Path 6 needs a managed Terraform state backend before we are comfortable recommending it for solo operators. Path 4’s ROCm path is the most likely to fail a clean reboot on a fresh AMI.

None of these are blockers for Path 1, 2, 3, 5, 7, 9, or 10 — those are the surfaces we run ourselves. The matrix below is current; the matrix above (the plans) updates with each release.

  • Deploy
  • Self-hosted
  • Docker
  • Terraform
  • Compose