Where it runs
Nexentra runs on Kubernetes. The same definitions run a developer's laptop and production on AWS.
The layout
| Holds | |
|---|---|
| The control plane | The Control API, the console, sign-in, the secret store |
| A namespace per org | That org's Tenant API, runtime, AI gateway, policy engine and fetcher |
An org's namespace is created when the org is, from one definition that is the same for every org.
On AWS
| Service | |
|---|---|
| Compute | Kubernetes (EKS) |
| Database | Managed PostgreSQL |
| Files | S3, a bucket per org |
| Secrets | A dedicated secret store, each org under its own path |
Sign-in
People sign in through an identity provider over OpenID Connect. Their roles decide what they may set up, approve and see.
Releases
- A release is built once. The same images run in staging and in production.
- Each image is scanned, has a software bill of materials recorded, and is signed.
- Nothing is released by a merge or a tag. A release is published by a person, and promoting it to production is a second, separate action by an operator.
- Database changes are a step of the release, run before the new version serves.
Updating
Work already running is not lost by an update: a thread's state is kept as it goes, and it carries on from where it was.
Backups
The database and the file store are the cloud provider's managed services and are backed up by them. The secret store is snapshotted on a schedule, and its snapshot is kept apart from the key that opens it.
Hardening
- Every pod runs as a non-root user, with a read-only filesystem and no added capabilities.
- The network denies by default. Each pod is allowed exactly the services it needs.
- Every call inside the cluster is over TLS, and every service authenticates its caller.
- No credential is in an image, an environment variable or the repository.
Logs
Every service writes structured logs that carry the request, the thread and the org they belong to, so one piece of work can be followed across services.