AWS Connected Vehicle Solution
The connected vehicle solution includes capabilities for local computing within vehicles, sophisticated event rules, and data processing and storage. The solution is designed to provide a framework for connected vehicle services, allowing you to focus on extending the solution's functionality rather than managing the underlying infrastructure operations. You can build upon this framework to address a variety of use cases such as voice interaction, navigation and other location-based services, remote vehicle diagnostics and health monitoring, predictive analytics and required maintenance alerts, media streaming services, vehicle safety and security services, head unit applications, and mobile applications.
The diagram below presents the components and functionality you can build using the solution implementation guide and accompanying AWS CloudFormation template.
https://d1.awsstatic.com/Solutions/Solutions%20Category%20Template%20Draft/Solution%20Architecture%20Diagrams/connected-vehicle-solution-architecture.afeab7409a1c25454838dbfcd238e70799ef8f08.png
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 Data Firehose delivery stream, which encrypts and streams raw vehicle telematics data to an Amazon S3 bucket. If an Amazon Kinesis Data Analytics application detects an anomaly, the record is sent to Amazon Kinesis Data 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. AWS IoT Framework for AGL AWS IoT Framework for Automotive Grade Linux (AGL) helps you integrate AWS IoT and AWS Greengrass into the AGL software stack. The framework consists of AWS Greengrass Core and an AWS IoT binding service built using the AGL Application Framework and the AWS IoT Device SDK. The diagram below shows how an application running on AGL can send telemetry data to AWS IoT using this framework. https://d1.awsstatic.com/aws-answers/answers-images/iot-framework-agl-architecture.7c483210cb13babd706ef81e26f059dbdc44cab7.png