Elasticsearch vs OpenSearch

Elasticsearch or OpenSearch for self-hosted search and vector retrieval: how licence terms, security features, upgrade paths and the effort to run each decide the choice.

On this page

Elasticsearch vs OpenSearch: when each one fits

Choose Elasticsearch when your team wants Elastic's own managed cloud or serverless options, the Elastic Stack, or a paid support tier for self-managed clusters, and your legal team can accept Elastic's license terms. The repository's LICENSE.txt offers three options: AGPL v3.0 only, the Server Side Public License v1 and the Elastic License 2.0, with x-pack code under the Elastic License 2.0 only. Elastic added AGPL v3 in its August 2024 announcement and describes it as OSI approved, but SSPL and ELv2 are not OSI approved. Elastic Cloud Hosted bills by resource and Elastic Cloud Serverless bills by usage, both monthly or prepaid, while self-managed subscriptions come in Platinum and Enterprise tiers priced by node count and used RAM. Check the current figures on the Elastic pricing page before you model cost.

Choose OpenSearch when every line of the project must sit under the Apache License, Version 2.0, and you do not want to buy a paid edition to get the full feature set. The OpenSearch FAQ does not describe any paid edition, and the project sits under the OpenSearch Software Foundation, a Linux Foundation project whose board includes AWS, IBM, SAP and Uber. The Foundation is not involved in technical oversight of the project, so ask the vendor or your partner who sets the roadmap and how security fixes reach you. OpenSearch is a fork of Elasticsearch 7.10 and is wire-compatible with it. OpenSearch 3.9.0 shipped on September 29, 2026, and a new minor version targets about every eight weeks. Its Security plugin covers SAML, OpenID Connect, LDAP, Kerberos and JSON Web Token authentication, along with document-level and field-level security and audit logs. Confirm each of those controls against the build you plan to run.

Four questions decide most of this choice. First, ask legal whether the AGPL v3.0 option meets your obligations, since it is the only OSI approved license Elastic offers. Second, check the version of your existing cluster. OpenSearch can use indices from Elasticsearch 6.0 through 7.10 and supports rolling upgrades from those versions, so a cluster in that range has a documented path. A later release, such as the v9.5.7 line, falls outside that compatibility, so test on a copy of your indices first. Third, list the vector and security features you need and confirm each one in the tier or distribution you will buy. Fourth, decide who operates the system. Managed Elastic options shift much of the operating work to the vendor, which you should confirm in the subscription terms, while self-managed OpenSearch leaves node sizing, upgrades and backups with your team. Migration is a one-time cost, but operating effort and subscription fees recur, so price both before you commit.

Which fits your search workload: Elasticsearch or OpenSearch

This table matches common search workload situations to the platform that usually fits better, and names the condition that would reverse the choice. Read each row against your license policy, your current cluster version and your tooling, because those three facts decide most cases. Scenarios are illustrative, so confirm the license terms, versions and managed-service details with each vendor before you buy or migrate.

ScenarioBetter fit and whyWhat would flip the choice
Wish for Elastic's managed cloud (illustrative)Elasticsearch. Elastic Cloud Hosted is priced on resources and Serverless on usage, and Elastic runs both for you.Self-hosting in your own accounts or data centers. Confirm Elastic Cloud regions, SLA terms and pricing in a written quote.
Policy requires Apache 2.0 for all project software (illustrative)OpenSearch. All OpenSearch software is released under Apache 2.0, and its FAQ describes no paid edition.A policy change that accepts AGPL v3. Elasticsearch's default triple license includes SSPL and ELv2, which are not OSI-approved.
Legal team can accept AGPL v3 (illustrative)Elasticsearch under AGPL v3, an option Elastic added in August 2024 and describes as OSI-approved.x-pack code is ELv2 only, so AGPL does not cover it. Confirm which features you need and their license with counsel.
Existing cluster on Elasticsearch 7.10 or earlier (illustrative)OpenSearch. It forks Elasticsearch 7.10, is wire-compatible with it and supports rolling upgrades from 6.0 through 7.10.You need newer Elastic features or plan an Elastic upgrade. Clusters older than 6.0 need a confirmed path first.
Existing cluster on 8.x or 9.x (illustrative)Elasticsearch. Moving to OpenSearch is a migration, since OpenSearch's stated compatibility is with 7.10. Stay on your current line.Compatibility testing shows your clients, queries and plugins work on OpenSearch, and your license policy requires the change.
SSO and role-based access needs (illustrative)OpenSearch, if you want SAML, OpenID Connect, LDAP, Kerberos, JWT, RBAC, field-level security and audit logs in its Security plugin.Your Elastic subscription already covers the identity features you need, or your identity provider is not on OpenSearch's list. Confirm both.
Heavy use of Beats, Logstash and Kibana (illustrative)Elasticsearch. Beats, Logstash and Kibana are part of the Elastic Stack, and OpenSearch Dashboards derives from Kibana 7.10.2.Shippers and dashboards are replaced or validated on OpenSearch. Confirm each Beat, Logstash plugin and dashboard against your target version.

How each platform is built and what that means for operations

Both platforms index and search similar data, but they differ in packaging, release cadence and what your team must test before trusting either one. The four cards below cover the components, the vector question and the upgrade rhythm, which together shape staffing and node sizing.

Elastic Stack components

Elasticsearch holds the data and runs search, while Kibana, Beats and Logstash cover dashboards, lightweight data shipping and pipeline transformation. Elastic documents the Elastic Stack as deployable from fully managed serverless to self-managed installations, so the first decision is where the cluster runs and who patches it. Map each component to an owner before you commit, because a managed project shifts much of the upkeep to the vendor, while a self-managed install keeps it with your staff. Confirm which components your use case needs and how each is licensed in your edition.

Elastic documentation

OpenSearch cluster and Dashboards

OpenSearch is a fork of open source Elasticsearch 7.10, and OpenSearch Dashboards derives from Kibana 7.10.2. The project is wire-compatible with 7.10 and can read indices from Elasticsearch 6.0 through 7.10, which matters if your clients or data predate the split. Test clients, plugins and dashboards against 7.10 behavior before you assume a drop-in swap, because anything that depends on features added after the fork needs its own check. Confirm that the plugins your stack depends on exist in the OpenSearch distribution you will run.

Installing OpenSearch

Vector workload checks

Elasticsearch documents Elasticsearch Vector Database as a Serverless project type, so vector search can run on a managed footprint where Elastic operates the infrastructure. A managed project does not settle the technical question, though. Do not carry parity over from keyword search to vectors. Confirm vector index types, filter behavior and sizing on both platforms with your own embedding dimensions, corpus size and query mix before you commit a retrieval workload to either one, and ask each vendor for its published limits in writing.

Upgrades and node planning

OpenSearch targets a new minor version about every eight weeks, and 3.9.0 shipped on September 29, 2026, so staff will plan upgrades on a short cycle. OpenSearch supports rolling upgrades from supported older indices, but each minor still needs a tested rollback path before you adopt it. Elasticsearch's current release line is v9.5.7, published 23 November 2026, and you should confirm the supported upgrade path from your running version before scheduling either platform. Size nodes from heap, disk and shard counts measured in your own test cluster, because your index shape and query load drive capacity.

Migrate or upgrade OpenSearch

Decision path: from license policy to operating model

The path starts at license policy. If policy requires Apache 2.0 for all project software, OpenSearch is the candidate, because all of its software is under that license. If not, the AGPL v3 option is checked first, since Elastic describes it as OSI approved, and the SSPL and ELv2 terms need legal review. Next comes the choice between Elastic Cloud Hosted or Serverless, priced on resources or usage, and a self managed subscription, priced by nodes and used RAM. The existing cluster version then sets the route: 7.10 or earlier leads to the OpenSearch migration path, while 8.x or later needs compatibility confirmed first. Vector needs, security features and whether your team can operate the cluster close the path.

Decision path from license policy through version, vector, security and operating checks.

Elasticsearch vs OpenSearch feature by feature

This table compares Elasticsearch and OpenSearch across licensing, paid editions, governance, identity, access control and audit, release cadence and vector search. Read each row as a question to settle with the vendor or foundation before you commit, since several capabilities depend on subscription tier or version. The main takeaway: OpenSearch is Apache 2.0 with no paid edition described in its FAQ, while Elasticsearch offers a choice of licenses and paid self-managed tiers.

CapabilityElasticsearchOpenSearch
LicenceTriple licensed under AGPL v3.0 only, SSPL v1 and ELv2 by default. x-pack code is ELv2 only. Confirm which license option your legal team accepts.Apache License 2.0 for all project software. Confirm the license file shipped with the exact release you deploy.
Paid editionsSelf-managed Platinum and Enterprise subscriptions, priced by nodes and used RAM. Confirm which features each tier includes.The OpenSearch FAQ describes no paid edition. Confirm any paid support or hosted offer with its provider.
GovernanceElastic controls the project. Confirm how contribution terms and license changes affect your deployment plans.Linux Foundation project. The foundation is not involved in technical oversight. Confirm who sets the roadmap you depend on.
IdentityConfirm which SSO options (SAML, OIDC, LDAP) each subscription tier includes, and whether any need a separate license.Security plugin supports SAML, OpenID Connect, Active Directory, LDAP, Kerberos and JWT. Confirm the plugin version in your release.
Access control and auditConfirm RBAC, document and field-level security, field masking, impersonation, audit logs and TLS, and which tier includes each.RBAC, document and field-level security, field masking, user impersonation, audit logs and TLS for node and client traffic. Confirm each setting in your version.
Release cadenceLatest GitHub release is v9.5.7, published November 23, 2026. Confirm the support window for your version.3.9.0 released September 29, 2026, with a new minor about every eight weeks. Version 2 is maintained through 4.0 GA. Confirm end-of-life dates.
Vector searchVector Database is offered as a Serverless project type. Confirm self-managed vector index types, filters and quantization for your data.Confirm vector index types, filter behavior and hybrid search support for your data and the version you plan to run.

What each license allows and what is paid for

Self-managed Elasticsearch is covered by a triple license set out in the repository's LICENSE.txt. The source is available under AGPL v3.0 only, the Server Side Public License v1 or the Elastic License 2.0, and code under x-pack is licensed solely under the Elastic License 2.0. Your legal team should record which option governs your use before anything else is decided.

  • The AGPL option: Elastic's 29 August 2024 announcement added AGPL v3 as another option beside SSPL and ELv2 for Elasticsearch and Kibana, and Elastic describes AGPL as OSI approved. This matters if your policy requires an OSI-approved license.
  • SSPL and ELv2: Neither license is OSI approved, so procurement must confirm which option applies to the code you deploy and keep that decision on file.
  • Subscription pricing: Platinum and Enterprise subscriptions are priced by number of nodes and used RAM, so changes to your topology change the bill.
  • Identical support SLA: Elastic's pricing page states that both tiers carry an identical support SLA, so compare the feature lists before choosing a tier.
  • Node and RAM counting: Ask how Elastic counts nodes and used RAM for your planned layout, since that count sets the subscription size.

Before you sign, confirm the license option in writing and model your node and RAM count for the planned layout. Question for Elastic: which license option do you consider applicable to our self-managed deployment, and how do you count nodes and used RAM for our topology?

Moving between them: what transfers and what gets rebuilt

Moving from Elasticsearch to OpenSearch is mostly a question of which features your team depends on. The six steps below run in order, and each one ends with a check you can record before the next step starts. Data volume matters, but the work grows fastest with Kibana content, security settings and Elastic-only client code.

  1. Inventory versions, indices, plugins and clients

    Start by listing every Elasticsearch and Kibana version in use, each index with its creation version, and every plugin, ingest pipeline, saved search and Beats or Logstash pipeline that writes to or reads from the cluster. Include every client library and application that calls the cluster, along with the team that owns it. The platform engineering lead or the search owner should sign off the list. You know this step is done when every item has an owner and a target version, and nothing in production is unaccounted for.

  2. Confirm index compatibility before any data moves

    OpenSearch is wire-compatible with Elasticsearch 7.10 and can use indices created in Elasticsearch 6.0 through 7.10, and it supports rolling upgrades from those versions. If every index falls in that range, the move can follow a more direct path. Indices created by later Elasticsearch releases need a documented migration path for your target OpenSearch version, so confirm that path in the OpenSearch migration documentation before you plan any cutover. Your team closes this step with a written list that marks each index as direct, documented path or blocked.

  3. Rebuild Kibana content in OpenSearch Dashboards

    OpenSearch Dashboards derives from Kibana 7.10.2, so dashboards, visualizations and saved searches built on 7.10-era features are the first objects to test. Objects created with later Kibana features, and any Kibana plugins you rely on, need a separate check because they may not carry over. Export the saved objects from a test copy, import them into a test instance of Dashboards and compare each rendered panel with the original. The dashboard owner signs off on each one. The step is done when every saved object is marked as carried over, rebuilt or retired.

  4. Map Elastic roles, SSO and audit settings

    Export every Elastic role, user mapping, SSO realm and audit setting, then translate each one into an OpenSearch Security role, role mapping and authentication backend. The Security plugin supports SAML, OpenID Connect, Active Directory and LDAP, Kerberos and JSON Web Token backends. It also provides role-based access control, document and field-level security, field masking, user impersonation, audit logs and TLS, but confirm each Elastic privilege against the OpenSearch permission it maps to, since names and scopes may differ. The identity and security team signs off when a test user from each role gets the same access on the target and the audit log records the events you review.

  5. Rebuild ingestion and client code

    Find every ingestion path and client call that uses an API, plugin or feature available only in Elastic products, then rewrite it against the OpenSearch equivalent or a neutral interface. Start with Beats and Logstash outputs, Elastic Agent policies, ingest pipelines, index templates and the client libraries your applications import. Ask the owner of each path to run it against a test cluster and compare document counts, mappings and query results with production. Your engineers close this step when no code path depends on an Elastic-only feature without a written replacement, and the test results match.

  6. Run in parallel, cut over and test rollback

    Run the old and new clusters side by side, with the same data reaching both, and compare search results, dashboard output and alert behavior over a window your operations owner agrees in advance. Cut over one consumer at a time where your architecture allows, keeping the previous cluster and its ingestion path ready to restore. Rehearse the rollback in a test environment before go-live and record what data, if any, is lost. This step is done when a rollback has been run successfully and the old cluster is retired only after sign-off. Switching cost rises with the features in use more than with data volume alone.

What drives the running cost of each

Running cost for Elasticsearch and OpenSearch comes from four places: the license or subscription, the infrastructure you size, the people who operate the cluster, and the support terms behind it. The first two usually appear in a quote. The last two often do not, so read the cards together, because a lower license line can still carry a larger operating load.

License and subscription

Elastic's self-managed subscriptions are license-based and priced by the number of nodes and the used RAM, in two tiers, Platinum and Enterprise. Elastic Cloud Hosted uses resource-based pricing and Elastic Cloud Serverless uses usage-based pricing, and both pay as you go monthly or prepaid. The OpenSearch FAQ describes no paid edition, and OpenSearch software is Apache License 2.0, so confirm any support contract cost before you compare totals with Elastic.

Elastic pricing

Infrastructure footprint

Node count, RAM per node, storage and replica count set most of the footprint, and each replica holds another copy of the index data. Elastic's self-managed price rises with the nodes and used RAM you run, so memory and node decisions show up directly on the license line. OpenSearch moves the same decisions onto your hardware or cloud bill. Vector workloads need their own memory check, so size the index with your own data before you request a quote for either platform.

Skills and operations

Someone must patch, upgrade, tune and respond to incidents for the life of the cluster, and that work recurs. OpenSearch targets a new minor version about every eight weeks, and each version stays in maintenance until the next major version enters maintenance or one year passes, whichever is longer. Elastic's latest GitHub release at research time was v9.5.7, published November 23, 2026. Settle who owns each upgrade cycle, in-house or through a provider, before you choose.

OpenSearch releases

Support and SLA terms

Elastic's pricing page lists a 99.95% monthly uptime SLA for Elastic Cloud Platinum and Enterprise subscription tiers, and its self-managed tiers carry the same support SLA. A managed OpenSearch service may offer different uptime, response and credit terms, so confirm them in writing. In any quote, ask for written scope, node and data assumptions, versions, the support tier, who owns upgrades and patches, and which deliverables are fixed.

Where implementation projects usually run long

The work that decides scope is the same on either platform, and it starts before the first node is built. Cluster design comes first: node roles, shard sizing, storage tiers and where snapshots land. Security configuration follows, with TLS on node and client traffic, role-based access control, and document and field-level security defined in roles. Identity integration starts with the protocol the cluster will trust: the OpenSearch Security plugin supports SAML, OpenID Connect, LDAP and Active Directory, Kerberos and JSON Web Tokens, while Elasticsearch uses its own realm configuration, so confirm which realm features your subscription includes. Index lifecycle policies, tested snapshot restores and a rehearsed upgrade on a copy of production complete the baseline. A cluster that has never restored a snapshot or upgraded on a copy has not been implemented yet.

Five items cause most of the overruns, and they are inventory problems more than technical ones. Migrating older indices comes first: OpenSearch can read indices from Elasticsearch 6.0 through 7.10, so confirm the origin version of every index before planning a move. Rebuilding dashboards follows, because OpenSearch Dashboards derives from Kibana 7.10.2 and saved objects need export, import and retesting. Mapping SSO groups to roles is third, since each directory group needs a named role with document and field rules signed off by the data owner. Validating vector search on your own embeddings is fourth, because recall and latency under production filters set the index settings. Building operator skills comes last, and it continues after go-live: the team that runs snapshots, upgrades and patches must be trained on the platform it chose.

DeployOpen works on fixed scope, with scope, deliverables and timelines agreed in writing before work starts. Ask any implementer for the same written breakdown: the number of clusters and environments, the index inventory with source versions, the dashboards and saved objects to rebuild, the SSO groups to map, the datasets used to validate vector search, and which restore and upgrade tests are included. DeployOpen does not publish a price list. A quote follows from the written scope, so those inputs are what move the number. Ongoing support, upgrades and continuous testing are available as retainers, so ask for recurring costs to be quoted separately from the one-time build. Confirm support and subscription terms directly with the vendor of the platform you choose, since those sit outside implementation work.

Questions teams ask before choosing Elasticsearch vs OpenSearch

Is OpenSearch a drop-in replacement for Elasticsearch?

Not as a guaranteed swap. OpenSearch is a fork of open source Elasticsearch 7.10 and is wire-compatible with that version, so applications written against 7.10 often need few client changes. Compatibility is documented against 7.10, so confirm it for any later Elasticsearch release you run, including the current 9.x line, and for each client library version. OpenSearch can use indices from Elasticsearch 6.0 through 7.10 and supports rolling upgrades from those versions. Dashboards need separate testing: OpenSearch Dashboards derives from Kibana 7.10.2, so saved objects, visualizations and plugins can behave differently. Ask for a test against a copy of your mappings, queries, clients and dashboards before you commit.

Does the AGPL option make Elasticsearch open source for our purposes?

Not on its own, and your legal team should decide. Elastic's August 29, 2024 announcement added AGPL v3 as a license option for Elasticsearch and Kibana and describes AGPL as an OSI approved license. The repository's LICENSE.txt sets a triple license for core code: AGPL v3.0 only, the Server Side Public License v1 (SSPL) and the Elastic License 2.0 (ELv2). SSPL and ELv2 are not OSI approved, so AGPL is the only OSI option in that set, and you choose the license under which you use the code. Code under x-pack is licensed solely under ELv2, so the AGPL option does not cover it. Legal should confirm which terms apply to the exact packages, features and deployment model you plan to use, and what AGPL obligations mean for internal use and any modifications. Do not treat the OSI label as a legal conclusion for your organization.

What does Elasticsearch cost to run compared with OpenSearch?

Software licensing is only one part of the bill, and the two products price their paid options differently. Self-managed Elasticsearch uses license-based pricing set by the number of nodes and used RAM, in two tiers, Platinum and Enterprise, with the same support SLA in both, according to Elastic's pricing page. Elastic Cloud Hosted is priced by resources and Elastic Cloud Serverless by usage, both pay as you go monthly or prepaid. OpenSearch is Apache 2.0 licensed and its FAQ describes no paid edition, so the software itself carries no license fee, and you pay for infrastructure, staff time and any third-party support you add. Costs rise with node count, memory, data volume, retention, replicas and query load on either side. Subscriptions and hosting recur, while migration work is mostly one-time. Request a written quote from Elastic for the tier and deployment model you need, and price your own hosting and staffing with the same scope.

How long does a move from Elasticsearch to OpenSearch take?

The honest answer is that duration depends on what you run, and no fixed figure applies to every cluster. The main drivers are the Elasticsearch version you run, which features and plugins your indices depend on, how many clients and query paths call the cluster, how many Kibana dashboards and saved objects must be recreated or tested, and whether your staff has operated both stacks. Start with an inventory of versions, indices, mappings, clients and dashboards, then rehearse the upgrade or restore on a copy using the OpenSearch migration guide. OpenSearch can use indices from Elasticsearch 6.0 through 7.10 and supports rolling upgrades from those versions, so a source release outside that range needs its own plan. Ask for a written plan with milestones, rollback steps and cutover criteria, and treat any duration given before the inventory as an estimate to check.

Can our team move a single Elasticsearch cluster without a partner?

Yes, for a small single cluster when your team already has the skills to run search, upgrades and restores. Keep the work manageable by staging a copy, writing down the rollback path and testing every client and dashboard before cutover. The case for outside help grows with multiple clusters, custom plugins, large dashboard estates, strict audit evidence or a tight cutover window, because each adds failure modes and documentation work. If your team cannot take that on, DeployOpen can take a fixed scope. DeployOpen plans, implements, integrates, hardens, backs up, upgrades and documents self-hosted open-source platforms inside your own cloud accounts, data centers or air-gapped networks. Scope, deliverables and timelines are agreed in writing before work starts, and DeployOpen does not publish a price list, so a quote follows from that written scope. Ask any partner how they handle rollback, data validation and handover.

Which one has better vector search, Elasticsearch or OpenSearch?

Do not assume parity: test the exact vector index type, dimensions and filters you plan to use on both products. Elastic's documentation lists Elasticsearch Vector Database as a Serverless project type, which shows vector use is a supported Elastic path, but that does not tell you how index algorithms, dimension limits or filtered approximate queries compare with OpenSearch. Confirm each point against the current documentation for the versions you intend to run. Build a test set with your embedding model's dimensions, your metadata filters such as tenant or access tags, a recall target you can measure and your latency and memory budget, then run it on both. Record for each: supported index types, maximum dimensions, how filters combine with approximate search, and how index size grows with replicas and shards. Share the results with your security and platform teams so the choice is traceable.

How DeployOpen helps choose, implement or migrate

DeployOpen helps teams decide between Elasticsearch and OpenSearch, then plans, implements, hardens and documents the platform they choose inside their own cloud accounts, data centers or air-gapped networks. Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts. Where a team already runs one engine, the work can include a migration plan that starts from the version and license terms in use today.

How we scope

  • The written scope names the engine, the target version and the deployment model before any build work starts.
  • Scope covers a review of the license terms and editions behind each feature the team plans to use.
  • Fixed-scope agreements set deliverables and timelines in writing before any work begins.

How we build

  • Identity setup for SAML, OpenID Connect or LDAP, checked against the license tier each engine requires.
  • Role-based access, field-level security and audit logging set up where the chosen engine supports them, then tested.
  • Vector search prototype with the team's embedding model and index sizing, if vector retrieval is in scope.

How we hand over

  • Architecture, configuration and runbook documentation covering cluster layout, node roles, backups and upgrade steps.
  • A license and edition register listing each feature in use and the paid tier it depends on.
  • Migration plan with rollback steps, checking index versions against the range OpenSearch can read from Elasticsearch.

How we support

  • Hardening review and security testing of the search cluster, including its APIs and access paths, with a retest.
  • Upgrade support for OpenSearch's minor releases, which target about every eight weeks, planned against each version's support window.
  • Ongoing support is available as a retainer, and the team should confirm response times in the written quote.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.