Amazon OpenSearch Service vs self-managed Elasticsearch

Teams on legacy Elasticsearch domains on Amazon OpenSearch Service can move to self-managed Elasticsearch or stay on OpenSearch. The decision turns on licensing terms, snapshot version paths, security features by subscription tier and who operates the cluster.

On this page

When Amazon OpenSearch Service vs self-managed Elasticsearch favors each option

If you run a legacy Elasticsearch domain on Amazon OpenSearch Service and want to stay on Elasticsearch rather than move to OpenSearch, the managed service fits teams that want AWS to handle patching, node replacement and IAM integration, and that accept OpenSearch as the destination. Self-management fits teams that need a current Elasticsearch release line, want direct control over node roles and cluster settings, or can use the AGPLv3 option. The decision turns on four questions, and OpenSearch remains a valid choice for some teams, especially those whose workloads already depend on AWS-native operations.

The first question is licensing. Elasticsearch's default distribution is under the Elastic License 2.0, and the AGPLv3 option is OSI-approved, so confirm with your legal and procurement teams which terms your organization can accept before you pick a version. The second is the snapshot path. Elastic's documentation states that a snapshot cannot be restored to an earlier version and that restored indices must be compatible with the target version, so map every index on the domain to a target release line and test a restore into a non-production cluster before you commit. Check the Elastic end-of-life dates for each candidate line as well.

The third question is which security features you need and in which subscription tier. Elastic made TLS, the file and native realms and role-based access control free in the Basic tier, but single sign-on, field- and document-level security and anomaly-based alerting sit in paid tiers, so list your SSO, field-level access and alerting requirements and confirm current tier availability on Elastic's subscriptions page. The fourth is operations: who patches the cluster, responds to node failures, and maintains at least three master-eligible nodes for high availability. If that staff does not exist in-house, the operating cost of self-management can outweigh the license difference.

Which option fits each scenario

This table maps common team situations to the option that usually fits better, along with the condition that makes it matter. Read each row against your own licensing, security and operating constraints, since most teams will find that two or three rows describe them.

ScenarioBetter fitWhy
Team needs an OSI-approved licenseOpenSearch (Apache-2.0) or Elasticsearch under AGPLv3OpenSearch is Apache-2.0 throughout. Elasticsearch's default distribution is ELv2, which is not OSI-approved, but AGPLv3 is available as an OSI-approved option, so confirm which build your procurement policy accepts.
Team needs SSO or field-level security without a paid tierConfirm before deciding; OpenSearch security plugin or a current Elastic subscriptionElastic moved TLS, file and native realms and RBAC to the free Basic tier, but SSO, LDAP/AD and field- or document-level security stayed in paid tiers. OpenSearch includes its security plugin, so check the features you need against each project's documentation.
Team on a very old 6.x or 7.x index set that must migrate in stagesStaged migration to current Elasticsearch, with OpenSearch as an interim option only if the indices are compatibleSnapshots cannot be restored to an earlier version, and restored indices must match the target version. OpenSearch reads indices from Elasticsearch 6.0 through 7.10, so an intermediate hop may be needed for older sets; plan reindexing or stepwise upgrades.
Team wants AWS to handle upgrades and node failuresAmazon OpenSearch ServiceA managed domain takes on much of the operational work of patching, failover and node replacement. Self-managed clusters move that work to your team, so weigh it against the staff time you can dedicate to on-call and upgrades.
Team must avoid AWS-managed control planesSelf-managed Elasticsearch or OpenSearch on your own infrastructureRunning the cluster yourself keeps the control plane, snapshots and access paths under your administration. A highly available Elasticsearch cluster needs at least three master-eligible nodes, so size the operating team and hardware accordingly.
Team must keep Elastic's current feature setSelf-managed Elasticsearch on a current release lineElastic's current release lines and Kibana receive features that OpenSearch does not track one-to-one. Check current support dates on Elastic's end-of-life page, and confirm which paid tier any feature you rely on requires.

What Elastic's licensing and subscription tiers mean for your choice

The Elastic License 2.0 (ELv2) is the default distribution of Elasticsearch and Kibana and has been the default since 2021, according to Elastic's licensing FAQ. It is a source-available license, not an OSI-approved open source license, so it is the option to check first if your legal or procurement policy requires OSI-approved software. Many organizations can use ELv2 software internally without issue, but the license restricts offering the product as a managed service to third parties, so confirm the terms against your intended use.

  • Default path: Packages downloaded without choosing a license default to ELv2.
  • Not OSI-approved: Policies that accept only OSI-approved licenses will rule this option out.
  • Managed service limits: Offering Elasticsearch as a hosted service to others is restricted, which matters for internal platform teams that resell capacity.
  • Tier features still apply: Choosing this license does not by itself unlock paid security or alerting features.

Ask your counsel to review the ELv2 text against your specific use, including any internal service offering, before you standardize on it.

Amazon OpenSearch Service vs self-managed Elasticsearch capabilities side by side

This table compares Amazon OpenSearch Service with self-managed Elasticsearch across licensing, engine lineage, cluster design, Kubernetes deployment, security tiers and release lines. Read the cells marked to confirm as questions for AWS and Elastic before you commit, since AWS-only features and client differences are not covered by the researched facts.

CapabilityAmazon OpenSearch ServiceSelf-managed Elasticsearch
License termsRuns OpenSearch, which is released entirely under Apache License 2.0Elastic License 2.0 by default, with SSPL 1.0 and AGPLv3 also available; only AGPLv3 is OSI-approved
Engine lineageOpenSearch is a fork of open source Elasticsearch 7.10 and wire-compatible with 7.10Current Elasticsearch release lines 9.5.5 and 9.4.8, with 8.19.23 still maintained
Node roles and data tiersConfirm with AWS documentation which node types and storage tiers are exposed, such as UltraWarm and cold storageMaster-eligible, data (hot, warm, cold and frozen), ingest, machine learning, transform, remote cluster client and coordinating-only
High availability minimumManaged by AWS on provisioned domains; confirm the dedicated master and multi-AZ settings for your domainAt least three master-eligible nodes for a highly available cluster
Kubernetes deploymentNot applicable; runs as a managed domain in AWSElastic Cloud on Kubernetes operator for Elasticsearch, Kibana, Elastic Agent, Logstash and Beats
Security featuresConfirm with AWS which fine-grained access control, IAM and encryption options apply to your domain versionSingle sign-on, attribute-based access control, field- and document-level security, encryption at rest support and FIPS 140-3 mode in paid tiers
Client and API differencesConfirm client library and API compatibility with your application and the version you targetConfirm client library versions and API changes against the Elastic documentation for your target release
Snapshot restore limitsConfirm snapshot repository and restore version rules in AWS documentation before planning a moveA snapshot cannot be restored to an earlier Elasticsearch version and restored indices must be compatible with the target version

How snapshot version limits shape the move to current Elasticsearch

The migration path depends on the age of every index you hold, because a snapshot cannot be restored to an earlier version of Elasticsearch, and any restored index must be compatible with the target cluster's version. Before you choose a destination release, map each index to the version that created it, including indices that were reindexed or came in through older snapshot repositories. Group them by origin version, since an index that cannot be restored directly into your target will need a reindex from its source or a staged hop through an intermediate release. Pull the index settings and creation metadata from the existing domain and record the results in a migration inventory that the platform, security and compliance teams can all review.

Those version constraints set the time window for staged upgrades. Elastic's end-of-life dates give the outer limits: the 8.x line reaches end of maintenance on January 15, 2027, with support ending July 15, 2027, and the 9.x line reaches end of maintenance on October 15, 2027, according to Elastic's product end-of-life page. Work backward from those dates. Each stage (upgrade the cluster, validate indices, re-snapshot, then move to the next major) needs room for testing, rollback and change approval. If your inventory shows indices that require two or more hops, the plan may need to start well before the dates above, and a cluster that is still on 8.x at the end of maintenance will be running without routine fixes for its remaining support period.

Confirm the supported restore path in Elastic's snapshot and restore documentation before you commit to a target release, since the rules for each source and target version pair are the authoritative answer. Then rehearse the restore on a non-production cluster built to the target version, using a copy of a real snapshot repository. Check document counts, mappings, analyzers, index templates and any security role or API key references, and time the restore so the production cutover window is based on measured results rather than estimates. Record any index that fails the rehearsal as a blocker for the plan, not as a footnote.

Where data lives and who controls the cluster under each option

The choice between a managed AWS domain and a cluster you run shifts where data sits, who operates the nodes, and who produces the evidence a reviewer asks for. Each card below covers one boundary that changes the decision, with the condition under which it matters. DeployOpen prepares controls and evidence for assessments, but independent auditors and certification bodies issue the reports.

Data location and account boundary

A managed Amazon OpenSearch Service domain runs inside an AWS account and region you select, and the data stays in that account's storage. Self-managed Elasticsearch runs wherever you place the nodes, including your own data center or an air-gapped network. This matters when a data residency rule names specific countries, facilities or networks. Confirm with AWS and your counsel which regions, sub-processors and support access paths apply to the managed domain, and map every node and backup location for the self-managed option.

Operating system and network control

With a managed domain, AWS patches the underlying operating system and controls much of the network path between nodes. In a self-managed cluster, your team picks the OS image, kernel patch cadence, firewall rules, load balancers and whether nodes can reach the internet at all. This decision matters for air-gapped networks and for teams that must show a change record for every host. Ask who owns patching windows, how node images are rebuilt, and which network segments the cluster can reach.

Identity and SSO integration

Single sign-on for Elasticsearch is a paid subscription feature, and its SAML, OpenID Connect and Kerberos support sits behind the Elastic subscription tiers. The OpenSearch security plugin handles SSO and role mapping on the self-managed side, and a managed domain connects through IAM and its own authentication settings. Check which identity provider you must federate with, whether role mapping must match an existing access model, and who holds administrator credentials in each design.

Elastic subscriptions

Audit logging and compliance evidence

Reviewers usually ask for who accessed which index, when configuration changed and where logs are retained. On a managed domain, you depend on the audit log settings AWS exposes and on how far those logs can be exported to your own store. On a self-managed cluster, you choose the audit log sink, retention period and tamper controls, which gives more control but also more work to document. Ask the vendor for the exact audit events available, and agree on the evidence set before the assessment starts.

Backup destinations and snapshot repositories

A managed domain writes automated snapshots that you cannot always inspect or move directly, while manual snapshots can go to an S3 bucket you own. A self-managed cluster can register snapshot repositories on any object store your organization controls. Elastic's documentation states that a snapshot cannot be restored to an earlier version and that restored indices must be compatible with the target version, so the repository choice also affects upgrade paths. Confirm bucket ownership, encryption keys, retention locks and a tested restore into the target version.

Snapshot and restore docs

Certificates and TLS administration

Transport and HTTP TLS are part of the cluster baseline in both models, but the admin work differs. On a managed domain, AWS manages much of the certificate lifecycle for the endpoints it exposes. In a self-managed cluster, your team issues, rotates and revokes node and client certificates, and must handle trust chains for every node and client. Missed rotations cause outages, so check who owns the certificate authority, how renewals are automated, and how a compromised key would be replaced across all nodes.

Check index compatibility before choosing an upgrade or restore path

The path starts at the legacy Amazon OpenSearch Service domain and first inventories indices by their origin version, since Elastic's documentation says a snapshot cannot be restored to an earlier version and each restored index must be compatible with the target. Compatible indices move to a staged upgrade or a direct snapshot restore, and the license and subscription tier is checked before deployment. The lower branch covers the choice to stay on OpenSearch, which avoids Elastic subscription decisions. Teams should confirm the target release and tier against Elastic's current documentation before committing.

Decision path from a legacy domain to either OpenSearch or self-managed Elasticsearch.

Cost components on each side and what moves the total

The managed side of this comparison bills for compute and storage as separate lines: instance hours for each data and master node, the EBS volumes attached to them, and any tiered storage option your domain uses. Those lines recur every month, and they move with node count, instance size, retention period and replica count. Ask the provider for the node count and instance type behind each line, and check whether the quote assumes a reserved term. If the domain still runs an Elasticsearch version that is moving to Extended Support, add that charge as its own recurring line. Compare it with the upgrade and exit options on the Amazon OpenSearch Service Extended Support charges page before you accept the current price as the baseline.

The self-managed side splits into hardware or cloud instances, disks, snapshot storage, monitoring and staff time. Plan for at least three master-eligible nodes, plus data nodes sized for your hot, warm, cold or frozen tiers, because the node roles documentation makes three master-eligible nodes the minimum for a highly available cluster. Snapshot repositories, backup verification and log retention add storage that recurs. The largest variable is on-call and upgrade labor, which recurs and is easy to underestimate. If you need single sign-on, field- or document-level security or anomaly-based alerting, the subscription tier that includes them is a recurring cost. Elastic's subscriptions page says the Platinum tier is no longer offered to new customers, so confirm which tier actually covers each feature before you model it.

One-time costs include schema and mapping work, test restores of snapshots into the target version, and security configuration such as SSO, roles and audit logging. Because Elastic documents that a snapshot cannot be restored to an earlier version, test restores also tell you whether an upgrade path is needed first. When you request a quote, ask for a written list of required features with the subscription tier each needs, the node counts for master-eligible and each data tier, the storage and retention assumptions, and the staff hours assumed for operations and upgrades. Quotes that cannot produce these items are not comparable, whichever side they come from.

What moving to self-managed Elasticsearch involves at a high level

The sequence below takes a team from an inventory of its legacy Amazon OpenSearch Service domain to a self-managed Elasticsearch cluster that has been tested, cut over and decommissioned, with a rollback path at each risky stage.

  1. Inventory domains, indices, templates and monitors

    List every domain, index, index template, ingest pipeline, index lifecycle policy, security role, alerting monitor and saved dashboard object, and record which application owns each one. Application owners must confirm which indices are live, which are stale and which feed reports or compliance processes. The step is done when the inventory has an owner and a retention requirement for every item, reviewed by the people who will sign off the cutover.

  2. Confirm license and subscription tier

    Compare the features your domain uses today, such as fine-grained access control, single sign-on, field- or document-level security, anomaly detection alerting and encryption controls, against the Elastic licensing options. Elastic's licensing FAQ describes the Elastic License 2.0 default distribution, the AGPLv3 option and the SSPL option, and the self-managed subscriptions page lists which security features sit in paid tiers. Your legal and procurement teams must sign off the chosen license, and the decision is complete when each required feature maps to a named tier or a replacement.

  3. Build the target cluster with node roles

    Design the target cluster with node roles such as master-eligible, data tiers, ingest and coordinating-only, sized from the inventory. Elastic's node roles documentation says a highly available cluster needs at least three master-eligible nodes, so the platform team must provision that quorum across failure domains. Your infrastructure team supplies the hosts, storage, network and TLS certificates. The step closes when the cluster reports healthy in a test environment and a failover test has passed.

  4. Snapshot and restore into a compatible version

    Take snapshots of the source domain to a repository both clusters can reach, then restore them into a test cluster. Elastic's snapshot documentation says a snapshot cannot be restored to an earlier version and that restored indices must be compatible with the target version, so confirm version compatibility before any copy is attempted. The data owner should check document counts, mappings and sample queries against the source. The step is complete when restored indices match the agreed checks.

  5. Migrate clients and check API differences

    Inventory every application, script, dashboard and alert that calls the cluster, then update client libraries and API calls where behavior differs between the managed service and self-managed Elasticsearch. Application owners must supply their query sets and test data so the team can compare responses, not only status codes. Confirm the version-specific client settings in a staging environment. The step is done when each client passes its test suite against the target cluster.

  6. Run parallel reads and validate results

    Send production read traffic to both the source domain and the target cluster for a period agreed with the business owners, and compare result sets, latency and error rates. Keep writes flowing to the source until validation passes. Your QA and application teams own the comparison, and the step closes when the differences are documented and accepted or fixed.

  7. Cut over with a tested rollback plan

    Switch writes and reads to the self-managed cluster during an agreed change window, with the source domain kept intact and a written rollback procedure. Name who can trigger rollback and what signals would prompt it, such as error spikes or missing data. Operations staff must rehearse the rollback before the change window. The cutover is complete when write traffic has run on the target cluster and monitoring shows the expected behavior.

  8. Decommission the domain after retention is met

    Once retention requirements for the source data are met and snapshots are stored in your own repository, delete the Amazon OpenSearch Service domain and remove its access policies, roles and billing entries. Compliance and records owners must confirm in writing that retention obligations are satisfied before deletion. The step is done when the domain is gone, the snapshot repository is documented, and the change record is closed.

Questions buyers ask before choosing or hiring help

Can OpenSearch read indices created by Elasticsearch 7.10 and older versions?

Yes, OpenSearch is a fork of open source Elasticsearch 7.10 and can use indices from Elasticsearch 6.0 through 7.10, according to the OpenSearch FAQ. That is useful for a migration that stays on OpenSearch, but it does not carry over to a move to Elasticsearch. A snapshot cannot be restored to an earlier Elasticsearch version, and any restored index must be compatible with the target cluster's version. Before choosing a target, confirm the exact version of each source domain and the index versions it holds, then map each index to a compatible target in a test environment.

How long does a move from a legacy Elasticsearch domain take?

The duration depends on what you are moving, and no fixed timeline applies to every domain. The main drivers are total index size, the number of versions between the source and target, how many clients, pipelines and integrations call the cluster, and how much testing the business requires before cutover. Version gaps add work because indices may need reindexing or compatibility changes. Ask any implementation partner to state the phases, the testing exit criteria and the cutover window in the written scope, and to name which of those depend on your data volumes.

What does the organization need to provide for the work?

The work needs named owners, test environments and access to the relevant AWS accounts and staff who can validate results. Assign one owner for the data and index mapping, one for client applications, and one for security and access controls. Test clusters should mirror the source versions and index shapes closely enough to catch incompatibilities. Your staff must confirm that search results, dashboards, alerting and user access behave correctly after each step. Put these responsibilities, along with change windows and sign-off points, into the written scope before work starts.

Can an internal team migrate the cluster without outside help?

An experienced internal team can do it, provided it has the right skills and enough time alongside its existing duties. The skills needed include Elasticsearch or OpenSearch cluster administration, snapshot and restore, index mapping and reindexing, client library updates, Kubernetes or VM operations for self-managed nodes, and security configuration covering SSO, roles and audit logging. Teams that have not run a self-managed cluster often underestimate the on-call and patching work that follows the move. Assess your staff against that list before deciding whether to build internally, hire help for specific phases or engage a fixed-scope partner.

What does the Basic tier include, and what requires a paid tier?

The Basic tier, which Elastic describes as Free and open, includes TLS, the file and native user realms and role-based access control, following Elastic's 2019 decision to free these security features. Single sign-on through SAML, OpenID Connect, Kerberos or JWT, Active Directory and LDAP authentication, and field- and document-level security sit in paid tiers. Anomaly detection alerting rules are limited to Platinum and Enterprise. Elastic also states that Platinum is no longer offered to new customers. Confirm current feature availability on the Elastic subscriptions page before you plan around any tier.

Does AGPLv3 satisfy an OSI-approved open source requirement?

Yes, Elastic added AGPLv3 to Elasticsearch and Kibana in September 2024 specifically to offer an OSI-approved open source option, according to its licensing FAQ. The Elastic License 2.0 and SSPL are not OSI-approved. Choosing AGPLv3 does not remove other obligations. AGPLv3 carries copyleft requirements that apply when you modify and provide the software over a network, so legal counsel should review how your internal and customer-facing usage fits. Ask Elastic and your counsel to confirm the license applicable to the specific release you plan to run.

What should a fixed-scope engagement cover in writing?

A fixed-scope engagement should list the source domains, target versions, indices and integrations in scope, the migration method, the test plan, the cutover and rollback steps, and the handover documentation. It should also state the security configuration to be delivered, including SSO, role mapping, audit logging and snapshot policy, and what is excluded. Request the deliverables, acceptance criteria, responsibilities on both sides and the change process for scope additions. DeployOpen plans, implements, integrates, hardens, backs up, documents and supports self-hosted platforms in your own infrastructure, and provides a quote from the written scope, since no public price list exists.

How DeployOpen helps evaluate, implement or migrate

DeployOpen plans, implements, hardens, documents and supports self-hosted open-source platforms inside your own cloud accounts, data centers or air-gapped networks. For a move from Amazon OpenSearch Service or a legacy Elasticsearch domain to self-managed Elasticsearch, we start by confirming which version, license and feature set your team actually needs before any cluster is built.

How we scope

  • Inventory the current domain versions, index counts, plugins, security roles and Kibana or Dashboards objects in writing.
  • Confirm which Elastic license option fits your policy, since the default distribution and the AGPLv3 option differ.
  • Agree in writing which paid Elastic features, such as SSO or field-level security, are in or out of scope.

How we build

  • Size and deploy a highly available Elasticsearch cluster with at least three master-eligible nodes and documented node roles.
  • Configure TLS, authentication, role-based access and audit logging so your security and compliance teams can review them.
  • Test snapshot restores into the target version before any cutover, so compatibility limits are proven rather than assumed.

How we hand over

  • Deliver architecture, runbooks, backup and restore procedures and a version upgrade plan tied to Elastic's published support dates.
  • Document the access control, encryption and logging configuration as evidence for your internal and external reviews.
  • Run a joint cutover rehearsal and retest the setup after changes, with findings and fixes recorded in the handover pack.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after handover.
  • Schedule patch and major version upgrades against Elastic's end-of-life dates for your running release line.
  • Ask for a quote built from the written scope, covering one-time build work and recurring retainer effort separately.

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.