Track 3 · fourth draft, for review
Fifteen use cases, four groups, one system.
The instructor's list of reports, analyses and models, grouped by the data each needs and where that data may live. One architecture serves all four groups, drawn three times at rising detail, with every AWS service named and priced. Cloud only: no salaries on this page.
- 15use cases from the instructor, in 4 groups
- 25AWS services, in two kinds of account
- $12.3kcloud a year for the whole region, typical; $4.9k to $48.2k
- $2.1kone-time cloud cost to set it up, typical
Four groups, by the data they need.
Grouped so that each group has one custody story. Three use what agencies already publish or total at home. The fourth needs card records, so it never leaves home.
1 · Data health
- Data quality report
- Anomaly detection
Runs Checks run at home before anything leaves and again on arrival; the live watch runs at the region.
Boxes All four boxes
Needs Counters against fare taps per trip, gaps in vehicle locations, the live feeds
2 · Service
- Service reliability
- Running and dwell time
- Schedule evaluation
- Arrival time prediction
- Bunching prediction
- Dwell time model
Runs At the region, mostly on the open feeds and their archive. Running times are totalled at home; the dwell model trains at home.
Boxes Offline and online supply
Needs Open live feeds, running times by segment, stop visits for dwell
3 · Crowding and ridership
- Crowding
- Ridership summaries
- Ridership and load forecast
Runs Counters are totalled per stop per 15 minutes at home; forecasts train at the region.
Boxes Offline and online demand
Needs Passenger counters, fullness in the open feed
4 · Rider journeys
- Origin-destination matrices
- Transfer analysis
- Passenger journey time
- Rider segmentation
Runs At home only, on card records. Only totals of ten or more cards cross; each agency counts its own transfers.
Boxes Offline demand
Needs Fare taps with the card, joined to stop visits at home
Level 1: the whole idea.
Nine boxes. Pick a group, then press Play to follow its data one step at a time.
Level 2: the functions.
Each box is one job, with the service that would do it. Parts a group does not use fade out; Play walks its path hop by hop.
Level 3: every service.
Full resolution, one group at a time. Every AWS service the group touches runs across the top, by account; every hop runs top to bottom, with what crosses.
One picture per group.
The same system, one group at a time, in a few words.
1 · Data health
Quality checks
every file, nightlyQuality score
one per feed per dayChecker
again on arrivalLive watch
gaps, odd readingsPlanners
quality reportControl rooms
alerts2 · Service
Open feed
already publicRunning times
totalled at homeFeed archive
every position seenModels
arrival, bunchingReports
on-time, headwaysControl rooms
predictions, alertsPlanners
reliability, schedules3 · Crowding and ridership
Counters
per stop visit15-min loads
no rider in itLoad totals
by stop and routeForecast
next hours and daysPlanners
crowding, ridershipThe public
fullness4 · Rider journeys
Fare taps
never leaveTrip chaining
origin-destination, segmentsTen-card check
small counts hiddenTotals
added across agenciesPlanners
journeys, transfersEvery service, and what it costs.
One row per service per job, tagged with the group that needs it. Per month, typical case.
| Tier | Service | What it does here | Group | Per month |
|---|---|---|---|---|
| The region | $939 | |||
| Edge | CloudFront | public positions, cached | Service | $103 |
| Edge | CloudFront | public fullness, cached | Crowding and ridership | $103 |
| Edge | AWS WAF | one web ACL in front of every call | Shared | $51 |
| Edge | AppSync | GraphQL | Shared | $24 |
| Edge | API Gateway (HTTP API) | REST and JSON | Shared | $20 |
| Edge | Data transfer out | API responses not served by the CDN | Shared | $9.00 |
| Edge | Route 53 | names for the APIs and feeds | Shared | $5.86 |
| Identity | Cognito | app and staff sign-in, tokens | Shared | $34 |
| Identity | Verified Permissions | a decision per uncached request | Shared | $15 |
| Ingest | Kinesis Data Streams | the live lane, three readers | Shared | $67 |
| Ingest | ECS on Fargate | the feed poller | Shared | $20 |
| Ingest | Data Firehose | live lane into the archive, as Parquet | Service | $6.70 |
| Ingest | Lambda | the checker, one call per snapshot | Shared | $2.75 |
| Ingest | S3 requests | the batch lane | Shared | $1.87 |
| Ingest | SQS | rejected records | Data health | $0.40 |
| Core | CloudTrail | data events into the audit log | Shared | $61 |
| Core | Aurora PostgreSQL Serverless v2 | registry: agreements, contract status, shared names | Shared | $56 |
| Core | Step Functions | fan-out of fare questions | Rider journeys | $0.12 |
| Core | EventBridge | alerts to control rooms | Data health | $0.10 |
| Core | EventBridge | questions to agencies' buses | Rider journeys | $0.00 |
| Store | DynamoDB | live state: positions and delays | Service | $71 |
| Store | DynamoDB | live state: fullness | Crowding and ridership | $31 |
| Store | S3 Object Lock | the audit log | Shared | $15 |
| Store | S3 | regional aggregates and quality scores | Shared | $7.50 |
| Store | S3 and Glacier IR | the feed archive | Service | $3.55 |
| Analyse | Glue ETL | nightly reliability, running and dwell time, schedule reports | Service | $16 |
| Analyse | Lambda | arrival predictions | Service | $13 |
| Analyse | Glue ETL | nightly crowding and ridership reports | Crowding and ridership | $7.92 |
| Analyse | Athena | ad hoc questions and the what-if | Shared | $5.50 |
| Analyse | Glue ETL | nightly quality report | Data health | $2.64 |
| Analyse | SageMaker training | arrival time and bunching risk | Service | $2.57 |
| Analyse | Lambda | live watch: feed gaps and odd readings | Data health | $1.88 |
| Analyse | Lambda | live watch: bunching | Service | $1.88 |
| Analyse | SageMaker training | load forecast | Crowding and ridership | $1.54 |
| Analyse | SageMaker training | anomaly baselines | Data health | $1.03 |
| Analyse | Lambda | load forecasts | Crowding and ridership | $0.08 |
| Operate | CloudWatch | metrics, logs, alarms | Shared | $140 |
| Operate | Staging environment | a smaller copy of the always-on parts, for testing | Shared | $29 |
| Operate | KMS | the region's keys | Shared | $6.00 |
| One full agency | $42 | |||
| Operate | CloudWatch | metrics, logs, alarms | Shared | $13 |
| Land | Glue Data Quality | nightly rules, counters against fare taps | Data health | $6.60 |
| Land | S3 | raw vendor files kept three years, and TIDES tables | Shared | $1.52 |
| Translate | Glue ETL | nightly: TIDES tables, running times, daily totals | Shared | $13 |
| Translate | KMS | the agency's keys | Shared | $4.60 |
| Translate | Lambda | 15-minute loads | Crowding and ridership | $0.12 |
| Answer | SageMaker Processing | trip chaining, origin-destination, rider segments | Rider journeys | $2.06 |
| Answer | Athena | fare questions answered at home | Rider journeys | $1.10 |
| Answer | SageMaker training | the dwell model, trained at home | Service | $0.51 |
| Answer | Step Functions | runs each allowed question | Rider journeys | $0.04 |
| Answer | EventBridge | the agency's question bus | Rider journeys | $0.00 |
| One thin agency | $1.16 | |||
| Land | S3 | the totals files | Shared | $0.03 |
| Translate | KMS | the agency's key | Shared | $1.00 |
| Translate | Glue Python shell | monthly totals file | Shared | $0.13 |
Typical case, USD, list prices for Canada (Central). Free in this design: Lake Formation, Glue Schema Registry, Glue Data Catalog under a million objects, IAM Identity Center, S3 Object Lock, S3 transfers between accounts in the same region, Cognito user sign-ins under 10,000 a month. A mobility provider pays nothing: the region polls its open feed.
The cloud bill.
Cloud only, at list prices. No salaries, support plan or tax.
Who pays. The region pays for the exchange: about $939 a month, $11.3k a year, typical. A full agency pays about $42 a month for what the draft adds to its own account. A thin agency pays about a dollar a month; a mobility provider pays nothing.
What drives it. Serving: the CDN, the live state and monitoring. Training and reports are small, because the models are simple and run weekly or nightly. The group that sounds hardest, rider journeys, is the cheapest: a few questions a month on one agency's own data.
Caveats. A design estimate, not a quote. The workload is the drafts' sizing footer and our sample month; the bands run the whole model low and high together. Free tiers are ignored, which overstates the low case. Every number comes from explorations/draft4-cost/model.py.
- Scenario
- 2 full agencies, 1 thin agency, 4 mobility providers; 2,500 vehicles
- Whole region, per year
- $4.9k low, $12.3k typical, $48.2k high
- Backfill a year of history at both full agencies
- $21
- Train the first models
- $10
- Run the region before go-live
- $1,878
- Run the agencies' parts before go-live
- $170
- First year, typical
- $14.4k with setup
What changed from the third draft.
Grey is the third draft. White is this one.
- 1
One use case, the digital twin
Fifteen use cases from the instructor, in four groups, on one system
- 2
Candidate services named loosely
Every AWS service named, in two kinds of account, with a role and a price
- 3
A public mirror for live views only
An archive of the public feeds, so arrival and bunching models train without asking agencies for anything. Deleted for an agency that leaves
- 4
One model demo
Each model placed where its data lives: the region trains on public feeds and totals; the dwell model and journey analysis run at home
- 5
Quality left implicit
Quality checked at home and on arrival, with a score per feed per day, built first
- 6
A yearly bill with salaries
A cloud-only bill per service, per group and per payer, plus the one-time setup
Where it stands.
Everything decided in the third draft still holds. What this draft adds is proposed.
Proposed
- The four groups and where each runs
- The feed archive, and deleting an agency's part when it leaves
- Every service choice on this page
- Hide fare counts under ten distinct cards
- Two full sharers and one thin one, as the costing scenario
Open
- Weather and event data for the arrival model: not yet sourced
- Joining one card's taps across agencies, for regional origin-destination
- Models trained on a party that has left
- Who confirms the 15-minute load aggregate with the instructors
The use cases are the instructor's, from 2 November 2026. Nothing here is built, and no agency has agreed to any of it.