Skip to content

Platform boundaries

Documentation home

Account layout and deployment boundaries. Start with the architecture overview; use this page for the detailed topology.

System overview

Konductor runs in a dedicated platform account and provisions domain resources into domain accounts via cross-account IAM roles. All control-plane state lives in the platform account; domain accounts only contain the resources their domains need.

graph TB
    subgraph platform["Platform Account"]
        api["API Gateway<br/>(OAuth + IAM surfaces)"]
        cognito["Cognito User Pool<br/>(platform-admin / auditor)"]
        authorizer["OAuth REQUEST<br/>Authorizer Lambda"]
        sqs["SQS Command Queue"]
        handler["Command Handler<br/>Lambda"]
        listfn["List Domains<br/>Lambda"]
        describefn["Describe Domain<br/>Lambda"]
        decidefn["Decide Registration<br/>Lambda"]
        notifyfn["Approval Notification<br/>Lambda"]
        rejectfn["Rejection Notification<br/>Lambda"]
        ddb[("DynamoDB<br/>Domains Table")]
        konductorbus["Konductor Event Bus"]
        approval["Approval Workflow<br/>(Step Functions)"]
        provisioning["Provisioning Workflow<br/>(Step Functions)"]
        ses["SES<br/>Notifications"]
        ssm["SSM Parameters<br/>/namespace/*"]
        ram["RAM Resource Share"]
        domainbus["Domain Bus<br/>(per domain)"]
        registry["Schema Registry<br/>(per domain)"]
        subdlq["Subscription DLQ<br/>(per domain)"]
        dashboard["CloudWatch Dashboard<br/>(per domain)"]
    end

    subgraph app["Domain Account"]
        trustrole["Konductor Trust Role"]
        appbus["Domain Bus<br/>(per domain)"]
        intdlq["Integration DLQ<br/>(per domain)"]
    end

    api -->|"domain writes (POST/PUT)"| sqs
    api -->|"reads (GET)"| listfn
    api -->|"reads (GET)"| describefn
    api -->|"sync (POST)"| decidefn
    sqs --> handler
    handler --> ddb
    handler --> konductorbus
    handler --> approval
    decidefn -->|"SendTaskSuccess/Failure"| approval
    approval -->|"DomainRegistrationApproved"| konductorbus
    approval --> notifyfn
    konductorbus -->|"DomainRegistrationRejected"| rejectfn
    konductorbus -->|"DomainRegistrationApproved"| provisioning
    notifyfn --> ses
    rejectfn --> ses
    provisioning -->|"creates resources"| domainbus
    provisioning -->|"creates resources"| registry
    provisioning -->|"creates resources"| subdlq
    provisioning -->|"creates resources"| dashboard
    provisioning -->|"STS AssumeRole"| trustrole
    trustrole -->|"creates resources"| appbus
    trustrole -->|"creates resources"| intdlq
    provisioning --> ssm
    ssm --> ram
    listfn --> ddb
    describefn --> ddb

Key design decisions

The platform uses the following design boundaries:

  • Three-stack deployment model: notifications-stack.yaml (optional, SES identities), konductor-core-stack.yaml (core platform resources, with conditional notification resources), and trust-stack.yaml (per domain account). A fourth, separately authorized package—guardrail-stack.yaml (organization-admin SCPs)—exists outside the ordinary deployment path; see Organization Guardrails.
  • Konductor is a singleton per org—one deployment of konductor-core-stack.yaml per AWS organization. Most platform resources use the fixed konductor-* naming (no org or env segment). The domain-account trust role ({org}-konductor-trust-role, org-scoped for cross-org uniqueness), the Cognito resources, the public system-events bus, and the web console resources carry the org prefix instead; see Resources and naming. Domain resources use {org}-{env}-{domain}-* and are provisioned per environment from the platform-configured Environments list.
  • Small, focused Lambda functions—one per API operation or closely related route group (for example, binding administration), with least-privilege IAM
  • Reads are synchronous; domain and subscription commands are queued. Reads run API Gateway -> Lambda -> DynamoDB. Domain registration and update and subscription commands run API Gateway -> SQS -> Lambda and answer 202. Publishing validates the event synchronously in an admission Lambda before it enqueues delivery. Other writes, such as approval decisions and binding administration, are synchronous Lambda calls. See API layer.
  • Step Functions for workflows—JSONata states with AWS SDK integrations for most AWS API calls, plus Lambda tasks for notifications, the approval transaction, system-topic management, and per-environment schema and subscription steps

For the rationale, see the Decision log.