Browse the docs

Your workspace in the cloud

A workspace is the cloud side of one repository. It holds the people who work on it, its environments, its registries, its runs and its data.

One repository, one workspace

putnami cloud setup links your repository to one workspace, and writes the link in putnami.workspace.json. Commit it: everyone who clones the repository then works against the same workspace.

A workspace belongs to an organization. Your first sign-in creates a personal organization where you are admin.

What setup creates

Setup creates only what the workspace needs to exist. Cloud resources come later, with the first deploy that needs them.

When The platform creates
putnami cloud setup the workspace, its place on the platform, and its profile: its slug and its repository
The first deploy of a service the service, its identity, its database access, its buckets, its event topics and its routes
Each later deploy only what changed

If one step of setup fails, the platform undoes the earlier steps. Setup creates no registry key and no bucket.

On your machine, setup writes three files:

File Holds Commit it
putnami.workspace.json the workspace id under options["@putnami/cloud"].workspace yes
.putnami/cache.json where the build cache is, and how to get a token for it; never a token yes
.putnami/cloud-link.json a local copy of the link no

The slug names what the workspace runs

The slug is the short name of the workspace, such as acme. You choose it when you create the workspace, and it never changes. The platform names your services <slug>-… and your event topics <slug>.…, such as acme.orders.created. The rules are in workspace settings.

People and roles

Each person in a workspace has one role:

Role Allows
workspace.viewer read runs, verdicts and changes, and change nothing
workspace.member also run work on the platform
workspace.admin also manage the workspace, its members, its settings and secrets, and take the decisions of the factory

An admin adds people by email or with a one-time invitation link. See workspace settings.

Credentials

You never paste a long-lived secret into a terminal. Each credential is short-lived, or bound to one purpose:

Credential For Lifetime
Your CLI session you, on this machine, after putnami cloud login hours; putnami cloud whoami prints the time left
A registry or cache token one tool, from putnami cloud token <kind> short-lived, minted per call
A workspace machine token a CI service or a script, from putnami cloud token create 7, 30 or 365 days, or no expiry
An organization ingest token your own CI, to report runs no expiry; revoke it on putnami.app/observe
A GitHub Actions ID token your own CI on GitHub, without a stored secret 5 minutes; early access

Security and data says what each one may do, and how to rotate it.

Registries and the build cache

The workspace owns namespaces in the platform registries: put for Putnami packages and release sets, oci for container images, npm and go for libraries. A publish writes into your namespace. The build cache stores what hosted CI built, so a run, your laptop and an agent session reuse it.

Store Who writes Who reads
Registries hosted CI, and you with an explicit publish members of the workspace, and each workspace the owner shares one exact package with
Build cache hosted CI only members, and tokens with cache.read

See build cache and registries.

Where your data lives

The platform runs your data stores for you: a managed PostgreSQL for your databases, and buckets for your storage. Each service reaches only the stores it declares, through a binding the platform makes at deploy. Your code never holds a database password.

Run records, reports and verdicts are stored in PostgreSQL on Google Cloud, in the europe-west1 region (Belgium). See security and data.

When you delete a workspace

An organization admin deletes a workspace from its settings in putnami.app.

  1. The workspace freezes at once. Its members, machine tokens and services lose access. Its services scale to zero and its scheduled jobs pause.
  2. For 30 days, nothing is deleted. An organization admin can restore it.
  3. After 30 days, the platform deletes its data, services, jobs, routes, database users and topics. You cannot restore it.

Next