Skip to main content

Fly.io

Fly.io is a modern platform-as-a-service (PaaS) and edge computing platform that enables developers to deploy, run, and scale applications globally across distributed infrastructure. It transforms container images into micro-virtual machines (Firecracker VMs) that run on physical servers around the world, providing low-latency application delivery close to end users.

CategoryCloud
DirectionQuery source
Sign-inFly.io API Token
Query languagesSQLite
Tables9
Query templates35
Websitefly.io

Before you start​

Huntbase signs in to Fly.io with Fly.io API Token. Create the credential in Fly.io first, then keep it to hand for the Connect step.

  1. In the Fly.io dashboard, choose your organization from the dropdown and open Tokens.
  2. Create an organization token. Alternatively, run fly tokens create org --name "<token name>" --expiry <duration>.
  3. Copy the token.
Watch out for
  • An organization token can manage every app in that organization, so set an expiry and store the token securely.

For the vendor's own instructions, see Fly.io access token documentation.

tip

Use a dedicated, read-only credential for Huntbase where the product allows it. Huntbase only needs to read.

Connect Fly.io​

  1. Go to Connections and click New connection, or click New connection on the Fly.io product page.
  2. On Product, pick Fly.io and choose the Owner.
  3. On Details, give the connection a Name and, optionally, a Description.
  4. On Connect, fill in the settings and credentials described below.
  5. On Verify, review the summary and click Create & check.

For everything else on the setup page — saving a draft, I'll do this later, and what each check result means — see Connections.

Credentials​

The only Method is Fly.io API Token. Enter a Credential label (for example Production), then fill in:

FieldRequiredNotes
Fly.io API TokenYesSecret — not shown again after you save it.

Query it​

Once connected, Fly.io can serve these languages in a query tab, and Scout can use it when you ask in Auto:

LanguageUse it for
SQLiteSQL over the 9 tables listed below, alongside every other connected source.

Example: SQLite​

Fly App Basic Info — List all applications with their current status and associated URLs.

select
name,
app_url,
status,
hostname
from
fly_app;

Fly.io ships with 35 query templates. Find them in Library › Queries — see Query templates.

Tables​

Fly.io adds 9 tables. Browse their columns from Schema in the query bar's ⋯ menu.

All 9 tables
TableContains
fly_appFly App
fly_app_certificateFly App Certificate
fly_ipFly IP Address
fly_locationFly Location
fly_machineFly Machine
fly_organizationFly Organization
fly_organization_memberFly Organization Member
fly_redis_databaseFly Redis Database
fly_volumeFly Volume

Next steps​