Skip to main content

Projects

Version
since 1.x, describes 2.52.14
Feature flag
none
For
Workspace user

A project is a label inside a workspace that groups instances. It has a name, an optional description and an optional colour, and an instance belongs to at most one project at a time. On its own, a project changes how instances are listed and counted; it does not change who can reach an instance, what it costs or how it runs. When resource quotas, project storage, the model catalogue or job scheduling are switched on, a project also carries a quota, storage, models and a scheduler account; see With other capabilities switched on.

What a project is​

A project belongs to exactly one workspace and groups that workspace's virtual machines and bare-metal servers.

FieldRequiredRules
Name (name)yes3 to 200 characters after leading and trailing spaces are removed
Description (description)noup to 500 characters
Colour (color)noa hexadecimal RGB value such as #1E90FF or #FFF; stored in upper case; anything else is rejected with invalid_rgb_value

The platform also records who created the project and when it was created and last updated. Project names do not have to be unique inside a workspace.

Where it is​

SurfacePath
Web app, listProjects in the workspace sidebar: one card per project with Services and Settings buttons, sorting and paging
Web app, createProjects, then Create project (page title Create Project)
Web app, one projectProjects, then Services or Settings on a card: the Services tab lists the instances in the project, the Settings tab edits or deletes it. When project storage is switched on, a Storage tab sits between them (address .../projects/{project_id}/storage); see Project storage
Web app, instance listsVirtual Machines and Bare Metal: the action menu of each instance has Assign project or Unassign project; the project tag on an instance links to the project
Web app, instance pagethe Project dropdown: Move to project search, Manage projects, Create new project, Unassign selected
Dashboardthe Projects card, see The dashboard card
API/api/v1/workspaces/{workspace_id}/projects and its sub-routes; see Workspace Projects routes for parameters and schemas
CLInone in this release

Who can see and manage projects​

Viewing projects and creating, editing, deleting, assigning and unassigning are separate rights of a workspace role. Which role has which is listed on Permissions. A member without the viewing right does not see Projects in the sidebar and is sent back to the dashboard if they open a project address directly.

Through the API, every workspace access token can read projects (view-projects); changing them needs a token created with manage-projects. See Access tokens.

The Storage tab follows the same two rights: the viewing right shows it, the managing right is needed to create, attach, resize or delete storage (Project storage). A project quota is set under Workspace settings, not on the project, and needs the Owner or Administrator role (Quotas and capacity).

Creating, updating and deleting a project is written to the workspace's Activities. Assigning and unassigning instances is not.

How to use it​

Create a project​

  1. Open Projects and press Create project.
  2. Fill in Project name. Optionally pick a Project color and write a Project description.
  3. Press Submit. Clear empties the form instead.

You can also create a project from an instance page: open the Project dropdown and choose Create new project.

Edit a project​

  1. Press Settings on the project's card, or open the project and choose the Settings tab.
  2. Change the name, colour or description and press Save changes.

Assign instances to a project​

  • From Virtual Machines or Bare Metal: open the instance's action menu, choose Assign project, find the project in the Assign Project dialog and press Assign. If the workspace has no projects yet, the dialog offers Create new project.
  • From an instance page: open Project and pick the project under Move to project.
  • If the instance is already in another project, the app asks you to confirm the move. The instance leaves its current project; it is never in two.

Only instances that are not terminated can be assigned. Through the API, POST .../projects/{project_id}/assign takes a non-empty instanceIds list and answers with validIds (assigned) and invalidIds (skipped because they are not in this workspace or are terminated). If no id is valid, the request fails with 400 instance_ids_invalid.

When resource quotas are switched on and the project has a quota, the assignment is checked against it before anything is moved: the GPUs, CPU cores, RAM and number of the instances being assigned, added to what the project already holds, must fit the project quota. If they do not, the request fails with 400 quota_exceeded_project and no instance is assigned, not even the ones that would have fitted on their own. A project without a quota is not checked. The dimensions and how usage is counted are on Quotas and capacity.

Unassign instances​

  • Press the close mark on the instance's project tag, choose Unassign project in the action menu, or choose Unassign selected in the Project dropdown, then confirm.
  • The instance stays in the workspace and can be assigned to another project later.
  • Through the API, POST .../projects/unassign takes instanceIds; only instances currently in a project count as valid.

See the instances of a project​

Open the project; the Services tab lists each instance with its product and type, hostname and region, IP address, status, creation date, GPU, CPU, RAM and storage, and a Manage button to the instance page. The same data comes from GET .../instances/projects/{project_id}, which filters by variant and status; the virtual and bare-metal list routes also accept projectId.

Delete a project​

  1. Open the project's Settings tab and press Delete project.
  2. Confirm in the Delete Project dialog.

Deleting a project does not touch its instances. In one database transaction every instance in the project is unassigned and the project record is removed. The instances keep running, keep being charged and stay in the workspace without a project. The dialog says the same: "If you have any instances in this project, they will remain in the same workspace but without any related project." There is no undo.

With other capabilities switched on, deletion also means:

  • Project storage: a project that still has a shared filesystem or a block volume cannot be deleted. The database refuses the delete and the request fails with a database error (HTTP 400, code db). Delete the project's storage from its Storage tab first.
  • Resource quotas: the project's quota is removed with the project.
  • Model catalogue: the model mounts and copies recorded on the project are removed with it (a copy's files live on the project's shared filesystem, which must already be gone).
  • Jobs and scheduling: jobs that were submitted against the project keep their records but lose the project reference, and the project's scheduler account is removed in the background.

The dashboard card​

The workspace dashboard has a Projects card with a bar chart of the workspace's projects, one bar per project under the label Active instances, ordered from the project with the most active instances downwards (active means provisioned and not terminated). Every project of the workspace is drawn; the chart is not cut off after a number of projects. The card has Create project and View all buttons. The data comes from GET .../projects/graph, which also returns the number of active instances in the whole workspace as allInstances. The dashboard itself is described on Workspace.

With other capabilities switched on​

Each of these is switched on per deployment with a feature flag. The page linked in each row says whether it is on for the service you use and holds the numbers.

CapabilityWhat a project gainsFlag
Project storagea Storage tab on the project page with one shared filesystem per project and block volumes that attach to one virtual machine at a time; a project with storage cannot be deleted until the storage isproject_storage
Model cataloguea Models section on the same Storage tab, listing the catalogue models mounted on or copied to the project (needs project storage as well)model_catalog
Quotas and capacitya project quota (GPUs, CPU cores, RAM, instances, storage) set by the workspace Owner or Administrator under Workspace settings, then Usage & Quota; assigning instances and creating storage in the project are checked against itresource_quotas
Jobs and schedulinga scheduler account per project: the platform registers the project with the scheduler when it is created and removes it when it is deleted, both in the background; jobs and sessions can name the project and are pre-checked against its quotahpc_scheduler

On-demand and on-prem​

  • On-demand (web): projects work as described on this page.
  • Licensed on-prem: identical. Projects are part of the workspace core and have no feature flag.
  • Organizations: a workspace, and with it its projects, can sit under an organization when that capability is switched on; see Organizations.

Numbers​

WhatValueWhere it is set
Project name3 to 200 charactersplatform
Project descriptionup to 500 charactersplatform
Project colour#RGB or #RRGGBB, at most 7 charactersplatform
Projects an instance can be in0 or 1platform
Projects per workspace, instances per projectno limit in the code; with resource quotas switched on, a project quota can cap the instances, GPUs, CPU cores, RAM and storage a project holdsnone; project quota on Quotas and capacity
Shared filesystems and block volumes per projecton Project storageplatform, when project storage is switched on
List sortingby name, creation date or last update, ascending or descending; the API also searches by name (search)web app and API

Limits and known behaviour​

  • A project cannot be moved to another workspace.
  • Projects do not restrict access. A member who can view instances sees every instance of the workspace, in a project or not.
  • Terminating an instance does not remove it from its project. It stays in the project's Services list with status terminated until you unassign it; filter the list by status to hide it. Terminated instances can be unassigned but not assigned.
  • Deleting a project is immediate and cannot be undone.
  • Assigning and unassigning are not recorded in Activities; creating, editing and deleting are.
  • Project names are not checked for uniqueness; two projects can have the same name.
  • When resource quotas are switched on, an assignment that would push a project over its quota is refused as a whole (quota_exceeded_project). The project quota is not checked when an instance is ordered, because an order carries no project; it bites when the instance is assigned.
  • When project storage is switched on, a project with a shared filesystem or block volumes cannot be deleted until they are deleted; the request fails with a database error rather than a named reason.
  • The scheduler registration of a project is best effort: if it fails, a reconcile pass repairs it later; see Jobs and scheduling.