Concepts
LakeSail is built from a small number of objects, arranged in layers. Knowing which layer you are looking at is most of what you need to navigate the console.
Workloads run on a cluster, against a catalog. Infrastructure nests inward: a cluster lives in a network, which lives in your cloud account.
Organization
Everything lives in an organization: its members, teams, roles, and every resource below. You will not think about it as a solo user. It matters the moment a second person joins, because roles are where "who can create a cluster in production?" gets answered.
Infrastructure
Compute runs in your AWS account, not LakeSail's, and it is split into three nested layers because each has a different lifecycle.
- A cloud account is a trust relationship: an IAM role in your AWS account that LakeSail can assume. One account can host many networks.
- A network is a VPC that LakeSail provisions in that account, in one region. It is its own layer so you can run several clusters, such as dev and prod, without rebuilding networking, and delete a cluster without tearing down the VPC. Each network has a workspace bucket for job files, notebook contents, and results.
- A cluster is Kubernetes compute where jobs, sessions, and notebooks run. The console calls the one it provisions in your network an external cluster: external to LakeSail, not to you. Compute is added per workload, so the cluster is not sized for the largest job you will ever run.
Two separate things control access to a cluster, and they answer different questions. Its access policy decides what can reach the cluster endpoint on the network: private-only (reachable only from inside the VPC) or public with a CIDR allowlist. Its teams decide who may run work on it. A job or notebook can only be assigned to a team the cluster includes. A compute profile has no team of its own, so it needs only a cluster that has teams, reached either through an organization role or through membership of one of them. Creating a cluster grants access to the creator's teams, so a solo user never meets this; it starts to matter once a second team exists. You can change both later without rebuilding the cluster. See Control which teams can use a cluster.
Where your data lives
A catalog tells the engine where your tables are. Connecting one copies nothing; the data stays in your storage. Catalogs are separate from clusters so that one cluster can read from several catalogs and several clusters can read the same data. The pairing is chosen per workload.
Workload profiles
A workload takes its settings from two kinds of workload profile, so you define them once and share them:
- A compute profile says where and how big: the cluster, the execution mode, and the driver and worker instances. Every workload picks one. It is the link between the workload layer and everything above it.
- A runtime profile says what the code needs: the engine image, libraries, environment variables and catalogs. Picking one is optional.
A job, notebook or session can also set values itself. These are its overrides. LakeSail combines the platform defaults, the compute profile, the runtime profile, a SQL job's saved query and the overrides into the workload's effective settings. View effective settings on a job, notebook or session page shows each value and where it comes from: Platform default, From compute profile, From runtime profile, From saved query, or Overridden.
An effective settings view shows a secret by its name, never its value. It shows a plain environment variable with its value, to everyone who can read the workload, so put anything sensitive in a managed secret.
Workloads
Three kinds of workload, all on the same clusters, reading the same catalogs, governed by the same roles. Each picks its workload profiles:
- Jobs are SQL or Python you define once and run many times, on a schedule or on demand. Each execution is a run with its own status, timing, and output. SQL jobs can reference a saved query so several jobs share one statement.
- Sessions are live Spark Connect endpoints for your own clients.
- Notebooks run in the console, backed by a session.
When settings change
LakeSail never changes the settings of a job run or a session by itself. Only something you do takes the workload profiles as they are now:
- A job run takes a settings snapshot of its effective settings when it is created, by Run Job, a schedule or a continuous job. For a SQL job with a saved query, that includes the query's SQL. A later edit of a workload profile or a saved query does not change that job run. Its automatic restarts and Retry Run reuse its settings snapshot, and its page shows it under View effective settings. See Settings of a run.
- A continuous job copies its settings snapshot when LakeSail replaces its ended job run. Publishing or activating a job version, or pausing and resuming the job, takes the current workload profiles. The new job run takes them too if no job run of the active job version has a settings snapshot. See Settings of a continuous job.
- A session takes a settings snapshot when it starts. Relaunch session lets you copy it or start fresh with the current workload profiles. A notebook start always takes the current workload profiles. See Settings of a session.
An edit of a workload profile reaches the next new job run or notebook start of each job and notebook that uses it. The workload profile's Used by tab lists them.