Service · Analytics · Builds on CLF-C02
Amazon OpenSearch Service
Search and log analytics on live data. Move older data to cheaper tiers.
You know from Cloud Practitioner
- OpenSearch Service gives full-text search and log analytics.
- OpenSearch Dashboards explore and visualize the data.
- It runs as managed clusters or as OpenSearch Serverless.
Search with ranking
OpenSearch
Live log dashboards
OpenSearch
Old logs, rare queries
- Athena on S3
Years of data in OpenSearch
- UltraWarm and cold tiers
| Need | Use |
|---|---|
| Search with ranking | |
| Live log dashboards | |
| Old logs, rare queries | Athena on S3 |
| Years of data in OpenSearch | UltraWarm and cold tiers |
What it is
Data goes into an OpenSearch domain, a managed cluster that you can spread over two or three Availability Zones. Logs usually arrive through Firehose, or from CloudWatch Logs through a subscription. New data sits in the hot tier on fast storage. UltraWarm moves older data to cheaper S3-backed storage that you can still search, and cold storage is cheaper still, for data you rarely need.
The choice against Athena: OpenSearch serves fast search, ranking, and near real-time dashboards on data that is being written now. Athena serves occasional SQL on files that sit in S3. If logs are old and rarely read, keep them in S3 and query them with Athena.
Remember
- Use cases: search boxes, log analytics, application monitoring.
- Ingest through Firehose, CloudWatch Logs or the OpenSearch API.
- Domains can span two or three Availability Zones for availability.
- Hot, UltraWarm and cold tiers trade speed for cost.
- OpenSearch Dashboards for charts and exploration.
On the exam
- “Full-text search with ranked results” points to OpenSearch Service.
- “Near real-time log analytics dashboards” points to OpenSearch Service with Dashboards.
- “Rarely queried old logs, lowest cost” points to S3 with Athena, or UltraWarm and cold tiers.
Do not mix it up with
Amazon AthenaServerless SQL on S3. You pay for data scanned, so use partitions, Parquet and compression.
Amazon CloudWatchChoose metrics from business needs, build alarms and composite alarms, search logs, and auto-recover instances.
Amazon Data FirehoseManaged delivery of streaming data to S3, Redshift, OpenSearch and more. Managed Flink analyzes streams.