Introduction to Amazon OpenSearch Service
Managed search and analytics engine for full-text search and log analytics.
- 1 lesson
- Module quiz
Some features ask questions that ordinary databases answer poorly. A product search box must find items whose descriptions contain the words a user typed, tolerate spelling mistakes and rank the best matches first. A log analysis tool must search and aggregate millions of log lines in seconds. Key-value databases such as DynamoDB can only scan every item for such queries, which is slow and expensive.
Amazon OpenSearch Service runs OpenSearch, an open-source search and analytics engine, as a managed service. OpenSearch indexes documents so that full-text searches, filters and aggregations return results in milliseconds, and it includes OpenSearch Dashboards for visualising data. A provisioned domain is charged per instance-hour and for storage; OpenSearch Serverless removes capacity management and is charged in OpenSearch Compute Units.
Where OpenSearch fits
On the exam, a requirement for full-text search, or for searching on many different attributes, usually points to OpenSearch. It is typically added alongside the application's main database rather than replacing it, receiving a copy of the data to search.
How this module is organised
The module has a single lesson, Adding Full-Text Search and Log Analytics with Amazon OpenSearch Service, which explains how OpenSearch indexes and searches data, the common patterns for searching DynamoDB data and analysing logs, and how domains are secured.