Fly.io app and database architecture

Machines close to users, Postgres in the same region, Redis for sessions and rate limits.

PaaSflypostgresedgemachines
Cloudflare CDNPro plan, billed monthlyMachines ×33 × shared-cpu-1x · 1 GBFly PostgresManaged Postgres Basic +$0.28/GBUpstash RedisFixed 250 MB plan
4 nodes. Drawn by the same layout the product uses.
What is in it

Every resource, and what it costs.

Projections from August 2026 list prices for always-on resources. Connect an account and these become the figures your provider actually bills.

Resources in the Fly.io app and database template with projected monthly cost.
NodeTypeWhat it isProjected
Cloudflare CDNCDNPro plan, billed monthly$25/mo
Machines ×3Compute3 × shared-cpu-1x · 1 GB$18/mo
Fly PostgresDatabaseManaged Postgres Basic + $0.28/GB$38/mo
Upstash RedisDatabaseFixed 250 MB planfrom $10/mo

Agent steps are priced from provider-reported token usage once the agent runs, not estimated. Guardrails cost nothing and are the reason a runaway agent cannot. One row shows from because those services bill by usage, so the total is a scenario at the stated volumes, not a quote.

Open Fly.io app and database on the canvas.

It loads as an editable graph. Connect an account or instrument an agent and the projected figures above become measured ones.