Skip to main content

The provisioning platform

Archenstack is two things that fit together and can be used apart.

The libraries are an access-control matrix you embed in your own application: you bring the storage, the HTTP and the auth, and they answer what may this principal do. Everything under Concepts, Backend libraries and Frontend library is about those.

The platform is the other half: it takes a paid signup and produces a running instance of your product, for one customer, on a machine it manages — with that tenant's own OIDC client, its own first administrator bound in its own matrix, its own secrets, its own network, its own name and certificate, and its own backups. This section is about that.

You can adopt either without the other. An application that embeds the libraries and is deployed by your own pipeline never meets the platform. A product sold through the platform gets the libraries with it, because a tenant's first administrator has to be bound in a matrix for their permissions to resolve on the first login.

What it is made of​

PartWhat it owns
Orchestrator (the control plane)What is sold and to whom: products, plans, hosts, placements, the provisioning ledger, every tenant's backups, and the comparison between what should be running and what is
Agent (one per machine)That machine. It pulls a product image, reads the instance definition out of it, renders the environment, brings the stack up, publishes the route, and refuses a stack that would take more of the machine than it was given
The tenant edge (one, in front of the pool)Every tenant hostname, with a wildcard certificate per product apex. Its whole configuration is rendered by the control plane from its own placements — nothing edits it by hand
That machine's edge (one per tenant machine)The second hop. The agent writes a site block per tenant into it and reloads it, and it routes by the Host header the pool's edge forwarded, to that tenant's containers
The service edge (on machines running the platform's own services)TLS for the fixed names such a machine answers on — the control plane's API, the documentation site, the identity provider. Each of those services carries its own site block inside its image
Identity providerUsers, org membership and OAuth clients — unchanged by any of this, and never called by the libraries

The control plane never reaches into a machine, and a machine never reaches into another. Every instruction travels as a signed HTTPS request to that machine's agent, over a certificate pinned per machine: an agent answers on a private address, which has no name a public authority issues for.

What a tenant gets​

One provision produces all of this, as one unit that either finishes or leaves nothing serving:

  • an org at the identity provider with its first administrator as a member, so that person's token can carry an org claim;
  • a matrix in Archenstack with that administrator bound, so their permissions resolve on the first login;
  • an OIDC client registered for the instance, which is also how the instance authenticates when it asks the control plane for anything about itself;
  • its own secrets, generated per tenant and delivered wrapped, so the machine's disk yields no usable key;
  • a network of its own, so no tenant can reach another's containers through Docker's DNS;
  • a name under its product's apex, routed by the tenant edge, with a certificate it never has to obtain itself;
  • ceilings from its plan, enforced by the machine rather than promised.

Where to go next​

PageAnswers
Tenancy & placementWhat a plan buys, why production is one tenant per machine, and how a machine is chosen
Provisioning & self-serviceWhat happens between a payment and a working tenant, across all three systems
Packaging a productWhat your image must carry, and what your application should offer its customer
The tenant lifecycleUpdate, move, serve from a second machine, close — and what each guarantees if it is interrupted
Data & backupsWhose decision a copy is, what a copy contains, and how one is put back
If you are not using the platform

A standalone deployment has no orchestrator, no agent and no identity provider: you own authentication, the first administrator is established at boot, and the libraries' own management API covers the rest. Nothing in this section is required to use Archenstack — see Deployment modes.