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.
- Loggers and reefer units send readings and door/power events to AWS IoT Core.
- AWS Lambda validates readings, classifies anomalies and calculates the risk score.
- Scores, alerts and the audit trail are stored in Amazon DynamoDB; raw telemetry and evidence in Amazon S3.
- Amazon Bedrock drafts incident summaries from the calculated facts only.
- Amazon API Gateway serves dashboards and connects TMS, WMS and ERP systems.
Services
What each AWS service is for
| Service | Planned role | Status |
|---|---|---|
| Amazon Bedrock | Drafts incident summaries and plain-language explanations from calculated results. Receives no raw authority over scores or readings. | Proposed |
| AWS IoT Core | Ingests telemetry from connected temperature loggers and reefer units, with per-device identity. | Proposed |
| Amazon S3 | Stores raw telemetry history, uploaded logger files and incident evidence. | Proposed |
| AWS Lambda | Runs validation, anomaly classification, risk calculation, alerting and report workflows. | Proposed |
| Amazon DynamoDB | Stores shipment status, risk scores, alerts and the audit trail. | Proposed |
| Amazon API Gateway | Connects 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.