Core Concepts
Workspaces & Projects
How workspaces, projects, services, environments and instances fit together, and what each one owns.
Parslinks organizes everything into one graph. Knowing which object owns which setting tells you where to change it and what a change affects.
Workspace
The workspace is your top-level container. It owns:
- Members and roles (owner, admin, member) and pending invitations;
- all projects;
- billing: plan, quotas, credit balance and invoices;
- Git connections and registry credentials, shared by its projects.
The workspace slug appears in dashboard URLs and in the API. In the HTTP API the path segment is /organizations/{slug} for historical reasons; it is the same object.
Project
A project groups services that belong together: an app, its workers, its databases. It is a container, not something you deploy. A project owns:
- its services and environments;
- shared variables per environment, available to every service (see Variables & Configuration);
- a private project network: services in the project reach each other at
{service}.{environment}.internal, and nothing outside the project can; - volumes created for its services.
Services
A service is the unit of source, build, networking and resources. Each service has one source type:
| Type | Meaning |
|---|---|
git | A connected repository and branch; Parslinks builds it. |
image | A prebuilt OCI image from a registry; Parslinks pulls it. |
template | Created from a versioned recipe; afterwards it is a normal service. |
resource | Infrastructure for the rest of the project: a managed database adapter or an external resource brokered by a plugin. |
Build settings (commands, root directory, Dockerfile) belong to the service and are shared by all its environments. What differs per environment is the deployed release, variables, domains and placement.
Environments
An environment is a complete, isolated copy of the project's graph. There are three kinds:
| Kind | Follows | Typical use |
|---|---|---|
| Production | The production branch (deployBranch, often main) | Live traffic |
| Preview | Any branch without an environment of its own | Pull requests and feature branches |
| Custom | A branch you choose | Staging, QA, long-lived test setups |
Every deployment belongs to exactly one environment, and domains are scoped to an environment, so a preview domain can never collide with production.
Instances
An instance is one service in one environment. It is where per-environment state lives:
- the current deployment that the environment's alias points to;
- instance variables and references;
- placement: desired replicas per region;
- pause state;
- clone policy, which decides what happens to this service when a new environment is created.
Clone policy
When you create an environment, Parslinks adds an instance of every service to it, copying settings from the environment it was created from. The clone policy decides whether that instance runs its own compute:
| Policy | Effect in the new environment | Default for |
|---|---|---|
create_new | An independent instance with the source's settings (branch, auto-deploy, watch paths, region) and its own deployments. | Git, image and template services |
reference_existing | No new compute; the instance points at the source environment's instance. | Databases and other resources in pull-request environments, so previews reuse the existing data |
disable | The service does not run in this environment until you deploy it yourself. | Databases and other resources in custom environments |
Fan-out rules
- Creating a service creates an instance in every live environment.
- Creating an environment creates an instance for every live service, following each service's clone policy.
- Deleting is never immediate: see Deleting & Restoring.
Who owns what behind the scenes
Parslinks runs as a set of focused services. You never call them directly, but the split explains the behavior you see:
| Platform service | Owns |
|---|---|
| catalog | Workspaces, projects, services, environments, instances, variables, placement, Git connections |
| build | Builds, ArtifactSets, deployments and aliases |
| runtime | Workloads, replicas, volumes, networks, the console |
| edge | Domains, certificates status and the routing table |
| observability | Logs and metrics |
| billing | Plans, quotas, usage and credits |
