Planning an OpenSearch 2.x to 3.x upgrade before you touch a node
Moving a self-managed cluster from OpenSearch 2.x to 3.x is a planned project with a documented path, not a version bump. The work starts with an inventory of what the cluster holds, which versions of indexes it contains, which plugins and settings it depends on, and how much downtime the business will accept. Version 2 is maintained only through the 4.0 GA release, and during maintenance a version receives bug fixes and security patches but no new features. That gives you a deadline to plan against, and it means staying on 2.x is a decision with a known end point rather than a open-ended choice.
OpenSearch documents four methods: rolling upgrades, snapshot and restore, remote reindexing and Migration Assistant. A rolling upgrade replaces nodes one at a time in the existing cluster and suits a clean 2.x cluster that can tolerate node restarts. Snapshot and restore builds a new 3.x cluster and loads data from a snapshot, which fits when you want a clean target or need to test it first. Remote reindexing copies documents into new indexes and fits older index formats or selective moves. Migration Assistant can move workloads across several major versions in one step and supports live traffic capture for low or zero downtime, so it is the option to evaluate when the cluster holds pre-2.x indexes or downtime is tightly limited. Confirm current support for each path against the migrate or upgrade documentation.
The right method depends on the cluster's age and your tolerance for downtime, so answer those two questions first. Ask whether any index was created before 2.x, since those indexes need reindexing or a migration path before the cluster can take 3.x. Ask which writes must continue during cutover and whether a read-only window is acceptable. Then record the plugins, JDK version and settings in use, because each one determines whether a node can be restarted in place. The Migration Assistant suitability guide helps frame that choice. Decide the method before scheduling any change window.
What changes in 3.x and what each change requires from you
This table lists the 3.x changes that affect a 2.x upgrade, what each one does to a running cluster, and the work you need to plan. Read each row as a pre-upgrade check, and treat the release notes for your target version as the authoritative list of removed items and limit values.
| Change | Impact | Action needed |
|---|---|---|
| JDK 21 runtime | Nodes need a supported JDK before the 3.x binaries will run on them. | Confirm the required JDK in the 3.x release notes, then upgrade Java on every node and plugin host before changing OpenSearch. |
| Removed settings | Settings deprecated in 2.x may be removed, so nodes can fail to start or behave differently. | Confirm the exact list in the breaking-change documentation for your target version, then diff node configuration files against it. |
| Removed or changed plugins | Plugins may lack a 3.x build, and a missing plugin can block node startup. | Inventory every installed plugin and its version, confirm each one's 3.x compatibility, and plan replacements or removals. |
| New request limits | Bulk sizes, query parameters or client requests that worked on 2.x may now be rejected. | Confirm the limit values for 3.x, then test your largest bulk requests and client libraries against a staging cluster. |
| Pre-2.x indexes | Indexes created in older Elasticsearch or OpenSearch versions may not open on 3.x. OpenSearch can use indices from Elasticsearch 6.0 through 7.10. | List each index's creation version. Reindex any index outside the supported range into a new index, then compare document counts and mappings. |
| Dashboards and saved objects | Visualizations, saved objects and Dashboards plugins can change or break after the upgrade. | Confirm removed Dashboards features, match plugin versions to the core release, and migrate saved objects in staging first. |
| k-NN and vector indexes | Engine defaults and k-NN settings may change, which can affect existing vector indexes and query results. | Confirm engine and setting changes for 3.x, then compare recall and query results on a copy of each vector index. |
| Upgrade method | A rolling upgrade needs a supported starting version, while Migration Assistant can move workloads across several major versions in one step. | Check your current version against the supported path, then choose rolling upgrade or Migration Assistant before scheduling any node changes. |
What to prepare before the first node restarts
Each card below produces a document or check the team can review before any node restarts. Together they establish a rollback point, a list of what must change, a realistic test target, a security baseline and a health reference to compare against during the upgrade.
Verified snapshot repository
Before any change, confirm that a snapshot repository is registered, that a full snapshot of every index completes, and that a test restore into a separate cluster succeeds. The output is a snapshot listing with a completion state and a restore log showing the indexes came back with matching document counts. A snapshot you have never restored is not a rollback plan, so treat the restore test as the deliverable. Record the OpenSearch version and the repository location in the upgrade runbook.
Migrate or upgrade docsInventory of plugins, mappings and clients
List every plugin installed on each node, every custom index mapping, every stored or ingest script, and every client library and application that calls the cluster. Mark each item as supported, replaced or needing a version change in 3.x. The output is a signed-off spreadsheet with an owner for each row. Items that depend on removed settings or older API behavior are the most common source of failed post-upgrade tests, so confirm each one against the 3.x release notes rather than assuming it carries over.
Production-like test environment
Build a test cluster with the same node roles, shard counts, plugin set, security configuration and approximate data volume as production, then run the upgrade there first. Include a copy of production indexes that were created before 2.x, since those need reindexing. The output is a test upgrade log and a list of every step that needed a change, with timings recorded. A single-node test cluster cannot reveal allocation or cluster manager behavior, so the topology match matters more than the data size.
Security configuration and certificate review
Review the Security plugin configuration for each identity backend in use, including SAML, OpenID Connect, LDAP and any Active Directory or Kerberos setup. Confirm role mappings, document and field-level rules, audit log settings and the expiry date of every TLS certificate for node and client traffic. The output is an exported copy of the security configuration and a certificate table with expiry dates. Renewing a certificate during the upgrade window adds risk, so it is better to resolve expiring certificates beforehand.
OpenSearch security docsHealth baseline and node role layout
Record cluster health, shard counts, unassigned shards, disk and heap usage per node, and the current node roles. Check that dedicated cluster manager nodes are in place and that replicas and shard allocation awareness spread copies across separate nodes or zones, as the cluster documentation recommends. The output is a baseline report that the team compares against after each node restarts. Without a baseline, it is hard to tell whether a yellow or red status during the upgrade is expected or a fault.
Creating a clusterChoosing between a rolling upgrade and Migration Assistant
The first decision is whether the existing cluster can be upgraded in place. A rolling upgrade keeps the same cluster and moves it node by node, so the team needs no second cluster, but it only works from adjacent versions and cannot be reversed by downgrading. Migration Assistant is the route to choose when the source cluster is further behind, or when the team wants a new target cluster and a controlled cutover. It can move workloads across several major versions in one step and supports live traffic capture for low or zero downtime. Read the Is Migration Assistant right for you? guidance in the OpenSearch documentation (Is Migration Assistant right for you?) before committing, and confirm the supported source and target version pairs for your release.
Snapshot and restore fits when a short write freeze is acceptable and the team wants a clean target cluster built from the same data. Remote reindexing fits when specific indexes must be rebuilt in the new cluster, for example pre-2.x indexes that need to be recreated under current mappings. Both routes ask for a second cluster with enough disk and memory to hold the data during the copy, and both need a snapshot repository that the source and target can reach. Migration Assistant asks more of the team: a deployed capture and replay setup, a shadow test of representative requests against the target, and a planned cutover window with a rollback plan for client traffic.
Whichever route you choose, write down the capacity you will pay for and who runs each step before work starts. A second cluster adds infrastructure cost that recurs until decommissioning, while a rolling upgrade adds mostly staff time for health checks between nodes. Ask any partner to show how the route handles your index versions, your plugins and your SSO and role configuration, and to test cutover on a copy of production data. Confirm the capacity needs, the traffic capture method and the test scope with your platform owners before choosing.
Choosing the upgrade method starts with assessing the cluster
The decision starts with an assessment of the cluster: whether indexes were created before 2.x, how much downtime the business tolerates, and which customizations must carry over. Those answers route the work to one of three paths: a rolling upgrade on the existing cluster, a snapshot and restore into a new cluster, or Migration Assistant with live traffic capture. Each path ends in validation against the same checks and a defined rollback point, so the reader can confirm the chosen method before any production change.
Decision path from cluster assessment to validation and a rollback point.
The upgrade sequence with checks and rollback points
The sequence turns a 2.x to 3.x upgrade into gated stages, each with a health or test check that must pass before the next stage starts and a clear rollback point, so the team never moves forward on an unverified cluster.
Take and verify snapshots before any change
Register a snapshot repository on storage outside the cluster, take a full snapshot of every index including system indexes and security configuration, and restore a test subset to a scratch cluster to confirm the snapshot is readable. The team owning the cluster performs this work, and the gate is a successful test restore with recorded index counts and document counts. This verified snapshot is the primary rollback point, because a rolling path cannot be downgraded once nodes run 3.x.
Reindex or migrate pre-2.x indexes
Identify every index created in a version before 2.x, which the 3.x line will not read, and reindex each into a new index or migrate it with Migration Assistant. Compare document counts and sample queries between source and target, and keep the source indexes until the cutover is accepted. The gate is a reconciliation report showing matching counts and query results for each reindexed index, with no index left on an unsupported format.
Move all nodes to JDK 21
Upgrade the Java runtime on every node, including dedicated cluster manager, data, ingest and coordinating nodes, and on any Dashboards host, while the cluster still runs its current version. Confirm the JDK version each process reports after restart and that the bundled or referenced runtime matches the target release notes. The gate is a node inventory showing JDK 21 on every host, with no node left on an older runtime.
Update plugins, settings and configuration for 3.x
Remove settings and plugin references that 3.x no longer accepts, replace them with the documented successors, and align every plugin version with the target release. Apply the changes to a staging cluster built from the same configuration, and run the cluster startup checks there. The gate is a clean staging start with no deprecation or unknown-setting errors, and a reviewed diff of configuration files that the upgrade owner signs off.
Upgrade nodes one at a time with health checks
Follow the rolling procedure to upgrade one node, wait for it to rejoin, and confirm cluster health returns to green before touching the next node. Keep cluster manager nodes in the order the cluster requires and avoid restarting more than one node per shard copy group. The gate after each node is a healthy cluster with shards allocated and no unassigned replicas, recorded in the change log. Stop and assess if health does not recover within the team's agreed window.
Run application and Dashboards tests against 3.x
With the cluster fully on 3.x, run the application's search and indexing test suites, the log ingestion pipelines, alerting and security role checks, and the Dashboards saved object and plugin tests. Compare results with the baseline recorded before the upgrade. The gate is a passing test run with any deviations triaged, and a written decision from the application owners that the cluster can serve production traffic.
Cut over clients and keep the parallel cluster
Switch client endpoints, pipelines and Dashboards links to the upgraded cluster in a planned change window, with a documented way to point them back. Keep the parallel or pre-upgrade cluster and its verified snapshot available until the owners accept the new platform. The completion check is a monitored period on the new cluster with error rates, query latency and ingestion lag inside the baselines the team set, followed by a signed closure record.
How the path differs by deployment type
Package installs keep the JVM, service definitions and configuration files on hosts you manage directly. The upgrade changes each node in place, so the work centers on the package manager, the service manager and the configuration files that carry over. Plan the sequence host by host, treating each node as one unit of change.
- Package handling: Tarball installs unpack the new release into a separate directory and you move configuration across, while RPM and Debian packages replace files through the package manager. Confirm which files the target release expects to keep.
- JDK 21: Version 3.x moves the runtime to JDK 21, so install and verify that runtime on every node before you stop any service.
- Service control: Stop, upgrade and start each node through your service manager, and keep
opensearch.ymlandjvm.optionsunder version control so you can compare them with the new defaults. - Host settings: Check the host settings the install docs cover, such as memory and file limits, on each machine, because hand-configured hosts drift over time.
Before scheduling any host, confirm the package names, JDK requirements and configuration changes for your target version in the OpenSearch install docs.
Container and chart deployments replace the running software with a new image, while data and configuration live in volumes, persistent claims or values files. The upgrade is therefore a controlled recreate of each node that keeps its data mounted. Image tags and chart versions become the main change records, so pin both explicitly.
- Image tags: Pin the exact image tag for each node instead of a floating tag, so every node runs the same release at the same time.
- Persistent data: Confirm the data volume path is identical in the new image and that the volume is attached to the same node identity before a container is recreated.
- Environment and values: Review discovery, memory and security environment variables or Helm values against the target release, since defaults and key names can change between majors.
- Chart and image pairing: For Helm, record the chart version and the image version separately, and render the manifests and compare them before applying the release.
- Restart pacing: Control how many nodes restart at once through the workload's update settings, and check cluster health before each subsequent node restarts.
For Docker Compose or Helm, read the release notes for the image and the chart together, and confirm the chart's supported image versions with its own documentation before you change any values.
The OpenSearch Kubernetes Operator owns the lifecycle of the pods it manages, so the upgrade is driven by the cluster specification rather than by hand-run restarts. Your job shifts from restarting nodes to confirming that the operator's behavior and the target version fit your topology. Storage and identity ownership matter more here because the operator controls how pods and volumes are reattached.
- Declared version: Changing the version in the cluster spec starts the operator's rolling process, so review the full diff of the spec, not only the version field.
- Manual changes: Avoid manual pod deletions or StatefulSet edits during an upgrade, because they can conflict with the operator's reconciliation.
- Storage ownership: Confirm which node groups use persistent volumes and which use ephemeral storage, since an ephemeral data node is a different recovery case.
- Supported jumps: Confirm in the operator documentation whether the path you plan, including any move across more than one major version, is supported before you change the spec.
- Health gating: Ask how the operator decides a node is safe to restart and what it does when the cluster does not return to a healthy state.
Before you start, check the operator's own upgrade documentation for your target version and test the same change in a non-production cluster that matches your node groups.
What makes an OpenSearch 3.x upgrade take longer
This table lists the drivers that lengthen a 2.x to 3.x upgrade, why each one matters, and how to shrink it before the maintenance window. Read each row as a question to answer about your own cluster before estimating effort, since most drivers multiply when several apply at once.
| Driver | Why it matters | How to reduce it |
|---|---|---|
| Pre-2.x indexes needing reindexing | Indexes created in older major versions must be reindexed or migrated before the cluster can read them after the upgrade, so volume sets the work. | Inventory index creation versions and sizes early, delete unused indexes, and reindex in batches ahead of the upgrade window. |
| Custom plugins and security roles | Each custom plugin must be checked against 3.x, and roles with document or field controls need review, so many mature customizations add testing rounds. | Remove unused plugins, pin known compatible versions, and document each role with its owner before testing begins. |
| Dashboards objects and legacy notebooks | Saved objects, visualizations and notebooks created in older releases may need migration or replacement, and users must confirm their dashboards still work. | Export saved objects, migrate legacy notebooks before upgrading, and ask dashboard owners to sign off on a shortlist. |
| Client applications using removed settings | Applications, scripts and ingestion pipelines that call removed settings or old APIs fail after the upgrade, and fixes often need separate release cycles. | Search client code and configuration for deprecated settings, test against a 3.x staging cluster, and coordinate application owners. |
| Cluster topology and node count | More nodes mean more restarts in a rolling upgrade and more health checks between steps, while mixed roles on few nodes make each restart riskier. | Confirm dedicated cluster manager nodes and shard replicas before starting, and plan node order and health checks in advance. |
| Availability requirements | Strict write or search availability limits what restarts or cutovers are possible, which can push the team toward a parallel cluster approach. | Agree acceptable read and write interruption in writing, then compare rolling upgrade and Migration Assistant against that limit. |
Questions teams ask before upgrading OpenSearch to 3.x
Does a paid edition or vendor license affect an OpenSearch 3.x upgrade?
No. All software in the OpenSearch project is released under the Apache License, Version 2.0, and the OpenSearch FAQ does not describe a paid edition, so the upgrade carries no license fee. Your costs come from the work itself: planning, testing, staff time, and any support you choose to buy. Check the license of any plugin, connector or dashboard add-on you run separately, because your upgrade plan should cover those components too. Ask your legal or procurement team to confirm that your intended use fits the license terms before you commit to a version.
How long is OpenSearch 2.x maintained after 3.x arrives?
Version 2 is maintained through the 4.0 GA release. Each OpenSearch version stays under maintenance until the next major version enters maintenance or one year passes, whichever is longer. During maintenance, a version receives bug fixes and security patches but no new features. Staying on 2.x therefore means security patches continue only for as long as the 2.x line is maintained, so plan the move to 3.x against that window. Check the OpenSearch releases page for the current maintenance dates before you set a target date, and confirm them again when you schedule the work.
Can a rolling upgrade go straight from OpenSearch 2.x to 3.x?
Confirm this against the upgrade documentation for your target 3.x release, because the supported path is defined there. OpenSearch documents four methods: rolling upgrades, snapshot and restore, remote reindexing and Migration Assistant. Whether a rolling upgrade works for your cluster depends on your starting version, the age of your indexes, your plugins and your client code. Indexes created before 2.x need separate attention, typically reindexing, before the move to 3.x. Read the migrate or upgrade guide and test the exact path on a copy of your data before you plan a production window.
What must our team supply before an OpenSearch upgrade starts?
Four inputs decide whether the work can start on schedule. Most delays trace back to one of them being missing or late.
- An inventory of clusters, nodes, indexes, index templates, plugins, Dashboards objects and every client application that reads or writes data.
- Access to the cloud accounts, hosts, Dashboards and admin credentials needed to run the upgrade and to verify it.
- A test window and a staging cluster loaded with representative data, so each step can be rehearsed before production.
- Named staff who own each application, can approve test results and can staff the cutover, including the on-call people who will watch the cluster afterwards.
Agree on these inputs in writing at the start, because they set the boundaries of the scope and the timeline.
Can our own team upgrade OpenSearch 2.x to 3.x in house?
Yes, if your engineers can run the documented migration method, test the result and operate the cluster afterwards. The upgrade is a change to a live search system, so the work depends on skills in cluster operations, index management, security configuration and host preparation for the newer JDK 21 runtime. Your team owns the outcome either way. Weigh your staff's time against the release schedule, the number of clusters and the number of client applications that must be verified. A partner works from a fixed written scope with agreed deliverables and timelines, and ongoing support or upgrades can be covered by a retainer if you want continuity after the move.
What drives the cost of an OpenSearch 3.x upgrade, and how do we get a quote?
DeployOpen does not publish a price list. A quote follows from a written scope, and the scope is set by the factors that change the effort. The main drivers are the number of clusters, nodes and environments, the volume of indexes that need reindexing, the number of plugins and any custom code, the security setup (identity backend, roles, TLS and audit logging), the client applications and integrations, and the compliance evidence you need afterwards. The upgrade itself is a one-time cost. Retainers for support, upgrades and continuous testing are recurring. When you ask for a quote, request the scope list, deliverables, environments, assumptions, exclusions, the client inputs required, the timeline and the retest terms, so you can compare offers on the same basis.
Can we roll back to OpenSearch 2.x after nodes are upgraded to 3.x?
Do not plan on downgrading upgraded nodes in place, because OpenSearch does not support that path. Your rollback option is set before the upgrade starts. In practice, that means taking a snapshot of the 2.x cluster, verifying that the snapshot can be restored, and testing the restore on a separate cluster. If you use another method, confirm in the documentation what standby or fallback option it supports. Note that writes accepted by the 3.x cluster after cutover are not in a pre-upgrade snapshot, so decide in advance how you will handle that data or whether you will accept the loss. Document this decision with the business owners before the window opens.
What DeployOpen delivers for an OpenSearch upgrade
A fixed-scope OpenSearch 2.x to 3.x upgrade engagement produces a set of written outputs that your team keeps after the work ends. The first is a written inventory and compatibility assessment covering every cluster, node role, index, index template, plugin, client application and scheduled job that touches the cluster. The assessment flags indexes created before 2.x that must be reindexed, settings and plugins removed in the 3.x line, JDK 21 readiness on every host, and request patterns that may hit the new request limits. It also records the current version and maintenance status of each cluster, so the business case for the move is written down with its dates. Scope, deliverables and timelines are agreed in writing before work starts, so you know exactly what is in and out before anything changes.
The second output is the chosen upgrade method with its rationale. DeployOpen compares the rolling upgrade path against snapshot and restore, remote reindexing and Migration Assistant, using your data volume, write tolerance, downtime window and rollback requirements. The decision is written down so your architecture and risk owners can challenge it. Where a test environment is in scope, DeployOpen builds it to mirror production topology, restores a recent snapshot, and runs the chosen method end to end, so the executed runbook has been rehearsed. The runbook itself records each step, the health checks between nodes or stages, the expected cluster status at each gate, and the rollback point. A security configuration review accompanies the runbook, checking TLS, identity backends, roles, audit logging and admin settings still behave as intended on 3.x. The handover package contains the as-built documentation, runbook, test results and operational notes. Ongoing support, upgrades and continuous testing are available as a retainer once the engagement closes.
How DeployOpen scopes, delivers and supports the upgrade
DeployOpen approaches an OpenSearch 2.x to 3.x upgrade as a planned change to your own cluster, inside infrastructure you control. The work starts with a written scope covering your indexes, plugins, clients and upgrade method, then moves through a tested build, a documented handover and optional ongoing support.
How we scope
- Written scope lists the clusters, node roles, plugins and client applications included in the upgrade.
- Inventory of pre-2.x indexes that need reindexing or a version check before any node is touched.
- Written recommendation on rolling upgrade or Migration Assistant, with the reasons for your environment.
How we build
- Test cluster built to match production settings, then upgraded first to surface removed settings and plugin conflicts.
- JDK 21 runtime, plugin versions and request limit changes checked against your client and automation code.
- Upgrade runbook with backup verification, node-by-node health checks and a rollback decision point for each stage.
How we hand over
- Documented before-and-after configuration, plugin inventory and index settings for your operations team.
- Test results from the staging upgrade and a record of each finding, fix and retest.
- Walkthrough with your platform and security teams so they can run future minor and patch upgrades themselves.
How we support
- Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
- Post-upgrade support, upgrades and continuous testing are available as a retainer if you want ongoing help.
- Confirm with your team which OpenSearch patch and minor releases you will follow during the maintenance window.

