View a markdown version of this page

Architecture overview - Scene Intelligence with Rosbag on AWS

Architecture overview

This section provides a reference implementation architecture diagram for the components deployed with this solution.

Architecture diagram

Deploying this solution with the default parameters deploys the following components in your AWS account.

Data flows from test vehicles through ingestion extraction, and analytics. Full text description follows

scene intelligence with rosbag on aws

The high-level process flow for the solution components deployed with the CloudFormation template is as follows:

  1. The AV uploads the rosbag file to Amazon S3. The end user invokes the workflow to start processing through Amazon MWAA and a DAG. See Invoke the DAG for instructions on this process.

  2. AWS Batch performs the following actions:

    1. Pulls the rosbag file from Amazon S3

    2. Parses and extracts the sensor and image data

    3. Writes this data to another S3 bucket

  3. Amazon SageMaker AI applies object detection and LaneDet models to the extracted data. SageMaker AI then writes the data and labels to another S3 bucket.

  4. Amazon EMR Serverless (with an Apache Spark job) applies business logic to the data and labels in Amazon S3. This generates metadata related to the object detection and LaneDet. Amazon EMR Serverless then writes the metadata to DynamoDB and another S3 bucket.

  5. An AWS Lambda function publishes new incoming DynamoDB data (metadata) to the OpenSearch Service cluster. The end user accesses the OpenSearch Service cluster through a proxy on Amazon Elastic Compute Cloud (Amazon EC2) to submit queries against the metadata.