What does this AWS Solutions Implementation do?

Text Analysis with Amazon OpenSearch Service (successor to Amazon Elasticsearch Service) and Amazon Comprehend is an automated reference implementation that deploys a cost-effective, end-to-end solution for extracting meaningful insights from unstructured data. Examples of unstructured data includes customer calls, support tickets, and online customer feedback. This solution leverages Amazon Comprehend, a natural language processing (NLP) service that uses machine learning for text analysis, and Amazon OpenSearch Service for indexing and analyzing unstructured text.



The solution creates a pre-configured Kibana dashboard for visualization of extracted entities, key phrases, syntax, and sentiment from uploaded documentation.


The solution uses Amazon CloudWatch Logs for logging and metrics for data analysis.

AWS Solutions Implementation overview

The diagram below presents the architecture you can automatically deploy using the solution's implementation guide and accompanying AWS CloudFormation template.

Text Analysis with Amazon OpenSearch Service and Amazon Comprehend | Architecture Diagram
 Click to enlarge

Text Analysis with Amazon OpenSearch Service and Amazon Comprehend architecture

The AWS CloudFormation template deploys an Amazon API Gateway to invoke the proxy microservice (AWS Lambda function). The microservice provides the business logic to manage preprocessing configuration, native indexing, and other native search capabilities. The microservice interacts with Amazon Comprehend for text analysis, Amazon CloudWatch Logs for logging and metrics, and Amazon OpenSearch Service for indexing documentation.

An API receives an authorized request, the proxy microservice sends the request to Amazon Comprehend for text analysis. A call is made to Amazon OpenSearch Service which indexes the data, and publishes logs and metrics to CloudWatch.

You can visualize the indexed data on the solution’s pre-configured Kibana dashboard.

Text Analysis with Amazon OpenSearch Service and Amazon Comprehend

Version 1.0.0
Release date: 09/2021
Author: AWS

Estimated deployment time: 20 min

CloudFormation template 
Did this Solutions Implementation help you?
Provide feedback 
Build icon
Deploy a Solution yourself

Browse our library of AWS Solutions Implementations to get answers to common architectural problems.

Learn more 
Find an APN partner
Find an APN Partner

Find AWS certified consulting and technology partners to help you get started.

Learn more 
Explore icon
Explore Solutions Consulting Offers

Browse our portfolio of Consulting Offers to get AWS-vetted help with solution deployment.

Learn more