Skip to content

Technical reference

The PlatformBox reference architecture.

A standardized path from Git to production — built on your existing AWS and Kubernetes stack.

The path from developer to production

  1. Developer
  2. PlatformBox Golden Path
  3. Source / CI/CD
  4. Infrastructure + Policy
  5. AWS / Kubernetes
  6. Production

The components

What each layer does — and who owns it.

Terraform

Infrastructure lifecycle

All infrastructure is defined as versioned Terraform modules, reviewed and applied through CI. Changes are auditable and reversible.

Kubernetes / EKS

Application runtime

Workloads run on EKS with least-privilege RBAC, per-team namespaces, autoscaling, and a monitoring baseline.

GitLab

Source and workflow

Repositories, merge requests, and approvals stay in GitLab. PlatformBox wires them into the golden path.

CI/CD

Application delivery

A standard pipeline builds, scans (Trivy), and promotes each service from commit to production — no per-team pipeline maintenance.

GitOps

Declared desired state

The cluster reconciles to the state declared in Git (ArgoCD, cluster-level proven per ADR-016). Deployments are pull-based, reviewable, and auditable.

IAM

Least-privilege access

Scoped roles for humans and workloads. Keyless CI-to-AWS auth via OIDC — no static credentials. Separate IAM roles per environment tier (dev, qa/uat, preview, prod) — environment separation by default, enforced by AWS STS.

Security

Built into the path

Trivy scanning in CI, GuardDuty threat detection, encrypted storage and state, and automated checks run on every change.

Observability

See what's running

Prometheus + Grafana — metrics and dashboards, live-proven across both services and all three tiers (ADR-018).

Platform ownership

You own it all

Everything lives in your accounts and repositories. No proprietary runtime, no lock-in.

Verified vs. planned

What's actually built today.

Drawn from applied Terraform state, not the roadmap. Solid green marks what's built and checked today; dashed blue is verified but on-demand; dashed grey is target state we haven't built yet. Every verified claim traces to a decision record in the reference implementation — pre-rendered from it, not a snapshot.

Golden path — automated flow
Production-proven
A gate blocking a bad build
Provisioning / control
Fig. 1Golden Path — Developer FlowHover or focus a node · Enter to pin
Golden Path — Developer Flow

A developer's commit flows through the pipeline and the security gate to preview and the dev, QA and UAT tiers — and a bad build is blocked at the gate, never promoted.

A commit enters the pipeline and is built and scanned. A passing build goes through the security gate to preview, dev, QA and UAT, each with a human approval, and reaches production as the same image digest. A failing build is rejected at the security gate and blocked.
passedapprovedrejectedCommitgit pushPipelinebuild · scanSecurity gateTrivyPreviewephemeralDevQAUATapproveProductionsame digestObservePrometheusBlockedbad build

A developer's commit flows through the pipeline and the security gate to preview and the dev, QA and UAT tiers — and a bad build is blocked at the gate, never promoted.

Fig. 2Platform InfrastructureHover or focus a node · Enter to pin
Platform Infrastructure

Six platform layers on AWS, all declared as Terraform modules and composed by per-environment stacks.

Network provides VPC, subnets and a NAT instance. Compute provides EKS on Fargate with apply-up and destroy-down. Delivery provides CI/CD, a self-hosted runner and a container registry. Security provides GuardDuty, KMS and OIDC. Observability is planned. All six layers are declared in Terraform modules.
runs ondeclared inNetworkVPC · subnets · NATComputeEKS Fargate · apply-up/destroy-downDeliveryCI/CD · self-hosted runner · registrySecurityGuardDuty · KMS · OIDCObservabilityplannedTerraform modulesprovisions everything

Six platform layers on AWS, all declared as Terraform modules and composed by per-environment stacks.

Fig. 3Security & Auth FlowHover or focus a node · Enter to pin
Security & Auth Flow

Humans sign in through IAM Identity Center; CI reaches AWS keyless through OIDC, assuming scoped per-environment roles — no static credentials.

Engineers sign in to the AWS account through IAM Identity Center with single sign-on and multi-factor authentication. The CI pipeline authenticates through OIDC federation and assumes scoped IAM roles for dev, QA, UAT and preview, with no stored credential.
IAM roles — per environmentSSOOIDC trustno static credsHuman accessengineersIAM Identity CenterSSO · MFACI pipelineGitLabOIDC federationkeylessDevQAUATPreview

Humans sign in through IAM Identity Center; CI reaches AWS keyless through OIDC, assuming scoped per-environment roles — no static credentials.

Fig. 4Promotion Sequence — Dev Push to ReleaseHover or focus a node · Enter to pin
Promotion Sequence — Dev Push to Release

A feature branch deploys to preview; merging to main builds once and promotes the same digest through dev, QA and UAT — with a human approver gating UAT.

A feature-branch push deploys to a preview environment that is torn down on merge. Merging to main builds the image once and promotes the same digest through dev, QA and UAT. A human approver gates UAT; without approval the promotion is blocked. Production receives the same approved digest.
deploybuild oncepromoteapprovedno approverFeature branch pushMRPreviewauto-teardownMerge to mainbuild onceOne digestpromoted, not rebuiltDevQAUAThuman approveProductionsame digestBlockedno approver

A feature branch deploys to preview; merging to main builds once and promotes the same digest through dev, QA and UAT — with a human approver gating UAT.

Source: architecture.md — drawn inline from the reference implementation, not a pre-rendered snapshot.

Inspect the Implementation

Real code. Real infrastructure.

Click through the actual Terraform, YAML, and pipeline manifests that the reference implementation applies on Day 14. Every snippet comes from a working, inspected repository.

The proof surface

Each capability claim links to the evidence behind it.

The 19 evidence keys below are the delivery standard's proof contract — named in the standard, produced on a fixed working day, and each resolved to a public file in the reference implementation. Click any key to read the actual artifact, not a summary of it.

Hash-linked & verifiable

Every attestation is chained by hash to the one before it, in the control plane at /admin. A tampered record breaks the chain and is detectable, not silent.

Public-safe

Real customer evidence is tenant-scoped and never exposed. The files below come from the reference engagement only — no engagement ids, no proven_with data.

Customer Zero

PlatformBox is deliberately its own first customer. The proof you can read is our own reference implementation, built and verified in public.

Derived

Generated from tool output — a terraform plan, a CI log, a scan report. Anyone can re-run the command and see the same result.

Attested

Recorded in the audit chain — a human-signed fact about the engagement, linked by hash to what came before it.

Week 1 — Foundation

e-scope-statementattestedDOCUMENT

Confirmed scope statement

The scope statement as acknowledged by the customer.

Week 1 · Day 1Read evidence
e-assessmentattestedDOCUMENT

Assessment findings

What was found, and what it implies for scope. Customer-specific — attested inside the engagement, not published.

Week 1 · Day 2Customer-scoped
e-access-verifiedderivedCONFIGURATION

Access verification output

Recorded output of the access verification runbook.

Week 1 · Day 3Read evidence
e-architectureattestedDOCUMENT

Architecture summary and diagram

The agreed architecture as presented at the review.

Week 1 · Day 4Read evidence
e-iac-planderivedIAC_PLAN

Infrastructure plan showing zero drift

Plan output against live infrastructure.

Proves: AWS foundation, Infrastructure as Code (Terraform), Networking

Week 1 · Day 5Read evidence
e-cluster-proofderivedDEPLOYMENT

Cluster reachable

Authenticated API call against the provisioned cluster.

Proves: AWS foundation, Kubernetes / EKS

Week 1 · Day 5Read evidence

Week 2 — Delivery

e-oidc-proofderivedCONFIGURATION

OIDC trust verification

Proof that CI assumed a role with no stored credential.

Proves: IAM & least privilege

Week 2 · Day 6Read evidence
e-scan-blockingderivedSECURITY_SCAN

Security scan blocking a build

A pipeline that failed on a deliberately introduced vulnerability.

Proves: Security scanning

Week 2 · Day 6Read evidence
e-pipeline-greenderivedCI_RUN

First green pipeline

Pipeline URL and result.

Proves: Container registry, CI/CD

Week 2 · Day 7Read evidence
e-tiersderivedDEPLOYMENT

Tiers provisioned and reachable

Per-tier deployment record.

Proves: Preview environments

Week 2 · Day 8Read evidence
e-gate-blocksderivedCONFIGURATION

Gated tier refused an unapproved promotion

Evidence that the gate is enforcing, not decorative.

Proves: Production promotion & controls

Week 2 · Day 8Read evidence
e-generated-servicederivedCI_RUN

Generated service pipeline

The pipeline for a service produced by the generator.

Proves: Golden Path (build -> production), Self-service (service creation)

Week 2 · Day 9Read evidence
e-promotion-digestderivedDEPLOYMENT

Identical digest across tiers

Digest recorded per tier, proving promotion without rebuild.

Proves: Golden Path (build -> production), GitOps / declarative deployment, Production promotion & controls

Week 2 · Day 9Read evidence
e-rollbackderivedROLLBACK

Rollback rehearsal

Rollback executed and the prior digest confirmed restored.

Proves: Golden Path (build -> production)

Week 2 · Day 9Read evidence
e-scrape-targetsderivedMONITORING

Scrape targets up across all tiers

Target list with tier and cluster labels.

Proves: Metrics

Week 2 · Day 10Read evidence

Week 3 — Production & handover

e-costattestedCOST

Cost breakdown

Per-tier cost with assumptions stated.

Proves: Cost control (FinOps)

Week 3 · Day 11Read evidence
e-reproductionderivedTEST_OUTPUT

Reproduction executed

Output of rebuilding from the written procedure.

Week 3 · Day 12Read evidence
e-runbooksattestedDOCUMENT

Operational runbooks

The runbook set as delivered.

Week 3 · Day 12Read evidence
e-handover-packderivedDOCUMENT

Handover pack

The generated pack as delivered.

Proves: Documentation & handover

Week 3 · Day 14Read evidence

Browse the full evidence tree in the reference implementation:docs/evidence Delivery standard v1.2.0 — 19 keys across 14 working days.

Start with the Platform Readiness Assessment.

€2,500 · Mandatory first step · Independent recommendation before implementation. Talk to Roberto first if you have questions.