Asset 20 8 2
Does AI recommend your business? Run the free check →

Join 15,000 business owners, marketers and entrepreneurs. The Sunday newsletter you'll be annoyed only arrives once a week.

Article

Elasticsearch vs OpenSearch: The Fork, Licences and Choices

OpenSearch is a fork of Elasticsearch 7.10.2 and Kibana 7.10.2, created in 2021 after Elastic moved Elasticsearch away from the Apache 2.0 licence, and it remains fully open source under Apache 2.0. Elasticsearch is Elastic's own search and analytics engine, which Elastic made open source again in 2024 by adding the AGPL licence option. Choose Elasticsearch for Elastic's latest features and cloud services, and OpenSearch for an Apache-licensed, community-run project or if you're on Amazon OpenSearch Service.

This pair has a history, and it decides which one you can use and how. I read Elastic's licensing FAQ, the Elastic founder's blog post on the licence change and the OpenSearch about and FAQ pages.

Elasticsearch and OpenSearch side by side

ElasticsearchOpenSearch
Who runs itElasticOpenSearch community and partners
LicenceSSPL, Elastic License or AGPL, your choiceApache License 2.0
OriginElastic's original engineFork of Elasticsearch 7.10.2, announced in 2021
DashboardsKibanaOpenSearch Dashboards, forked from Kibana 7.10.2
Managed serviceElastic Cloud Serverless and HostedAmazon OpenSearch Service and other providers
Self-hostingDownload and run locally or on KubernetesDownload from the OpenSearch project
Built onApache LuceneApache Lucene

Why the fork happened, in each side's words

Elastic's licensing FAQ says that in 2021, with release 7.11, it moved the Apache 2.0 source code of Elasticsearch and Kibana to a dual licence under the Server Side Public License and the Elastic License. In a blog post titled Elasticsearch Is Open Source. Again!, Elastic's founder explains the reason: issues with AWS and the market confusion its offering was causing, knowing the change would lead to a fork with a different name.

That fork is OpenSearch. Its FAQ says it was created from the last Apache 2.0 version of Elasticsearch and Kibana, and production use began with OpenSearch 1.0 in mid 2021. Here's the detail to watch: the OpenSearch FAQ still says Elastic's licences aren't open source, while Elastic's FAQ says it added the OSI-approved AGPL as an option in 2024. Both statements sit on official pages, so check the current licence terms yourself before you decide.

What Elasticsearch offers now

Elastic sells three ways to run Elasticsearch: Elastic Cloud Serverless with zero operational load, Elastic Cloud Hosted on the cloud of your choice, and self-managed Elasticsearch that you run locally or on Kubernetes. Around the core engine it offers observability, security and search products, and its site notes that Jina AI is now part of Elastic, bringing models for embeddings and reranking. Free trials are available for the cloud options.

If you're choosing for security and logging rather than search, you'll find more in our Elastic vs Splunk guide.

What OpenSearch offers

OpenSearch describes itself as a community-driven, open source search and analytics suite for ingesting, searching, visualizing and analysing data. It's built on Apache Lucene and ships OpenSearch Dashboards for visualization, plus built-in security, anomaly detection and alerting. All of the project's software is under the Apache License 2.0, and AWS runs a managed version called Amazon OpenSearch Service.

Dashboards matter too, and our Grafana vs Kibana guide helps you choose.

Five questions before you choose

  1. Do you need a permissive Apache 2.0 licence for your product? OpenSearch has it.
  2. Do you want Elastic's newest features and its own cloud? Elasticsearch.
  3. Are you already on AWS and want a managed service there? Amazon OpenSearch Service is the native route.
  4. Is AGPL acceptable to your legal team? Then Elasticsearch is open source for you too.
  5. Migrating an old 7.x cluster? Both trace back to the same 7.10 code, so check compatibility for your version.

For more on choosing data tools, see my round-up of data analytics tools, and if you're building AI search, my explainer on vector databases is useful background.

Work with me

Want AI doing the heavy lifting in your marketing?

I build the systems that handle the boring 80 percent, so you get your week back. Done properly, with the human kept in.

My advice on Elasticsearch or OpenSearch

If you want the latest search features and a managed service from the people who built the engine, choose Elasticsearch on Elastic Cloud. If your company prefers Apache-licensed software, or you live inside AWS, choose OpenSearch. For a small business adding site search or log analysis, the managed option you can support easily matters more than the licence debate, so pick the one your team or host already knows.

Do you make search or analytics tools? Tool makers can ask to be considered for a featured place in comparisons like this one.

Frequently asked questions

Is OpenSearch a fork of Elasticsearch?

Yes. OpenSearch was forked from Elasticsearch 7.10.2 and Kibana 7.10.2, announced in early 2021, and released for production in mid 2021.

Is Elasticsearch open source again?

Elastic says it added the OSI-approved AGPL as a licence option in 2024, alongside SSPL and the Elastic License.

What licence does OpenSearch use?

All software in the OpenSearch project is released under the Apache License 2.0.

Why was OpenSearch created?

OpenSearch says it forked the last Apache 2.0 version after Elastic changed its licences in 2021. Elastic's founder says the change came from issues with AWS.

Does AWS offer Elasticsearch?

AWS offers Amazon OpenSearch Service, its managed version of OpenSearch.

Published and maintained by the Lilach Bullock team, covering marketing, AI and business growth.
Your buyers are asking AI who to use. Does it say you?

See for free whether ChatGPT, Claude, Perplexity, Gemini and Google name you, and get the plan to become the answer.

Check my AI visibility →
Sundays only

Get the Sunday newsletter.

One email a week. AI experiments, marketing tactics, and the workflows Lilach is building right now in her own business.

Subscribe free

Let’s get your marketing running on AI.

Book a free 30-minute call

We figure out what you need, where AI fits in, and what working together would look like.

Book the call →

Or take the 30-second calculator

You’ll see the hours and the money quietly leaking out of your week, and the three workflows worth building first.

Take the calculator →

Or grab the free AI resource library

Prompt packs, templates, checklists, and swipe files. The exact tools I build for paying clients. Yours, free.

Get the library →
Keep reading

More from the blog.