Skip to Content
Architecture
Under the Hood

How the Engine Works

NeoSpaxe is the engine behind Dirtcel . It is split in two on purpose: the compiler and the orchestration run as a hosted service, and all of the actual work runs in the client’s own AWS account, inside their Dirtcel install.

Hosted by NeoSpaxe

  • License checks: each Dirtcel install activates its license once, and the license is bound to that AWS account.
  • The compiler: for each job, NeoSpaxe compiles the project’s dirtcel.json into the SST program that deploys it. The program is delivered for that job and never stored.
  • Orchestration: every build and deploy is a job. NeoSpaxe approves it and records each state change (queued, running, then succeeded, failed or cancelled) as an event that is never rewritten.
  • Usage metering: NeoSpaxe keeps the stack records and usage that Dirtcel’s pricing is based on.

In the Client’s AWS Account

  • The Dirtcel install: one EC2 server running the Dirtcel dashboard, the worker, its own Postgres database and Caddy, on the client’s own domain.
  • Builds: CodeBuild projects in the client’s account, started by the worker. A project can also bring artifacts it built itself.
  • Deploys and stacks: every preview and long-lived stack is deployed into the client’s account and runs there.
  • Source, secrets and logs: source code, secret values, environment values and full build logs stay in the account.

One Deploy, Step by Step

Client's AWS account (Dirtcel install) NeoSpaxe (hosted) -------------------------------------- ----------------- 1. The worker asks for a job ------> checks the license, approves the job 2. <------ compiles dirtcel.json into the SST program 3. CodeBuild builds the services 4. The worker deploys the stack with SST 5. The worker reports each step ------> records the job events and usage

What Never Reaches the Engine

NeoSpaxe holds metadata only: licenses, installs, jobs and their events, stack records and usage. For each job it keeps a hash of the config the job was requested with. It never receives source code, secret values, environment values or full build logs, and it never connects to the install: the worker only calls out over HTTPS.

Setting it up

There is nothing to install from this site. To use the engine, install Dirtcel in your AWS account by following the Dirtcel install guide .

Last updated on