How aws-solutions-library-samples/guidance-for-connected-mobility-on-aws works
This repository is an AWS connected-mobility reference accelerator for fleet operators and vehicle owners. Its principal workflow ingests vehicle telemetry through direct MQTT, FleetWise Edge, OEM connectors, or the Connected Services bridge; normalizes and streams it through processors into canonical storage; then serves fleet operations and analytics through web surfaces and APIs. Separate documented journeys cover campaign-driven collection, simulation, connected-services management, and remote diagnostics. The README supplies the end-to-end data paths; sampled code is limited, so relationships not explicitly documented there are omitted.
Main entry points: msk_stack.py MSK streams · iot_stack.py IoT Core · storage_stack.py Canonical vehicle storage · fwe_telemetry_stack.py FleetWise Edge
Components 22
Telemetry ingestion
- MQTT direct ingest
deployment/stacks/iot_stack.py - FleetWise Edge
deployment/stacks/fwe_telemetry_stack.py - OEM1 connector
services/connectors/oem1/connector.py - Connected Services bridge
deployment/stacks/connected_services_consumer_stack.py - IoT Core
deployment/stacks/iot_stack.py
Stream processing
- MSK streams
deployment/stacks/msk_stack.py - OEM telemetry transform
deployment/stacks/connector_stack.py - FWE telemetry processor
deployment/stacks/fwe_telemetry_stack.py - Flink processors
deployment/stacks/flink_stack.py - Campaign sync processor
deployment/stacks/flink_stack.py
Fleet products
- Fleet management UI
deployment/stacks/ui_stack.py - Connected Services portal
modules/connected_services_ui/src/App.tsx - Collection campaign UI
modules/connected_services_ui/src/components/screens/data-model/DataCollectionCampaignsView.tsx - Diagnosis workbench
modules/connected_services_ui/src/components/screens/software/DiagnosisWorkbenchView.tsx - Fleet intelligence API
services/fleet_intelligence/index.py
Commands and simulation
- Vehicle simulation
deployment/stacks/simulation_stack.py - Remote commands
deployment/stacks/commands_stack.py - Command response handler
services/commands/command_response_handler.py - Subscriptions and simulation API
deployment/stacks/subscriptions_stack.py
Platform services
- Canonical vehicle storage
deployment/stacks/storage_stack.py - Connected Services APIs
deployment/stacks/connected_services_ui_stack.py
Other components
- Vehicles and agents
Connections 27
- Vehicles and agents → MQTT direct ingest: publishes telemetry
README.md - Vehicles and agents → FleetWise Edge: sends CAN signals
README.md - FleetWise Edge → IoT Core: uploads telemetry
README.md - MQTT direct ingest → IoT Core: publishes MQTT
README.md - IoT Core → MSK streams: routes telemetry
README.md - FleetWise Edge → MSK streams: sends raw stream
README.md - OEM1 connector → MSK streams: emits OEM events
README.md - Connected Services bridge → Canonical vehicle storage: writes canonical data
README.md - Vehicle simulation → IoT Core: publishes simulated data
README.md - MSK streams → OEM telemetry transform: supplies OEM events
README.md - OEM telemetry transform → MSK streams: emits normalized events
README.md - MSK streams → FWE telemetry processor: supplies raw FWE data
README.md - FWE telemetry processor → MSK streams: emits preprocessed data
README.md - MSK streams → Flink processors: supplies telemetry stream
README.md - Flink processors → Canonical vehicle storage: persists processed data
README.md - Vehicles and agents → Campaign sync processor: checks in
README.md - Campaign sync processor → IoT Core: publishes collection schemes
README.md - Collection campaign UI → Connected Services APIs: uses portal APIs
- Connected Services portal → Connected Services APIs: uses portal APIs
- Connected Services portal → Subscriptions and simulation API: starts simulation
README.md - Subscriptions and simulation API → Vehicle simulation: dispatches simulation
README.md - Remote commands → Vehicles and agents: sends commands
README.md - Vehicles and agents → Command response handler: returns command response
services/commands/command_response_handler.py - Command response handler → Canonical vehicle storage: updates command and DTC records
services/commands/command_response_handler.py - Diagnosis workbench → Remote commands: requests diagnostics
- Fleet intelligence API → Canonical vehicle storage: reads fleet data
services/fleet_intelligence/index.py - Fleet management UI → Canonical vehicle storage: presents fleet data