AWS Connected Vehicle Solution architecture
When AWS IoT receives a message, it authenticates and authorizes the message and the Rules Engine executes the appropriate rule on the message, which routes the message to the appropriate backend application.
An AWS IoT rule sends telematics data to an Amazon Kinesis Firehose delivery stream, which encrypts and streams raw vehicle telematics data to an Amazon S3 bucket. If an Amazon Kinesis Analytics application detects an anomaly, the record is sent to Amazon Kinesis Streams, which invokes an AWS Lambda function that parses the record, stores it in an Amazon DynamoDB table, and triggers an Amazon Simple Notification Service (Amazon SNS) notification to users.
The trip data AWS IoT rule invokes an AWS Lambda function that processes vehicle telematics data during a trip and stores it in a DynamoDB table.
The driver safety score AWS IoT rule detects the end of a trip and invokes an AWS Lambda function that processes aggregate trip data to generate a driver’s safety score, trigger an Amazon SNS notification to the driver, and add the score to the trip data table.
The diagnostic trouble code AWS IoT rule detects diagnostic trouble codes in the IoT topic and invokes Lambda functions that store the trouble code in a DynamoDB table, translate the trouble code into layman’s terms, and trigger an Amazon SNS notification to the user.
The location-based marketing AWS IoT rule detects the location of the vehicle and invokes a Lambda function that determines whether the vehicle is near a point of interest. When the vehicle is near a point of interest, the function logs the location in a DynamoDB table and triggers an Amazon SNS notification to the user that contains an advertisement.