Section 6 · production

Video storyboard

Shot-by-shot plan for the six demo clips D1 to D6. Every clip is a screen recording of the live system (dc2-live on AWS, real GitHub Actions runs, a real benchmark run); editing removes waiting time and labels every removal with the real elapsed time. Commands and pass conditions live in the demo plan; this page fixes what is filmed, in which order, and how it is cut.

Overview

Six clips, 460 s of footage, recorded in two sittings. Playback order is D1 to D6; with 20 s of hand-overs the section runs 480 s, the 8-minute allowance.

ClipWhat it provesFinal lengthSession
D1An owner uploads once in the browser and plays the processed video back.1:35 (95 s)A
D2The Publisher CLI publishes through the public API alone.1:05 (65 s)A
D3A job identifier gives a second owner or an anonymous caller nothing.0:40 (40 s)A
D4Fargate encoders go from 0 to the cap of 3 and back to 0; the Lambda short lane is bounded at 2.1:50 (110 s)A
D5A scripted test against the live API yields latency figures, reported against the targets.1:05 (65 s)A
D6A one-line change reaches production through pull-request CI, Main CI and CD with no manual deployment step.1:25 (85 s)B
Footage (hand-overs add 20 s, total 480 s)7:40 (460 s)

These are the lengths in the demo plan's time budget. Each clip's shot table below adds up to its length exactly.

Shot conventions

Each shot has a time range in the final cut, a screen, an action, a burned-in caption, one voice-over sentence and an edit note. Text added in editing is either a caption or a time label, never a fabricated number.

ElementWhereWhat it containsRule
CaptionBottom centre, white on a dark bar, at least 36 px tall at 1080 pWhat the shot shows, at most 8 wordsValues that come from the take (an elapsed time, a peak) are filled in from that take. Shown as [m:ss] or [n] below.
Time labelTop right, monospace×N · real elapsed 4m12s on a sped-up segment; wait trimmed · real elapsed 7m16s on a cutOn screen for the whole sped-up segment, or 3 s after a cut. The elapsed time is read from the raw take's timecode; for D6 it is cross-checked with the run times from gh run view.
Highlight boxAround one fieldA 4 px outline, no fillMarks the value the voice-over refers to; never hides anything.
Freeze-frameWhole frameThe last frame of a state change, heldUsed so a state that lasted under a second can be read; held at most 2 s.
Voice-overRecorded narration trackOne plain sentence per shot, describing what is happeningRecorded in editing, after the footage is cut, by the clip's narrator. A dash means no narration on that shot.

Zoom levels refer to the browser's page zoom. The terminal uses one size throughout (see screen setup).

D1Owner uploads in the browser and plays back · 95 s

One submission becomes a processed, playable video for its owner, and the result survives a page reload. Steps: 6 · D1.

Before recording starts. The session A warm-up is done and less than 5 minutes old. One browser window, clean profile, on the CloudFront site at 125 % zoom, signed in as owner A on the Upload page; developer tools closed. The upload file (a short MP4 with audio, inside the short-lane limits) sits in a folder the file picker opens to directly. Owner A's library holds no earlier demo jobs, so the new one is easy to find.

#TimeOn screenActionCaptionVoice-overEdit note
10:00–0:05Browser, Upload page, account label visible, 125 %HoldD1 · Upload once, play backOwner A is signed in to the live site.Sign-in happened before the take starts.
20:05–0:15Upload form with the file nameChoose the file, click submit onceShort MP4 with audio, submitted onceThe owner picks a short video and submits it once.File-picker navigation cut. Highlight box on the file name.
30:15–0:35Job badge on the pageWait; the badge moves through the states the page showsJob state as the page reports itThe source is stored and a job runs in the background, off the request path.Up to 20 s of real time kept. If processing ran longer, the rest is sped up with a time label.
40:35–0:40Badge reads doneNoneDone · submit to done [m:ss]The job has finished.Freeze-frame 1 s on the done badge, highlight box.
50:40–1:10Player, frames advancing; address bar croppedClick play, let it runOwner-only playback, picture and soundThe processed video plays for its owner, with picture and sound.First 3 s with the video's own sound, then narration over a lowered track. Crop removes any signed URL.
61:10–1:25Your videos pageOpen Your videos, reload the pageAfter reload: still in the libraryAfter a full reload the job is still listed, so it is stored, not held in the page.Keep the reload visibly in shot.
71:25–1:35Library row of the new jobHoldStored, processed later, played by its owner-Highlight box on the row.

D2Batch publish with the Publisher CLI · 65 s

A second application, using only the public API, publishes two files for the same owner. Commands: 6 · D2.

Before recording starts. Terminal at full height on the left half, cleared, with the variables from the private recording notes already set (not echoed). A browser window on the right half, signed in as owner A on Your videos, 110 %. The two-file folder exists; owner A's cookie jar for D2 is empty so the login is real.

#TimeOn screenActionCaptionVoice-overEdit note
10:00–0:04Terminal, empty promptHoldD2 · Publisher CLI, public API onlyThe Publisher is a separate command-line application that talks to the public API.-
20:04–0:12Terminal: login and its JSON resultRun login; type the password at the hidden promptLogin: password at a hidden promptIt signs in as owner A.Password typing cut. The cookie jar is never opened.
30:12–0:27Terminal: publish output, two files, each with a job idRun publish on the folderTwo files accepted, two jobsPublishing the folder uploads two files and creates one job for each.Highlight box on the two job ids.
40:27–0:47Terminal: status --wait until doneRun status on one job idPolling the job until it finishesThe CLI polls the job's status until processing is complete.Sped up with a time label; repeated poll lines removed.
50:47–1:02Browser, Your videos after reload, both files listedReloadSame owner's library in the browserThe browser shows the two new videos in owner A's library.Highlight box on the two rows.
61:02–1:05Same frameNoneNo service code, no database credentials-Freeze-frame.

D3A second owner is denied · 40 s

The same identifier works for its owner and fails for owner B and for an anonymous caller. Commands: 6 · D3.

Before recording starts. Recorded straight after D2, reusing D2's completed job. Same terminal, cleared, not under set -e. A second browser window, a separate profile signed in as owner B on Your videos at 110 %, kept behind the terminal. Owner B's cookie jar is empty.

#TimeOn screenActionCaptionVoice-overEdit note
10:00–0:08Terminal: owner A's status, ok: true, doneRun the first commandD3 · Owner A reads its own jobOwner A asks for its own job and gets it.Highlight box on ok.
20:08–0:12Terminal: owner B's login resultRun login, type passwordOwner B signs inA second owner, B, signs in.Password typing cut.
30:12–0:22Terminal: B's status and output, both errorsRun both commandsOwner B: not found, twiceWith the same identifier, owner B gets "not found" for both the status and the output.Highlight box on each error.
40:22–0:32Terminal: anonymous HTTP 401Run the curl lineNo session: HTTP 401Without a session the API answers 401.Highlight box on the code.
50:32–0:40Owner B's browser, Your videosBring the window forward, reloadOwner B's library: A's video absentOwner B's library does not list owner A's video.Last 2 s frozen.

D4Scalability: capacity follows work · 110 s

Two views from one capture: a Fargate burst of five padded jobs (70 s) and a Lambda burst of four short jobs (40 s). Layout, fixtures and commands: 6 · D4.

Before recording starts. D5 is finished and the baseline is confirmed: the ECS Running filter shows no tasks and both Processing queues read 0 available, 0 in flight. AWS console at 110 % in region ap-southeast-1, with the ECS Tasks tab on the left half and the SQS standard queue on the upper right, both on auto-refresh; account name cropped. Lower right: a terminal split into five panes with the publish commands typed but not run. A second set of tabs is ready for view 2: CloudWatch ConcurrentExecutions for the short encoder and the Lambda trigger page showing maximum concurrency 2. All nine cookie jars are logged in. The screen recording starts before the first pane runs and stops after the CloudWatch graph has been read, so both views come from one raw take.

#TimeOn screenActionCaptionVoice-overEdit note
View 1 · Fargate burst (0:00–1:10)
10:00–0:05ECS list empty, SQS 0 and 0, panes idleHoldD4 · No work, no encodersWith no work queued, no encoder task is running.Highlight box on the empty task list.
20:05–0:10Five panes accept jobs; SQS available risesRun the five panes within a few secondsFive padded clips, standard laneFive 24-second clips, padded above 64 MiB, are published at once.-
30:10–0:30Tasks appear, PROVISIONING then RUNNING, stopping at 3WaitOne task per job, at most 3The launcher starts one finite Fargate task per job, up to the cap of three.Sped up with a time label. Freeze-frame 1 s on the first RUNNING task.
40:30–0:40Three running; SQS shows jobs still availableWaitCap reached: the rest wait queuedWith three running, the remaining jobs wait in the queue.Highlight boxes on the task count and on Messages available.
50:40–0:55Tasks reach STOPPED; panes print doneWaitJobs finish, tasks stopThe waiting jobs are taken up, the jobs finish and the tasks stop.Sped up with a time label.
60:55–1:10Running filter empty; SQS 0 and 0; five doneHoldBack to zero · real elapsed [m:ss]When the work is done, no encoder task is left running.Cut from a longer hold; time label gives submit-to-empty time.
View 2 · Lambda burst (1:10–1:50)
71:10–1:15Lambda trigger page, maximum concurrency 2HoldShort lane: Lambda, at most 2Short clips go to a Lambda lane limited to two at a time.Highlight box on the setting.
81:15–1:25Terminal, four jobs accepted; ECS list stays emptyRun the four-job loopFour short jobs, no Fargate taskFour short clips are published together and no Fargate task starts.Cut between terminal and ECS list.
91:25–1:45CloudWatch graph over the burst intervalRefresh the graphObserved peak: [n] concurrent invocationsThe concurrency graph for the burst peaks at the observed value.Cut labelled "wait trimmed" for the metric delay. The narration names the number on the graph.
101:45–1:50Terminal, four doneNoneCapacity follows work in both lanes-Freeze-frame.

D5Performance: a scripted test with an HTML report · 65 s

A 60 s load of 10 virtual users through the public edge, then the report generated from that run's own files. Workload, commands and the report contents: 6 · D5.

Before recording starts. No other submissions in flight. Terminal cleared with the run variables set; the stage throttle is read on camera as part of shot 1. Browser at 110 % on a blank tab, ready for 127.0.0.1:8765/report.html. The report renderer exists and has been tried on an earlier run directory.

The renderer scripts/demo/perf_report.py is specified in the demo plan but not yet written. Shots 4 to 7 depend on it. D5 is recorded before D4, so its report has no D4 job data and omits the optional queue-wait section.

#TimeOn screenActionCaptionVoice-overEdit note
10:00–0:08Terminal: stage throttle, then the generator command startingRun both commandsD5 · 10 users, 60 s, public APIA scripted test sends ten virtual users to the live API for sixty seconds.Highlight box on the throttle value.
20:08–0:15Terminal while the run is in progressWaitRun in progressThe run takes about a hundred seconds of real time.Sped up with a time label.
30:15–0:23Terminal: the DC2-RESULT summary through jqNonePer route: count, errors, percentilesThe result line gives, per route, request count, errors and percentiles.The renderer and server commands after it are cut.
40:23–0:35Report: header and the targets-against-actuals tableScrollThis run's figures against the targetsThe report, built from this run's files, sets each figure against its target.Highlight box on each pass or miss mark.
50:35–0:50Report: per-route table, status-route histogramScrollStatus route latency distributionThe status route, which the browser polls, shows how its latency is spread.Per-route table may be shortened; the header and targets table may not.
60:50–1:00Report: requests per second with the stage limit lineScrollThroughput against the stage limitRequests per second are drawn against the stage's limit of twenty.-
71:00–1:05Report: provenance, sample count and verified hashScrollRecomputed from raw samples, hash verifiedEvery figure is recomputed from the raw samples, whose hash is checked.Freeze-frame on the last second.

D6Maintainability: a change through the pipeline into production · 85 s

The subtitle of the Your videos page is changed on a branch and followed through pull-request CI, merge, Main CI and CD until the live page shows it. About 24 minutes of real time becomes 85 s. The change, the branch target and the steps: 6 · D6.

Before recording starts. A clean checkout of Main in the terminal (left half, cleared), gh authenticated. GitHub at 110 % in a browser window on the right, signed in, on the repository's pull-request list. A second browser window, signed in as owner A on the live site's Your videos at 125 %, showing the current subtitle. The team has agreed the branch target and whether the change stays in production (see the demo plan). The screen recording runs for the whole chain as one raw take.

Where the waits go

StageReal duration (measured)Kept in the cutHow the wait is removed
Edit, commit, push, open PRabout 1 min12 sCuts between commands
Pull-request CI6.5 to 8.7 min15 sThree frames (pending, mid-run, all green) joined by cuts, one "wait trimmed" label
Mergeseconds5 sNone
Main CI6.2 to 11.8 min, median about 7.715 sSpeed-up of the job list with a time label
CD (starts about 2 s after Main CI)7.6 to 8.4 min (Deploy 4m13s, smoke test 2m08s in the latest run)20 sCut to each job's start and green end, one "wait trimmed" label per job
Production reloadseconds18 s (with the opening shot)None

Durations are from the runs listed in gh-durations; the labels in the clip use the take's own times.

Both databases pause after 300 s without connections auto-pause, and the two CI stages touch no AWS resource for about 15 minutes. CD's deploy step calls the Processing API, and on 22 Oct three CD runs failed there with 503 while the database woke. During Main CI, about 3 minutes before it ends, the warm-up calls are repeated off-camera every 2 minutes until the smoke test finishes. This is an operator action outside the pipeline: the CD workflow does not wake the databases itself.

#TimeOn screenActionCaptionVoice-overEdit note
10:00–0:03Live site, Your videos, current subtitle, 125 %HoldD6 · Before: the live subtitleThe live library page shows the current subtitle.Highlight box on the subtitle.
20:03–0:15Terminal: branch, the one-line diff, commit, push, gh pr createStep 2 of the planOne-line change, pushed, PR openedThe subtitle is edited, committed and pushed, and a pull request is opened.Cuts between commands; the diff stays on screen at least 3 s.
30:15–0:30GitHub PR page, checks listWaitPull-request checks: pending to greenThe pull request's checks run, and all of them pass.5 s pending, 4 s mid-run, 6 s all green; "wait trimmed" label with the real elapsed time.
40:30–0:35PR page, Merged badgeMergeMerged into MainWith every check green, the pull request is merged.-
50:35–0:50Actions: push CI run on Main, commit SHA visibleWaitMain CI: full verification, same commitThe push to Main runs full verification on the merged commit.Sped up with a time label; highlight box on the SHA.
60:50–1:10Actions: CD run, admission job, then Deploy and the upload-to-playback smoke testWaitCD: admit, deploy, smoke testDeployment starts by itself, confirms CI passed for this commit, deploys, and runs an upload-to-playback test.One "wait trimmed" label per job; highlight box on the same SHA.
71:10–1:25Live site, Your videos, new subtitleReloadLive · push to production [m]mAfter a reload the live page shows the new subtitle.Highlight box on the subtitle; last 2 s frozen. The caption carries the take's total elapsed time.

If a check goes red or CD fails, the take continues and the recovery is kept in the raw footage (6 · D6, if the take fails). The cut then shows the failure and the rerun, and shots 3 to 6 are shortened to stay at 85 s.

Recording sessions

Two sittings. Session A records D1, D2, D3, D5 and D4 under one database warm-up. Session B records D6, which changes production and is mostly waiting for GitHub runners.

Both Aurora clusters pause after 300 s without connections and need a warm-up before the next database call succeeds (6 · Warm-up). Session A keeps them awake by never leaving more than 5 minutes between takes; every take of D1 to D4 touches both databases. If a gap runs longer, the warm-up is repeated before the next take.

SessionOrderWall-clock timeEstimated AWS cost
0 · preparation (no recording)Fixtures, accounts, cookie jars, tools; screen setup; a test recording of 10 s to check legibility; team decisions on D6about 45 min, the day beforeAbout $0.05 to $0.20: registrations and a test upload keep the databases awake for 15 to 20 min
A · use cases, performance, scaleWarm-up → D1 → D2 → D3 → D5 → confirm zero tasks and empty queues → D4 view 1 → D4 view 2about 75 to 90 min, including one retake per clip$0.30 to $1.20 of database time (two clusters, 0.5 to 2 ACU each, for 90 min) plus under $0.05 of encodes and requests
B · pipelineClean checkout → start recording → D6 chain (warm-up during Main CI) → production reloadabout 40 min; another 25 min unrecorded if the change is revertedAbout $0.10 to $0.35: databases awake for about 25 min, one smoke encode, the deployment. A revert repeats it.

D5 comes before D4 so no scaling load runs during the latency test. D4 comes after D5 because it needs an empty cluster and empty queues. Session B can start directly after session A; it still needs its own warm-up during Main CI. Cost figures use the rates in demo-cost; they are estimates, not an invoice.

Take naming

Raw takes are named D<clip>-<session>-T<take>-<yyyymmdd-hhmm>.mov, for example D4-A-T2-20261024-1512.mov. They stay in the private recording folder outside Git, together with a one-line log per take: start time in UTC, job or run identifiers, outcome, and keep or discard. A discarded take is kept until the final clips are checked. Final clips are D1.mp4 to D6.mp4 in site/clips/.

Screen setup

ItemSetting
Display1920×1080 (an external 1080 p monitor, or the built-in display set to a scaled resolution closest to it). Recording at 30 fps.
Browser zoomLive site 125 %; GitHub, AWS console and the report 110 %. Bookmarks bar, extensions bar and other tabs hidden; one window per purpose; a clean profile per owner.
TerminalMonospace 20 pt, about 100 columns by 30 rows on half the screen, light background, short prompt without user, host or path; shell autosuggestions off.
HiddenNotifications (Do Not Disturb on), the Dock (auto-hide), desktop icons, the AWS account name and number, passwords, cookie jars, presigned URLs (address bar cropped during playback), environment values, .env files, the shell history, and any token from gh or the AWS CLI.
AudioNo system sound except D1's playback shot; microphone off during capture (narration is recorded later).

Editing and export

Cutting only removes waiting time; every removal is labelled with the real elapsed time, and every state change stays on screen long enough to read.

Tools

Any editor that can cut, change speed, freeze a frame and add text will do. On a Mac, screen recording ships with the system: QuickTime Player's New Screen Recording (or Shift-Command-5) records the full screen or a selected area. QuickTime can also trim a take. iMovie, if installed, covers the rest: split, speed change, freeze frame, titles, a voice-over track, and export. FFmpeg, already installed for the demo fixtures, can burn the time labels with its drawtext filter and convert the export if needed.

Order of work per clip

  1. Pick the take from the log and note the raw timecodes of every state change in the shot table.
  2. Cut to the shot table's ranges. Each removed or sped-up span gets its label: wait trimmed · real elapsed 7m16s or ×N · real elapsed 4m12s, where N is the real length divided by the kept length, rounded to a whole number.
  3. Add the captions and highlight boxes from the table.
  4. Record the voice-over lines against the cut, one take per line; lower the D1 playback sound under narration.
  5. Export 1920×1080, 30 fps, H.264 video, AAC audio, MP4 container, named D1.mp4 to D6.mp4, into site/clips/.
  6. Check each length with ffprobe (command in 6 · Recording preparation): each clip within 1 s of its row in the overview, total at most 460 s.

site/clips/ has a .gitignore that ignores everything but itself, and the publishing workflow excludes the folder, so the videos are never committed or published. The deck plays them from that folder on the presenting laptop; sharing them with the team needs a separate private copy.