---
title: Core concepts
description: >-
  Your organization is the tenant boundary. Every token is scoped to one
  organization, and every API call only sees that organization's resources. You
  never pass an organization ID: it comes from your token.
canonical: 'https://lightning.ai/docs/platform/cluster/get-started/core-concepts'
---
# Core concepts {#core-concepts}

## Resource model {#resource-model}

```mermaid
flowchart LR
  Org[Organization] --> Fleet[Fleet]
  Org --> Keys[SSH keys]
  Org --> Audit[Audit log]
  Fleet --> Node[Nodes]
  Fleet --> Storage[Storage views]
  Fleet --> K8s[Managed Kubernetes cluster]
  Fleet --> Val[Cluster validation runs]
  Fleet --> Graf[Monitoring dashboards]
```

### Organization {#organization}

Your organization is the tenant boundary. Every token is scoped to one organization, and every API call only sees that organization's resources. You never pass an organization ID: it comes from your token.

### Region {#region}

A region is a separate data center with its own API endpoint (for example `sea1`). Fleets live in exactly one region, and tokens are issued per region. See [Regions & endpoints](/docs/platform/cluster/get-started/regions.md).

### Fleet {#fleet}

A fleet is a dedicated group of GPU nodes provisioned for your organization, plus the services attached to it: storage, monitoring, and optionally a managed Kubernetes cluster. Fleets are identified by a UUID `fleetId`.

| Status | Meaning |
|--------|---------|
| `PROVISIONING` | The fleet is being built. Nodes may not be available yet. |
| `ACTIVE` | The fleet is ready for workloads. |
| `SCALING_UP` / `SCALING_DOWN` | Nodes are being added or removed. |
| `INACTIVE` | The fleet exists but is not currently serving workloads. |
| `TERMINATING` / `TERMINATED` | The fleet is being or has been torn down. |
| `DECOMMISSIONED` | The fleet has been retired. |

### Node {#node}

A node is one GPU server in a fleet, identified by its `nodeName` (for example `g1234`). Use the `nodeName` wherever the API asks for a `nodeId`.

| State | Meaning |
|-------|---------|
| `ACTIVE` | In service and available for workloads. |
| `PROVISIONING`, `CONFIGURING`, `ONBOARDING`, `BASELINING`, `TESTING`, `VALIDATION`, `READY` | The node is being brought into service. |
| `UNHEALTHY` | The node has a problem that needs attention. |
| `FAILED_PROVISIONING` | The node could not be brought into service. |
| `CONTRACTING`, `TERMINATING`, `TERMINATED` | The node is no longer available for workloads, or is being removed. |

### SSH key {#ssh-key}

An SSH key record belongs to the organization and maps a Linux username to one or more public keys. Each fleet has a set of SSH users whose keys are installed when its nodes are provisioned, and you can apply other keys to a running fleet. See [SSH keys](/docs/platform/cluster/access/ssh-keys.md).

### Storage view {#storage-view}

A storage view is a shared file system mount point attached to a fleet (for example `/data`), with a provisioned size and optional quotas. See [Storage views](/docs/platform/cluster/storage-views.md).

### Managed Kubernetes cluster {#managed-kubernetes-cluster}

Some fleets come with a managed Kubernetes cluster. Lightning AI runs the control plane, and your fleet's nodes join as workers. See [Managed Kubernetes](/docs/platform/cluster/managed-kubernetes.md).

## Principals and permissions {#principals-and-permissions}

Lightning AI provisions two kinds of identity for your organization:

- A **User Principal** is a person. It signs in to the console and the Lightning Cloud CLI.
- An **Application Principal** is a workload. It calls the API with a client ID and client secret.

Each person has a role: **User** or **Administrator**. Administrators can also control node power, manage SSH keys, read audit logs, and manage users. A request your role doesn't allow returns `403 Forbidden`. See [Roles & permissions](/docs/platform/cluster/access/roles-permissions.md).

## Synchronous and asynchronous operations {#synchronous-and-asynchronous-operations}

Reads return immediately. Several writes start work that finishes later. These return `202 Accepted`, and you poll a read endpoint to see the result:

| Operation | Poll with |
|-----------|-----------|
| Node power action | `GET .../nodes/{nodeId}/power` |
| Add or update a storage view | `GET .../storage/views/{view}` until `state` is `active` |
| Apply an SSH key to a fleet | Log in to a node to confirm. There is no status endpoint. |
| Cluster validation run | `GET .../cluster-validation/{validationId}/details` |
| Kubernetes node drain | `GET .../kubernetes-v2/nodes/{nodeId}` |
| Audit log export | `GET /v1/audit-logs/export` until `status` is `ready` |

---

**Navigation**

- Parent: [Get started](/docs/platform/cluster/get-started.md)
