Amazon OpenSearch Service のアイコン

Amazon OpenSearch Service Popular2015年〜

A managed search and analytics service for easy log analysis and full-text search

What It Does

Amazon OpenSearch Service is a fully managed service for log analysis, full-text search, and real-time application monitoring. Based on the open-source OpenSearch (a fork of Elasticsearch), it indexes large volumes of data for fast search and aggregation. It includes OpenSearch Dashboards for visualization as standard, letting you focus on data analysis while AWS handles infrastructure.

Use Cases

Used for aggregating, searching, and visualizing application and infrastructure logs, full-text search engines for e-commerce and portal sites, security event detection and analysis (SIEM), real-time clickstream data analysis, and storing and analyzing telemetry data from IoT devices - anywhere large volumes of text or time-series data are involved.

Everyday Analogy

Think of it like a librarian. From a vast collection (data), they instantly find relevant books just by hearing a keyword. Beyond searching, they also compile trends into charts and automatically notify you when new books arrive - serving as a search, analysis, and monitoring tool all in one.

What Is OpenSearch Service?

Amazon OpenSearch Service is a managed search and analytics service provided by AWS. Originally offered as Amazon Elasticsearch Service, it was renamed in 2021 with the launch of the open-source OpenSearch project. Using a data structure called an inverted index, it can perform full-text searches across billions of documents in just milliseconds. Data is ingested, searched, and aggregated via REST API, and visualized with OpenSearch Dashboards.

Key Features

OpenSearch Service automates cluster building and operations. AWS manages node startup, software patching, backups, and monitoring, so users can focus on designing search queries and building dashboards. It comes standard with enterprise-grade security features including multi-AZ deployment for high availability, encryption at rest and in transit, and network isolation via VPC placement. With OpenSearch Serverless, you don't even need to manage clusters.

Log Analysis and Visualization

The most common use case for OpenSearch Service is log analysis. Ingest log data from CloudWatch Logs, Kinesis Data Firehose, Logstash, and more, index it, and search and aggregate. OpenSearch Dashboards lets you create diverse visualizations including line charts, bar charts, heatmaps, and map displays, building real-time dashboards. With alerting configured, you can send notifications to SNS or Slack when logs matching specific conditions are detected. For the latest trends and practical techniques in log analysis and visualization, specialized books (Amazon) are also a great learning resource.

Pricing

OpenSearch Service pricing is based on instance type, instance count, and storage capacity. Two pricing options are available: on-demand and reserved instances, with reserved instances offering up to 50% discount. When using OpenSearch Serverless, you're charged for compute units (OCUs) used for indexing and search query processing, plus storage. For small-scale testing, you can start with a single t3.small.search instance.

Getting Started

To get started with OpenSearch Service, open the OpenSearch Service dashboard in the AWS Management Console and create a domain (cluster). Select the instance type, node count, and storage size, configure the access policy, and the cluster launches in minutes. Once running, ingest documents via REST API and execute search queries. Access the OpenSearch Dashboards URL to create data visualizations and dashboards in your browser.

Things to Watch Out For

  • Index shard count and replica count design significantly impacts performance, so proper design based on data volume and search patterns is essential
  • When storage capacity reaches its limit, indexes become read-only. Configure Index State Management (ISM) for automatic deletion or archiving of old data
共有するXB!