Luna AI on AWS
Partner Solution Deployment Guide

June 2023
Matthew Schroeder, GDIT
Dave May, AWS Integration & Automation team

Refer to the GitHub repository to view source files, report bugs, submit feature ideas, and post feedback about this Partner Solution. To comment on the documentation, refer to Feedback. |
This Partner Solution was created by General Dynamics in collaboration with Amazon Web Services (AWS). Partner Solutions are automated reference deployments that help people deploy popular technologies on AWS according to AWS best practices. If you’re unfamiliar with AWS Partner Solutions, refer to the AWS Partner Solution General Information Guide.
Overview
This Quick Start deploys Luna AI on the AWS Cloud. If you are unfamiliar with AWS Quick Starts, refer to the AWS Quick Start General Information Guide.
Costs and licenses
There is no cost to use this Quick Start, but you will be billed for any AWS services or resources that this Quick Start deploys. For more information, refer to the AWS Quick Start General Information Guide.
Architecture
Deploying this Quick Start with default parameters builds the following Luna AI environment in the AWS Cloud.

As shown in Figure 1, this Quick Start sets up the following:
-
Data ingestion services to ingest and queue user multimedia data for enrichment.
-
Amazon Simple Queue Service (Amazon SQS) for a data-ingestion event queue.
-
Amazon Simple Notification Service (Amazon SNS) to manage asynchronous messaging between Amazon EventBridge and enrichment services.
-
AWS Lambda to do the following:
-
Poll the data-ingestion event queue and post events to EventBridge.
-
Process data flowing from EventBridge to enrichment services and between enrichment services.
-
-
EventBridge to route ingested data to enrichment services.
-
-
Data enrichment services to do the following:
-
Amazon Textract to extract text from PDF and image files.
-
Amazon Comprehend to extract entities such as key phrases, places, names, organizations, quantities, and events.
-
Amazon Rekognition to identify objects, people, text, scenes, and activities in images and videos.
-
Amazon Transcribe to convert audio input into text.
-
Amazon Translate to translate text documents.
-
AWS Elemental MediaConvert to transcode video files.
-
-
Data storage and streaming services to do the following:
-
Amazon DynamoDB to store system data, system metadata, and media asset metadata, and keep a record of changes to database tables.
-
Amazon Simple Storage Service (Amazon S3) for landing zone and enriched data storage.
-
Amazon Kinesis Data Streams to stream enriched data to Amazon Kendra and AWS Lake Formation.
-
-
Amazon Kendra for searching enriched data with natural language processing and advanced search algorithms.
-
Lake Formation to set up, secure, and manage a data lake.
Deployment options
This Quick Start provides the following deployment option:
This Quick Start provides a template for this option. It also lets you configure Classless Inter-Domain Routing (CIDR) blocks, instance types, and Luna AI settings.
Deployment steps
-
Sign in to your AWS account, and launch this Partner Solution, as described under Deployment options. The AWS CloudFormation console opens with a prepopulated template.
-
Choose the correct AWS Region, and then choose Next.
-
On the Create stack page, keep the default setting for the template URL, and then choose Next.
-
On the Specify stack details page, change the stack name if needed. Review the parameters for the template. Provide values for the parameters that require input. For all other parameters, review the default settings and customize them as necessary. When you finish reviewing and customizing the parameters, choose Next.
Unless you’re customizing the Partner Solution templates or are instructed otherwise in this guide’s Predeployment section, don’t change the default settings for the following parameters: QSS3BucketName
,QSS3BucketRegion
, andQSS3KeyPrefix
. Changing the values of these parameters will modify code references that point to the Amazon Simple Storage Service (Amazon S3) bucket name and key prefix. For more information, refer to the AWS Partner Solutions Contributor’s Guide. -
On the Configure stack options page, you can specify tags (key-value pairs) for resources in your stack and set advanced options. When you finish, choose Next.
-
On the Review page, review and confirm the template settings. Under Capabilities, select all of the check boxes to acknowledge that the template creates AWS Identity and Access Management (IAM) resources that might require the ability to automatically expand macros.
-
Choose Create stack. The stack takes about 15 minutes to deploy.
-
Monitor the stack’s status, and when the status is CREATE_COMPLETE, the Luna AI deployment is ready.
-
To view the created resources, choose the Outputs tab.
Troubleshooting
For troubleshooting common Quick Start issues, refer to the AWS Quick Start General Information Guide and Troubleshooting CloudFormation.
Customer responsibility
After you deploy a Partner Solution, confirm that your resources and services are updated and configured—including any required patches—to meet your security and other needs. For more information, refer to the Shared Responsibility Model.
Feedback
To submit feature ideas and report bugs, use the Issues section of the GitHub repository for this Partner Solution. To submit code, refer to the Partner Solution Contributor’s Guide. To submit feedback on this deployment guide, use the following GitHub links:
Notices
This document is provided for informational purposes only. It represents current AWS product offerings and practices as of the date of issue of this document, which are subject to change without notice. Customers are responsible for making their own independent assessment of the information in this document and any use of AWS products or services, each of which is provided "as is" without warranty of any kind, whether expressed or implied. This document does not create any warranties, representations, contractual commitments, conditions, or assurances from AWS, its affiliates, suppliers, or licensors. The responsibilities and liabilities of AWS to its customers are controlled by AWS agreements, and this document is not part of, nor does it modify, any agreement between AWS and its customers.
The software included with this paper is licensed under the Apache License, version 2.0 (the "License"). You may not use this file except in compliance with the License. A copy of the License is located at https://aws.amazon.com/apache2.0/ or in the accompanying "license" file. This code is distributed on an "as is" basis, without warranties or conditions of any kind, either expressed or implied. Refer to the License for specific language governing permissions and limitations.