ThermoLedger
Proposed architecture · not yet deployed

The architecture we are building on AWS.

ThermoLedger is in development. This page describes our planned architecture. None of these services are running in production yet, and we will update this page as each component is deployed and tested.

Proposed ThermoLedger architecture on AWSSensors send telemetry to AWS IoT Core, which triggers AWS Lambda for validation, anomaly detection and risk scoring. Results go to Amazon DynamoDB and raw data to Amazon S3. Amazon Bedrock drafts summaries from calculated facts. Amazon API Gateway serves dashboards and external systems. Loggers and reefer unitsTelemetry, door and power events AWS IoT CoreDevice identity, MQTT ingestion, rules AWS LambdaValidate · detect anomalies · score Amazon BedrockDrafts summaries from facts Amazon DynamoDBShipments, scores, alerts, audit Amazon S3Raw telemetry, logger files, evidence DashboardsOperations and QA teams Amazon API GatewayAuthenticated REST API TMS / WMS / ERPShipment and order data calculated facts only
  1. Loggers and reefer units send readings and door/power events to AWS IoT Core.
  2. AWS Lambda validates readings, classifies anomalies and calculates the risk score.
  3. Scores, alerts and the audit trail are stored in Amazon DynamoDB; raw telemetry and evidence in Amazon S3.
  4. Amazon Bedrock drafts incident summaries from the calculated facts only.
  5. Amazon API Gateway serves dashboards and connects TMS, WMS and ERP systems.

Services

What each AWS service is for

ServicePlanned roleStatus
Amazon BedrockDrafts incident summaries and plain-language explanations from calculated results. Receives no raw authority over scores or readings.Proposed
AWS IoT CoreIngests telemetry from connected temperature loggers and reefer units, with per-device identity.Proposed
Amazon S3Stores raw telemetry history, uploaded logger files and incident evidence.Proposed
AWS LambdaRuns validation, anomaly classification, risk calculation, alerting and report workflows.Proposed
Amazon DynamoDBStores shipment status, risk scores, alerts and the audit trail.Proposed
Amazon API GatewayConnects customer dashboards and external systems to the backend through an authenticated API.Proposed

Status key: Deployed and tested means running and verified. Configured means set up but not yet tested. Proposed means part of the design, not yet set up. All services are currently proposed.

Design decisions

Choices that keep results explainable

Deterministic scoring

Excursion classification and risk scores run as code in AWS Lambda, with fixed, versioned rules. The same readings always produce the same score.

Language model with a narrow job

Amazon Bedrock is planned for summaries and explanations only. It receives calculated facts (times, durations, peaks, scores), not the authority to change them, and its drafts are reviewed by people.

Raw data kept as received

Telemetry and logger files are planned to be stored unaltered in Amazon S3, separate from derived results, so any score can be recalculated and checked.

Event-driven processing

Readings arriving through AWS IoT Core trigger processing as they land, so alerts reflect the latest data rather than a nightly batch.

See the scoring logic working

The demo runs the same scoring rules in your browser on fictional shipments. You can inject a reefer fault and watch the score change.