B/AWS

The Mixtape Archive

Two-colour music zine

Ingestion, processing, publication and recovery each have a different account. A successful transcode is still unpublished until the release gate approves it.

1 · Prompt

Authored brief · fictional system

Design a fictional cross-account original-music platform with artist identity, a tenant-scoped temporary upload capability, quarantine, controlled MediaConvert jobs, unpublished renditions, human rights/release approval, a private published origin with signed CloudFront playback, and versioned cross-region master replication.Read full promptClose full prompt
Design a fictional cross-account original-music platform with artist identity, a tenant-scoped temporary upload capability, quarantine, controlled MediaConvert jobs, unpublished renditions, human rights/release approval, a private published origin with signed CloudFront playback, and versioned cross-region master replication.

2 · Diagram

Who can upload a master, process it, and make a recording public?

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

The Mixtape Archive: Artist identity, Scoped upload broker, Quarantined masters, Authorized job workflow, MediaConvert jobs, Unpublished renditions, Rights and release gate, Approved playback files, Published catalogue, Signed CloudFront playback, Versioned master replica. 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 cross-account publishing. Masters and unpublished renditions are not public CDN origins.
%% @boundary ingestion account
%% @boundary ingestRegion region
%% @boundary processing account
%% @boundary processingRegion region
%% @boundary publishAccount account
%% @boundary publishRegion region
%% @boundary archiveAccount account
%% @boundary archiveRegion region
group ingestion(cloud)[Account: Artist ingestion]
group ingestRegion(cloud)[Region: Primary] in ingestion
group processing(cloud)[Account: Audio processing]
group processingRegion(cloud)[Region: Primary] in processing
group publishAccount(cloud)[Account: Publication]
group publishRegion(cloud)[Region: Primary] in publishAccount
group archiveAccount(cloud)[Account: Master archive]
group archiveRegion(cloud)[Region: Recovery] in archiveAccount
service auth(aws:cognito)[Artist identity] in ingestRegion
service broker(aws:lambda)[Scoped upload broker] in ingestRegion
service masters(aws:s3)[Quarantined masters] in ingestRegion
service submit(aws:step-functions)[Authorized job workflow] in processingRegion
service encode(lucide:audio-lines)[MediaConvert jobs] in processingRegion
service staged(aws:s3)[Unpublished renditions] in processingRegion
service approve(aws:lambda)[Rights and release gate] in publishRegion
service published(aws:s3)[Approved playback files] in publishRegion
service catalogue(aws:dynamodb)[Published catalogue] in publishRegion
service cdn(aws:cloudfront)[Signed CloudFront playback] in publishAccount
service archive(aws:s3)[Versioned master replica] in archiveRegion
%% @edge auth broker identity | Verified artist subject maps to an allowed tenant prefix; client-supplied object keys are not authority.
auth:R --> L:broker
%% @edge broker masters identity | Broker grants a short-lived upload capability scoped to a server-selected object key; browser performs the upload.
broker:R --> L:masters
%% @edge masters submit event | Configured S3 EventBridge forwarding starts the cross-account workflow under a constrained role.
masters:R --> L:submit
%% @edge submit encode control | Scoped role submits an asynchronous job with explicit cross-account source bucket and KMS permissions.
submit:R --> L:encode
%% @edge encode staged request | Writes derived renditions; a completed file alone is not a published recording.
encode:R --> L:staged
%% @edge staged approve control | Successful job event plus human rights approval unlocks release; this is workflow progression, not S3 granting rights.
staged:B --> T:approve
%% @edge approve published request | Release service copies approved assets through explicit cross-account read and destination write policies.
approve:L --> T:published
%% @edge approve catalogue request | Catalogue becomes visible only after successful approved asset publication; reconciliation handles partial failures.
approve:B --> L:catalogue
%% @edge cdn published request | Origin access control and source-distribution bucket policy permit private reads; requests use signed viewer URLs.
cdn:R --> B:published
%% @edge masters archive replication | Cross-account, cross-region S3 replication with versioning and KMS grants; deletion and retention policies are explicit configuration.
masters:B --> L:archive

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 · 10 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

2bcfb2407e0a03ff4998d429a5aaa4d03b713f79fff9a6fa299d7cd67e89952b
Read all 10 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
Artist identityScoped upload brokeridentityVerified artist subject maps to an allowed tenant prefix; client-supplied object keys are not authority.
Scoped upload brokerQuarantined mastersidentityBroker grants a short-lived upload capability scoped to a server-selected object key; browser performs the upload.
Quarantined mastersAuthorized job workfloweventConfigured S3 EventBridge forwarding starts the cross-account workflow under a constrained role.
Authorized job workflowMediaConvert jobscontrolScoped role submits an asynchronous job with explicit cross-account source bucket and KMS permissions.
MediaConvert jobsUnpublished renditionsrequestWrites derived renditions; a completed file alone is not a published recording.
Unpublished renditionsRights and release gatecontrolSuccessful job event plus human rights approval unlocks release; this is workflow progression, not S3 granting rights.
Rights and release gateApproved playback filesrequestRelease service copies approved assets through explicit cross-account read and destination write policies.
Rights and release gatePublished cataloguerequestCatalogue becomes visible only after successful approved asset publication; reconciliation handles partial failures.
Signed CloudFront playbackApproved playback filesrequestOrigin access control and source-distribution bucket policy permit private reads; requests use signed viewer URLs.
Quarantined mastersVersioned master replicareplicationCross-account, cross-region S3 replication with versioning and KMS grants; deletion and retention policies are explicit configuration.
Architecture assumptions & omissions
  • The upload broker derives allowed tenant/object keys from verified identity and issues bounded temporary capabilities. The browser uploads; the identity arrow does not mean Lambda streams the audio.
  • Cross-account workflow and MediaConvert roles need explicit source, destination and KMS policies. Job completion and human rights approval are separate preconditions; neither S3 presence nor successful encoding grants publication authority.
  • Publication copies approved objects and updates the catalogue with reconciliation for partial failures. CloudFront origin access control authorizes private origin reads; signed viewer URLs separately authorize listeners.
  • Master replication assumes source/destination versioning, replication roles, KMS grants and deliberate delete-marker/retention policies. It is asynchronous and is not a substitute for protected backups. No real music or rights claims are made.