Amazon Web Services (AWS) enables automotive manufacturers and suppliers to build serverless IoT applications that gather, process, analyze, and act on connected vehicle data, without having to manage any infrastructure. With AWS IoT, customers can connect vehicles and devices to the AWS Cloud securely, with low latency and with low overhead.  

To help customers more easily develop and deploy a wide range of innovative connected vehicle services, AWS offers a connected vehicle solution that provides secure vehicle connectivity to the AWS Cloud, and a framework that helps customers integrate AWS IoT and AWS Greengrass into the Automotive Grade Linux (AGL) software stack.

  • 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.

    1. 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.
    2. 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.
    3. 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.
    4. 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. 
    5. 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.
    6. 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.  
    Deploy Solution
    Implementation Guide
    Contact AWS Sales

    What you'll accomplish:

    Deploy the connected vehicle solution using AWS CloudFormation. The AWS CloudFormation template will automatically launch and configure the components necessary to implement secure, scalable, and flexible vehicle connectivity to the AWS Cloud.

    Implement a core framework for connected vehicle services that allows you to focus on developing new functionality rather than managing infrastructure. You can extend the solution’s functionality for a variety of connected vehicle use cases.

    What you'll need before starting:

    An AWS account: You will need an AWS account to begin provisioning resources. Sign up for AWS.

    Skill level: This solution is intended for IT infrastructure and DevOps professionals who have practical experience with connected vehicle services and the AWS Cloud.

    Q: Can I develop custom connected vehicle services?

    Yes. The connected vehicle solution is designed to provide a foundation for transformative automotive products that include vehicle and device connectivity, autonomous driving, electric powertrains, and shared mobility. You can use the solution as a reference architecture to develop custom connected vehicle solutions.  

    Q: What communication protocols does this solution support?

    You can use the standard communication protocols that AWS IoT currently supports: HTTP, MQTT, and WebSockets. Communication is secured using TLS.

    Q: Can I deploy the connected vehicle solution in any AWS Region?

    You can deploy this solution’s AWS CloudFormation template only in AWS Regions where Amazon Cognito, AWS IoT, Amazon Kinesis Firehose, Amazon Kinesis Analytics, and Amazon Kinesis Streams are available (see AWS service offerings by region).

     

  • 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.

    1. When the telemetry application starts, the framework loads dependent services, such as CAN bus and AWS IoT binding services; performs the necessary security checks; and establishes the connections for these services to interact with the telemetry application via the WebSocket or D-Bus protocols.
    2. The AWS IoT binding service uses the Greengrass API to discover the Greengrass Core endpoint and securely connect to it. The binding service also exposes the publish and subscribe APIs used by the telemetry application to send the data to and from the AWS Cloud via the Greengrass Core using MQTT topics.
    3. The CAN bus binding service exposes the subscribe APIs that the telemetry application invokes to consume the telemetry data.
    4. The Greengrass Core manages a secure connection between the edge device and AWS IoT using certificate-based mutual TLS authentication, providing a secure message broker. The Greengrass Core also allows you to run local AWS Lambda functions on AGL.
    5. The framework provides isolated security context for all the services and processes running on the AGL software stack.

    What you'll accomplish:

    Build an AGL image for the AWS IoT framework using the steps outlined in the GitHub repository. The framework includes all the components necessary to integrate AWS IoT and Greengrass into the AGL software stack.

    Securely publish and receive messages such as vehicle telemetry between your applications running AGL and the AWS Cloud via AWS Greengrass Core using APIs that conform to the AGL security framework.

    What you'll need before starting:

    An AWS account: You will need an AWS account to begin provisioning resources. Sign up for AWS.

    Skill level: This solution is intended for automotive software developers who have practical experience with AGL and the AWS Cloud.

    Q: What is Automotive Grade Linux?

    Automotive Grade Linux (AGL) is an open source project to accelerate the development and adoption of a fully open software stack for connected vehicles. AGL is building a Linux-based, open software platform for automotive applications that can serve as the de facto industry standard.

    Q: Do I need to use the AWS IoT Framework for AGL to use the AWS Connected Vehicle solution?

    No. The connected vehicle solution does not require you to use AGL in your connected vehicles.

    Q: How is communication between the framework and AWS IoT authenticated?

    The AWS IoT Framework for AGL takes advantage of mutual authentication between the framework and AWS IoT to ensure that data is never exchanged between the framework and AWS IoT without proven identity. The framework requires device credentials (X.509 certificates) to access AWS IoT. AWS IoT uses certificate-based mutual TLS authentication to identify AGL clients.

    You are responsible for protecting your device credentials and managing those credentials for the framework and associated policies in AWS IoT.

    Q: How is communication between the framework and AWS IoT secured?

    The framework relies on MQTT for messaging between AGL and AWS IoT. All communication must be encrypted with TLS, which ensures the confidentiality of the MQTT protocol and encrypts the connection between AGL and AWS IoT. AWS cloud security mechanisms protect data as it moves between the AWS IoT and devices and other AWS services. For more information, see AWS Greengrass Security.

    Q: How is the AWS IoT binding service for AGL implemented?

    The AWS IoT binding service is built using the AGL Application Framework which provides components for running the binding service in an isolated, secure environment, and for managing the application life cycle. The Application Framework exposes the service API to publish or subscribe to MQTT topics on AWS Greengrass Core. Other AGL applications and services can invoke the binding service API using supported protocols such as WebSockets or D-Bus. For more information, see AGL framework overview.

    The binding service also uses the AWS IoT Device SDK for C++ to securely communicate with the Greengrass Core using MQTT. For more information, see AWS IoT Device SDK.

    Q: How much will it cost to use the framework?

    You are responsible for the cost of the AWS services used while running this framework. The total cost for running this framework depends the number of AWS Greengrass Core devices that interact with the AWS Cloud. Note that you may incur additional charges if your applications utilize other AWS services or transfer data.

Need more resources to get started with AWS? Visit the Getting Started Resource Center to find tutorials, projects and videos to get started with AWS.

Visit the AWS for Automotive website to learn how AWS is helping automotive customers deliver innovative digital experiences across the value chain.

Tell us what you think