Skip to content

Cairnflow Cloud

Cairnflow Cloud runs cairnflow for you. You write and host your service; Cloud keeps the journals, state and timers, calls your service when a handler has work to do, and gives you a console for each environment.

Cloud is planned to start as a private Beta: invite-only, free during the Beta, and with no SLA. Only invited email addresses will be able to create organizations and environments, and invitations have not started. How many organizations, environments and keys an account can create is in Account limits.

Everything in Cloud belongs to an organization: usually your company or team. You create one the first time you sign in, and invite teammates by email (an invitation link is shown once and expires after 7 days).

Each member has a role in the organization:

Role Can
Owner Everything an admin can, plus inviting, promoting, demoting and removing owners. An organization always keeps at least one owner. Deleting an organization is not in the web app yet: ask support
Admin Manage environments, API keys and members
Member Create and revoke API keys; cannot manage members
Viewer Read-only access
Billing Billing only; no access to environments

The same roles decide what you can do in an environment’s console: owners, admins and members open it with full rights, viewers read only, and billing members cannot open it.

An environment is where your invocations run: for example prod and staging. Each one has its own:

  • endpoint: the URL your service and scripts talk to, such as https://e0123456789a.iad.cairnflow.cloud;
  • API keys: see API keys;
  • identity key: the public key your service uses to check that requests really come from this environment;
  • data: journals, state, schedules, streams, archives and audit log;
  • console.

An environment is an isolated tenant on a shared cell. A cell is a group of cairnflow nodes and its storage bucket, shared by many environments. Isolation between environments is enforced by the runtime: every request, query and stored object is scoped to its environment, and one environment cannot read, call or list another’s data. An environment is not a dedicated cell, and you cannot bring your own bucket.

A new environment usually becomes Active within a few seconds; the endpoint, identity key and API keys appear then. If it is still pending after a couple of minutes, write to [email protected].

Cloud runs in one region: iad (US East, Virginia). Every resume of a handler is a round trip between the cell and your service, so host your service close to it.

  • Only https:// endpoints on the public internet. Private and internal addresses are refused.
  • Your service must check the identity key: identityKeys in serve() or fetchHandler(). Registering an endpoint that does not is refused.
  • https:// endpoints are called in request-response mode unless you register them with "transport": "declared". Each turn is then one HTTP request and must finish within the turn time limit; tokens reach the browser when a step finishes, not as they are generated. Streaming mode needs HTTP/2 all the way to your app.

Details in Deployments.

  • Every environment has the same plan. See Limits for the numbers.
  • No billing page: the Beta is free.
  • One region, no SLA, no uptime credit.
  • Backups of each cell to a second storage provider, kept for about 45 days. See Data and deletion.

What is not there yet is listed in Known limitations.

Cloud runs the same runtime you can run yourself. Most of this section (deployments, the console, the query API) applies to a self-hosted cluster too; the plan limits, organizations and the shared-cell rules are specific to Cloud. See Self-hosting.

Write to [email protected]. Include your organization name and, for a problem with an invocation, its ID (shown in the console).

To report a security issue, write to [email protected].