OpenSearch: The Open Fork of Elasticsearch
OpenSearch is what the self-hosting world standardised on after Elastic relicensed.
Why the fork happened
Elasticsearch moved from Apache 2.0 to the SSPL in 2021, which is not an open source licence because it restricts offering the software as a service. AWS and others forked the last Apache-licensed version, 7.10, as OpenSearch.
Our licences guide covers the pattern, which repeated with Redis and Terraform. Elasticsearch has since added an AGPL option, and the fork has long since diverged either way.
For a self-hoster the practical consequence is simple: OpenSearch has no licence question attached, and is the default choice unless something specifically requires Elastic.
What it does
A distributed inverted index. Documents in, queries out, with aggregations for analytics.
The two dominant uses:
Log and event storage. Ingest via Logstash, Fluent Bit or OpenTelemetry, query in OpenSearch Dashboards. The classic log stack, and the main alternative to Loki, which indexes labels rather than full text and is cheaper for the same volume.
Application search. Full-text search for a product catalogue or document store. Meilisearch and Typesense are far lighter for this and cover most needs.
Vector search is now built in, which makes it a plausible store for embeddings alongside Qdrant.
It also backs Jaeger trace storage.
The resource reality
This is a JVM cluster. A single node for a small deployment wants several gigabytes of heap, and the general guidance is heap at no more than half of system memory and under about 32GB.
That makes it one of the heaviest things in this collection, and the reason Loki, Meilisearch and Typesense exist. Our memory pressure guide covers the consequences of getting it wrong, and VPS memory is expensive this year.
# the setting people miss
sysctl -w vm.max_map_count=262144
Operational caution
Never expose it without authentication. Unsecured clusters are found and wiped routinely; the security plugin is included and should be configured, not disabled to make something work.
Index lifecycle management is not optional for logs: without it, indices accumulate until the disk fills. Our disk usage guide covers noticing, and ISM policies covers preventing.
License
OpenSearch is released under the Apache License 2.0.