B/AWS

The Coral Reef Observatory

Pastel specimen sheet

Training and production live in different accounts. A promoted model can suggest a label; authenticated reviewers decide whether the record becomes accepted evidence.

1 · Prompt

Authored brief · fictional system

Design a fictional private ML review platform with separate research and production accounts, versioned artifacts, human-approved model promotion, private inference access, a review service across two AZs, authenticated reviewers and a workflow-gated accepted catalogue. Distinguish deployment control from inference and approval requests.Read full promptClose full prompt
Design a fictional private ML review platform with separate research and production accounts, versioned artifacts, human-approved model promotion, private inference access, a review service across two AZs, authenticated reviewers and a workflow-gated accepted catalogue. Distinguish deployment control from inference and approval requests.

2 · Diagram

How does an experimental model become a controlled production tool?

Whole diagram fitted. For larger labels, turn off “Fit whole diagram” and pan, or open the full-size SVG.

The Coral Reef Observatory: Model training job, Versioned model artifacts, Approved model promotion, Private inference endpoint, Raw survey photographs, Survey review workflow, Review app tasks A, Review app tasks B, Researcher sign-in, Internal review ALB, Publish accepted result, Reviewed catalogue. Relationships and limits are explained below.
Download SVGOpen full drawing ↗Open native render ↗

Mermaid source

Download .mmd

Semantic content and gallery-only boundary/flow annotations stay in this file. The drawing treatment is applied after layout.

architecture-beta
%% Fictional private ML review. All predictions require human acceptance before publication.
%% @boundary research account
%% @boundary researchRegion region
%% @boundary production account
%% @boundary primary region
%% @boundary privateVpc vpc
%% @boundary azA az
%% @boundary azB az
%% @boundary accepted logical
group research(cloud)[Account: Research training]
group researchRegion(cloud)[Region: Primary] in research
group production(cloud)[Account: Survey production]
group primary(cloud)[Region: Primary] in production
group privateVpc(cloud)[VPC: Private review service] in primary
group azA(cloud)[AZ: A - private tasks] in privateVpc
group azB(cloud)[AZ: B - private tasks] in privateVpc
group accepted(cloud)[Logical: Accepted evidence] in primary
service training(aws:sagemaker)[Model training job] in researchRegion
service models(aws:s3)[Versioned model artifacts] in researchRegion
service promotion(aws:step-functions)[Approved model promotion] in researchRegion
service endpoint(aws:sagemaker)[Private inference endpoint] in primary
service raw(aws:s3)[Raw survey photographs] in primary
service workflow(aws:step-functions)[Survey review workflow] in primary
service reviewA(aws:fargate)[Review app tasks A] in azA
service reviewB(aws:fargate)[Review app tasks B] in azB
service auth(aws:cognito)[Researcher sign-in] in primary
service alb(aws:elb)[Internal review ALB] in privateVpc
service publish(aws:lambda)[Publish accepted result] in accepted
service records(aws:dynamodb)[Reviewed catalogue] in accepted
%% @edge training models request | Training role writes versioned model artifacts; accuracy is not established by this diagram.
training:R --> L:models
%% @edge models promotion control | Human-approved version is selected for promotion; S3 presence alone is not approval.
models:R --> L:promotion
%% @edge promotion endpoint control | Approved deployment assumes a scoped cross-account role and explicit artifact/key permissions.
promotion:B --> T:endpoint
%% @edge raw workflow event | Configured S3 EventBridge rule starts execution; EventBridge node is omitted in this focused deployment view.
raw:T --> L:workflow
%% @edge workflow endpoint request | Workflow invokes the custom-trained endpoint through its execution role; VPC endpoints constrain service access.
workflow:R --> B:endpoint
%% @edge auth alb identity | Browser or corporate network presents identity to the review application; no public ALB is implied.
auth:R --> L:alb
%% @edge alb reviewA request | Private staff access reaches review tasks in AZ A through authorized network connectivity.
alb:R --> L:reviewA
%% @edge alb reviewB request | Independent task placement in AZ B; user identity is verified by the application.
alb:B --> L:reviewB
%% @edge reviewA workflow control | Approved reviewer action uses an authenticated backend and task-token callback; token never becomes public authority.
reviewA:R --> T:workflow
%% @edge reviewB workflow control | Rejected results do not advance to publication; review policy and audit are required.
reviewB:R --> R:workflow
%% @edge workflow publish control | Only the successful human-approval branch invokes publication.
workflow:B --> L:publish
%% @edge publish records request | Writes accepted labels with provenance; predictions and raw objects remain separate.
publish:R --> L:records

Reproduce this collection from the Beautiflow repository:

bun scripts/build-boring-diagrams.ts

Measured evidence

Full evidence JSON
Native geometry
0 findings across 8 measured checks
Styled render integrity
0 element, plain-label, ID or reference findings
Authored annotations
8 boundaries · 12 relationship meanings
AWS configuration
Not validated

These checks do not establish visual quality, every decorative mark, browser glyph ink, edge-label boxes or deployed AWS correctness. Architecture has guarded transforms, not automatic polish.

Source SHA-256

503455c92c317a9ae5b073916647c1c2b6ad8369ae3e68e21de64199916fdf19
Read all 12 relationships

Line patterns distinguish requests, credentials, events, replication, configuration/control and recovery. Hover a styled connector for its meaning. Native layout preserves routes but does not include these gallery annotations.

Authored flow meanings, not deployed AWS configuration evidence
FromToKindMeaning
Model training jobVersioned model artifactsrequestTraining role writes versioned model artifacts; accuracy is not established by this diagram.
Versioned model artifactsApproved model promotioncontrolHuman-approved version is selected for promotion; S3 presence alone is not approval.
Approved model promotionPrivate inference endpointcontrolApproved deployment assumes a scoped cross-account role and explicit artifact/key permissions.
Raw survey photographsSurvey review workfloweventConfigured S3 EventBridge rule starts execution; EventBridge node is omitted in this focused deployment view.
Survey review workflowPrivate inference endpointrequestWorkflow invokes the custom-trained endpoint through its execution role; VPC endpoints constrain service access.
Researcher sign-inInternal review ALBidentityBrowser or corporate network presents identity to the review application; no public ALB is implied.
Internal review ALBReview app tasks ArequestPrivate staff access reaches review tasks in AZ A through authorized network connectivity.
Internal review ALBReview app tasks BrequestIndependent task placement in AZ B; user identity is verified by the application.
Review app tasks ASurvey review workflowcontrolApproved reviewer action uses an authenticated backend and task-token callback; token never becomes public authority.
Review app tasks BSurvey review workflowcontrolRejected results do not advance to publication; review policy and audit are required.
Survey review workflowPublish accepted resultcontrolOnly the successful human-approval branch invokes publication.
Publish accepted resultReviewed cataloguerequestWrites accepted labels with provenance; predictions and raw objects remain separate.
Architecture assumptions & omissions
  • Promotion assumes a reviewed artifact version, scoped cross-account deployment role and explicit bucket/key permissions. The diagram does not demonstrate model quality, safety or scientific validity.
  • SageMaker is shown as a regional managed service. Private inference access requires appropriate VPC endpoints and IAM/network configuration; training/inference infrastructure is not placed inside the review app’s AZ boxes.
  • The internal ALB is reachable only through assumed corporate/private connectivity. App-level identity verification and reviewer authorization remain necessary. Task-token callbacks go through an authenticated backend.
  • Only the successful approval branch publishes accepted records. Training data, predictions and accepted evidence have different retention/access policies. Training pipelines, endpoint HA settings, staff connectivity and complete audit infrastructure are omitted.