On this page
Short answer
OpenSearch is Apache 2.0, governed by the OpenSearch Software Foundation under the Linux Foundation since 16 September 2024, and includes security, alerting, SQL and PPL in the open-source distribution. Elasticsearch is developed by Elastic; its source has been available under AGPLv3 alongside SSPL and the Elastic License 2.0 since late 2024, its default distribution is free to use under the Elastic License, and features such as machine learning and field- and document-level security need a paid subscription. Choose OpenSearch for Apache 2.0 terms, Amazon OpenSearch Service, or a fully open security stack. Choose Elasticsearch for ES|QL, Kibana and Elastic's solutions, or Elastic Cloud. Either way, teams on Elasticsearch 7.17 are already past end of support.
OpenSearch and Elasticsearch on the same criteria
| Elasticsearch (Elastic) | OpenSearch (OpenSearch Software Foundation) | |
|---|---|---|
| Origin | The original project, maintained by Elastic | Forked from Elasticsearch and Kibana 7.10.2, announced by AWS on 12 April 2021 |
| License | Source: AGPLv3, SSPL 1.0 or Elastic License 2.0. Default distribution: Elastic License 2.0 | Apache 2.0 |
| Governance | Elastic N.V. | OpenSearch Software Foundation, hosted by the Linux Foundation since 16 September 2024 |
| Current line | 9.x; 8.x maintained to 15 January 2027 | 3.x (3.9.0 on 29 September 2026); 2.19 in maintenance |
| Security | TLS and role-based access free since 6.8 and 7.1; on by default since 8.0; field- and document-level security on paid tiers | Security plugin with TLS, roles, field- and document-level security and audit logging, all Apache 2.0 |
| Query languages | Query DSL, ES|QL (GA in 8.14), EQL, SQL | Query DSL, SQL, PPL (Piped Processing Language) |
| Dashboards | Kibana | OpenSearch Dashboards, forked from Kibana 7.10.2 |
| Vector search | dense_vector and sparse_vector fields, HNSW on Lucene, semantic_text | k-NN plugin with Lucene and Faiss engines; NMSLIB deprecated |
| Main managed service | Elastic Cloud on AWS, Google Cloud and Azure | Amazon OpenSearch Service, plus other hosted providers |
Why there are two: the 2021 license change and the fork
Elasticsearch and Kibana were Apache 2.0 until Elastic moved their source to dual licensing under the Server Side Public License (SSPL) and the Elastic License, shortly before the 7.11 release in early 2021. Elastic has said the change was aimed at cloud providers, AWS in particular, offering Elasticsearch as a service. AWS responded on 12 April 2021 with the OpenSearch project: OpenSearch derived from Elasticsearch 7.10.2 and OpenSearch Dashboards from Kibana 7.10.2, both Apache 2.0, with the features of its earlier Open Distro for Elasticsearch folded in. OpenSearch 1.0 followed in July 2021, and Amazon Elasticsearch Service was renamed Amazon OpenSearch Service.
Two later events reshaped the picture. On 29 August 2024 Elastic announced that it would add the OSI-approved AGPLv3 as a third license option, which took effect before Elasticsearch 8.16 became generally available. Elastic's licensing FAQ is precise about the scope: AGPLv3 applies to the free portions of the source code, while Elastic's binary releases continue under the Elastic License. Then on 16 September 2024 AWS transferred OpenSearch to the newly launched OpenSearch Software Foundation, hosted by the Linux Foundation, with AWS, SAP and Uber as premier members.
Is Elasticsearch free?
Yes, to download and run. The default Elasticsearch distribution is free under the Elastic License 2.0, which allows internal use but prohibits offering Elasticsearch to others as a managed service. The free Basic tier includes TLS, users and role-based access control, and Kibana. Machine learning, field- and document-level security, cross-cluster replication and several other features require a paid subscription, as does Elastic support. If you need an OSI-approved license for the code itself, AGPLv3 now covers the free portions of the source; AGPL obligations apply if you modify it and offer it over a network. OpenSearch is free under Apache 2.0 with no feature tiers, and commercial support comes from AWS, hosted providers or independent firms.
Where the features have diverged
Security. OpenSearch ships its Security plugin in the open-source distribution: TLS, authentication backends, roles, field- and document-level security and audit logging. Elasticsearch made TLS and role-based access control free in 6.8 and 7.1 and turns security on by default from 8.0, but keeps finer-grained controls on paid tiers.
Query languages. Both still speak the JSON Query DSL, so most search and aggregation queries look alike. Elastic added ES|QL, a piped query language that became generally available in 8.14, alongside EQL and SQL. OpenSearch offers SQL and PPL, its own piped language, through its SQL plugin. Saved queries in one do not run in the other.
Vector search. Both store vectors and run approximate k-NN search with HNSW. OpenSearch's k-NN plugin offers the Lucene and Faiss engines, with Faiss adding IVF and further compression options; the older NMSLIB engine is deprecated. Elasticsearch uses dense_vector and sparse_vector fields on Lucene with quantization, and semantic_text to handle embedding at ingest.
Dashboards and solutions. Kibana and OpenSearch Dashboards look similar for basic visualization but have diverged in plugins and observability and security tooling. Elastic packages Kibana into its Observability and Security solutions; OpenSearch provides observability, security analytics and anomaly detection plugins.
Compatibility and migration
OpenSearch kept the REST API and index format of Elasticsearch 7.10.2, so applications written against 7.10 or earlier usually need only client and endpoint changes. Clients are the first thing to check: Elastic's official clients from 7.14 verify that the server identifies itself as Elasticsearch and refuse to connect otherwise, so OpenSearch applications use the OpenSearch client libraries. Beyond 7.10 the two have diverged in mappings, APIs and plugins, so data from a later Elasticsearch 7.x, 8.x or 9.x cluster normally moves by reindexing rather than snapshot restore. AWS publishes a Migration Assistant for Amazon OpenSearch Service for these moves. Going the other way, from OpenSearch to Elasticsearch, is also a reindex plus a rewrite of anything using PPL, security plugin APIs or k-NN mappings.
Managed offerings
Amazon OpenSearch Service runs OpenSearch and legacy Elasticsearch OSS up to 7.10, plus a serverless option. AWS charges Extended Support on versions past standard support: Elasticsearch 7.10 reaches end of standard support on 7 November 2027 and end of extended support on 7 November 2030. Elastic Cloud is Elastic's own service on AWS, Google Cloud and Azure, with hosted and serverless deployments, and the service that tracks new Elasticsearch releases with Elastic's full feature set. Several other providers host OpenSearch. Self-managed remains common on both sides, especially where data residency rules out a hosted service.
Versions and end of life
Elastic maintains a major line for 30 months from its release or 18 months after the next major, whichever is later, plus six months of support. Elasticsearch 7.17 reached end of maintenance on 15 April 2025 and end of support on 15 January 2026. 8.x ends maintenance on 15 January 2027 and support on 15 July 2027. 9.x is maintained until at least 15 October 2027. OpenSearch maintains the current major and keeps the previous one in maintenance until the next major enters maintenance or for at least a year: OpenSearch 1.x reached end of life on 6 May 2025, 2.x is in maintenance until 4.0 ships, and 3.x is current.
Teams pinned to Elasticsearch 7.x, often because 7.10.2 is the last Apache 2.0 release or because 8.x needs a reindex, now run without upstream fixes. AceMQ's OSSeva service provides patched builds of self-managed Elasticsearch 7.10.2 and 7.17 while the move to 8.x, 9.x or OpenSearch is planned. Full dates are in Elasticsearch end of life dates and support options.
When to choose which
- Do you need Apache 2.0 terms, or will you offer search as a service to others? OpenSearch.
- Are you all-in on AWS and want a managed service on your AWS bill? OpenSearch, on Amazon OpenSearch Service.
- Do you need field- and document-level security without a subscription? OpenSearch.
- Do you rely on ES|QL, Kibana's Observability or Security solutions, or Elastic's machine learning? Elasticsearch.
- Are you on 7.10 or 7.17 today? Either is a migration, so decide on license and features, not on which path looks shorter.
Frequently asked questions
Is OpenSearch the same as Elasticsearch?
No. OpenSearch was forked from Elasticsearch 7.10.2 in 2021 and has developed separately since. They share a Lucene core and most of the Query DSL, but differ in license, governance, security features, query languages, vector search and clients.
Is Elasticsearch open source again?
Partly. Since late 2024 the free portions of the Elasticsearch source are available under AGPLv3, an OSI-approved license, as well as SSPL and the Elastic License 2.0. Elastic's binary releases remain under the Elastic License 2.0.
Who owns OpenSearch?
The OpenSearch Software Foundation, hosted by the Linux Foundation, which launched on 16 September 2024 when AWS transferred the project. AWS, SAP and Uber were the founding premier members.
When did Elasticsearch 7.17 reach end of life?
Elastic ended maintenance for 7.17 on 15 April 2025 and support on 15 January 2026. Elasticsearch 8.x ends maintenance on 15 January 2027 and support on 15 July 2027.
Related
Where this gets done
The work behind this page, run by the same engineers who wrote it.
Other Support guides, comparisons and research
Talk to an engineer
AceMQ supports 130+ enterprise clients in 26+ countries. Tell us what you are running and we will come back within a business day.