AWS · Analytics
Amazon OpenSearch Service
Managed OpenSearch for search, log analytics and observability, with dashboards, provisioned domains or serverless collections.
What it is and what problem it solves
Amazon OpenSearch Service runs OpenSearch (and legacy Elasticsearch versions) for full-text search, log and event analytics, observability and vector search. Domains are provisioned clusters with data, UltraWarm and cold tiers; OpenSearch Serverless collections scale automatically. OpenSearch Dashboards visualises the data, and OpenSearch Ingestion loads data from many sources.
When to use it
- Search inside an application: product search, document search, autocomplete.
- Centralised log analytics and observability dashboards.
- Vector search for AI applications.
When to avoid it
- Primary transactional database: use a database and index into OpenSearch.
- Structured SQL analytics across large datasets: Redshift or Athena.
Scaling model and bottlenecks
Domains scale by adding data nodes and moving older data to UltraWarm and cold storage; Serverless scales compute (OCUs) for indexing and search independently.
Limits and quotas
| Item | Value | Context | Source |
|---|---|---|---|
| Instances per domain | 200 by default, up to 1,002 Can be raised with a quota request |
Source checked |
|
| Total storage per domain | 3 PiB Fixed limit |
Source checked |
|
| OpenSearch Serverless maximum indexing or search OCUs | 1,700 Fixed limit |
Source checked |
Quotas and limits change. Check the linked source before designing around a number.
Cost model
What you pay for
Domains: instance-hours (On-Demand, Reserved or Savings Plans), EBS storage and IOPS, UltraWarm and cold storage. Serverless: OCU-hours for indexing and search, plus storage. Data transfer and extended support for old versions are extra.
Where it is cost-efficient
Hot data on fast nodes and older logs on UltraWarm or cold storage.
Where costs grow
Over-sized clusters, long retention on hot storage, and many replicas.
Cost controls and common surprises
Use index lifecycle policies to move and delete old indices, right-size instances, and buy Reserved Instances for steady domains.
Prices differ by Region and change over time; see the pricing page linked under Sources.
Security
Controls the service provides
VPC access, fine-grained access control (index, document and field level), encryption at rest and in transit, SAML and Cognito authentication for Dashboards.
What you configure
Deploy in a VPC, enable fine-grained access control, and restrict Dashboards access.
Logging and monitoring
Audit, slow and error logs to CloudWatch Logs; CloudTrail.
Related security services
KMS, Cognito, IAM.
Shared responsibility
AWS manages the cluster. You manage indices, access and data.
Availability, backup and failure behavior
Use dedicated master nodes and spread data nodes across three Availability Zones; automated snapshots support recovery.
Common service combinations
Data Firehose and OpenSearch Ingestion for loading, CloudWatch Logs subscriptions, DynamoDB zero-ETL for search on DynamoDB data.
Business application examples
- An e-commerce site's product search with typo tolerance and facets.
- Application logs from hundreds of services searched and charted in Dashboards.
Exam cues and common confusions
- Full-text search, log analytics: OpenSearch Service.
- Search on DynamoDB data: stream or zero-ETL into OpenSearch.
Related
Courses and lessons
- Analytics services: EMR, Redshift, OpenSearch and Amazon Quick · AWS Solutions Architect – Associate (SAA-C03) · Members
Services, comparisons and patterns
- Amazon Kinesis · Service
- Amazon DynamoDB · Service
- Amazon CloudWatch · Service
- Amazon Athena · Service
Sources
Independent study material, not affiliated with or endorsed by Amazon Web Services. AWS and service names are trademarks of Amazon.com, Inc. or its affiliates.