Upgrading Elasticsearch, OpenSearch, Redis and RabbitMQ under OpenCTI

Upgrading the stores under OpenCTI is a planning problem: confirm the minimum versions for your platform release, order the changes so the platform never runs against an unsupported store, and drain queues before each restart. This page sets out the path and the effort drivers.

On this page

How to upgrade OpenCTI's dependencies without breaking the platform

If your self-hosted OpenCTI team must move Elasticsearch or OpenSearch, Redis or RabbitMQ to a newer line, the upgrade is governed by two things: the minimum versions the target OpenCTI release requires, and the order in which you change the platform and its stores. Start from the target release, not from the store version you happen to run today. OpenCTI uses date-based version numbers in the form x.YYMMDD.z for regular releases and x.YYMMDD.z-lts.n for LTS releases, where the date marks the release or LTS branching date. A team on a regular release line and a team on an LTS line will usually land on different target versions, so the dependency plan should be written per target, not per calendar quarter.

The documented minimums are Elasticsearch 8.0 or OpenSearch 2.9 or later, Redis 7.1 or later, RabbitMQ 3.11 or later, and S3-compatible storage such as MinIO. Treat these as floors, not recommendations. The platform itself, the Python workers that consume RabbitMQ messages for asynchronous writes, and the connectors all depend on these stores, so a store that is too old or too new for the target release can break ingestion in ways that look like connector faults. Confirm the exact supported path (which search engine version pairs with which platform release, and whether a store must be upgraded in several steps) against the release notes of the target version and the OpenCTI deployment overview before you schedule any change.

What changes in each dependency and what it means for OpenCTI

This table compares the recent licensing, support and version changes in OpenSearch, Redis, and RabbitMQ and what each one means for an OpenCTI upgrade. Read each row as a question to settle before you choose target versions, and confirm every action against the target OpenCTI release notes and the vendor's current pages. The main takeaway is that the store you pick and its support window matter as much as the version number.

ChangeImpact on OpenCTIAction needed
OpenSearch licensing and Elasticsearch 7.10 compatibilityOpenSearch is Apache 2.0 licensed with no paid edition described. It forked Elasticsearch 7.10 and is wire-compatible with it, and it can read indices from Elasticsearch 6.0 through 7.10.Confirm in the OpenCTI release notes that your target release supports OpenSearch 2.9 or later. Check index versions before any migration, since OpenCTI indices may be newer than 7.10.
OpenSearch maintenance and release cadenceDuring maintenance, versions get bug and security fixes only. Version 1 reached end of life on May 6, 2025, and version 2 is maintained through the 4.0 GA release. The 3.8.0 release came August 4, 2026 and 3.9.0 on September 29, 2026, with a new minor about every eight weeks.Pick a line still in maintenance and confirm its end-of-life date on the OpenSearch releases page. Plan a re-check of the line before each OpenCTI upgrade window.
Redis 8 license choice and 7.x licensesRedis 8.0 and later may be used under RSALv2, SSPLv1 or AGPLv3, at your choice. Redis 7.4 to 7.8 use the dual RSALv2 or SSPLv1 license, and 7.2 and earlier use BSD-3-Clause. Redis 8.10.0 shipped July 29, 2026, and security releases shipped September 17, 2026.Have legal review the license for your target Redis line and any modified builds. Confirm the Redis version OpenCTI's documentation names, then apply the September 17, 2026 security releases on your line.
Redis Sentinel for high availabilitySentinel provides automatic failover that promotes a replica to master when Redis is not run as a cluster. The Sentinel documentation says a robust deployment needs at least three Sentinel instances.Plan three Sentinel instances on separate hosts or failure domains before cutover. Test failover in staging with OpenCTI running, and confirm Sentinel-aware client settings in your OpenCTI version.
RabbitMQ 4.0 queue changesClassic queue mirroring was removed in RabbitMQ 4.0, and AMQP 1.0 became a core protocol. Quorum queues and streams are the replicated structures to target.Inventory queues before upgrading and confirm which queue types OpenCTI declares in your target release. Move any mirrored classic queues to quorum queues or streams in a planned step.
RabbitMQ 4.2 and 4.3 support windowsRabbitMQ 4.2 community support ended July 31, 2026. RabbitMQ 4.3.6 released September 16, 2026, with community support to January 31, 2027. Longer support requires a commercial support license, with official details on the Broadcom support portal.Confirm which RabbitMQ line your target OpenCTI release supports. If you need support past the community window, ask your vendor for commercial lifecycle terms before you pick a line.

Why search index compatibility decides the order of work

The search store sets the order of work because OpenCTI's indices are the one part of the upgrade you cannot simply roll back. OpenSearch can read indices created by Elasticsearch 6.0 through 7.10, and it supports rolling upgrades from those versions, so a cluster on that range has a documented path onto OpenSearch. Indices created by Elasticsearch 8 are outside that statement. Treat them as a separate compatibility question that needs its own check before any store change is scheduled, and do not assume the 7.10 path applies to them.

Before choosing a target version, inventory the indices your OpenCTI cluster actually holds. Take a snapshot, then record for each index the version that created it, its shard count and size, and whether it is written through a rollover alias. Compare that list with the index templates and write aliases OpenCTI uses, and with the shard sizing on your nodes. Oversized shards, stale templates or aliases pointing at the wrong generation will surface during the store change, not after it, so they belong in the plan. The exact index versions in your environment are something to confirm from your own snapshot inventory, not from this page.

For the migration mechanics, read the OpenSearch guidance on migrating or upgrading and the Migration Assistant page on whether it fits your case, and confirm which OpenSearch line your target platform version supports. Those documents, not a generic upgrade routine, should set the sequence for the store. Once the index path is confirmed, fix the store version before you change the platform, because the platform depends on that store and not the other way around.

What to prepare before the first store changes

Each card is a prerequisite that the upgrade depends on. Together they let you roll back a store that fails mid-change, prove that the new versions behave the same way under OpenCTI, and show who decided to proceed. Confirm each item with your own team and environment before scheduling the window.

Snapshot search indices and Redis data

Take a snapshot of every Elasticsearch or OpenSearch index OpenCTI writes to, and a Redis persistence backup, before any node is touched. Confirm that the snapshot repository is reachable from every data node and that a test restore completes in staging. Record which index templates and aliases exist, because an upgrade that changes a mapping can be hard to reverse without them. Redis data is cache and queue state, so confirm with your OpenCTI version which keys must survive the change.

Export RabbitMQ definitions and queue inventory

Export the broker definitions (exchanges, queues, bindings, users, policies) and list every queue with its type and message count. Quorum queues are replicated with Raft, so note the replica count and leader placement per queue. Classic queue mirroring was removed in RabbitMQ 4.0, so confirm the queue types you already run before choosing a target version. Keep the definitions file outside the cluster being changed.

Quorum queues docs

Inventory connector and worker images

List every platform, worker and connector image with its tag, plus the pycti client version each connector pins. Connectors and workers must be compatible with the platform version you move to, so this list determines which images are updated in the same window. Mark any connector that is not supported on the target version so it can be paused rather than left consuming messages against a changed schema.

Staging that matches production topology

Build a staging environment with the same number of Elasticsearch or OpenSearch nodes, Redis Sentinel instances and RabbitMQ cluster members as production, not the minimum for a single-node test. Sentinel needs at least three instances for a robust deployment, and quorum queues need enough nodes to hold their replicas. Replay a copy of production queue load so that drain time and failover behavior are measured, not guessed.

Sentinel instances
3
Redis Sentinel docs

Confirm S3-compatible storage

OpenCTI requires S3-compatible storage for uploaded files, so confirm that the bucket, credentials and endpoint work with the platform version you are moving to. Check that the storage is not on a host that is part of the store change, and that a backup of the bucket exists or is scheduled. Confirm access keys and lifecycle rules with the storage owner before the window.

Name a rollback owner and window

Write down one person who can declare a rollback, the conditions that trigger it (for example, queue backlog that does not drain or indices that fail to open), and the time after which rollback is no longer practical. Agree the window and the freeze on ingestion in advance with the teams that run connectors. Store this record with the change ticket so that the decision does not depend on who is on call.

The upgrade sequence: stores, queues, then platform and workers

This sequence moves each store the platform depends on to a supported version in a controlled order, so OpenCTI runs on minimums it can use and no queued writes are lost along the way.

  1. Confirm the target OpenCTI version and minimums

    Before touching any store, the platform owner records the target OpenCTI release and checks the dependency minimums it requires: Elasticsearch 8.0 or OpenSearch 2.9 or later, Redis 7.1 or later, RabbitMQ 3.11 or later, and S3-compatible storage. Compare these with the versions you run today and list every gap. Confirm the exact requirements for the target release in the OpenCTI release notes and deployment overview, since minimums can change between releases. The check is done when you have a written matrix of current and target versions for each store, approved by the platform owner.

  2. Snapshot every store and record the baseline

    Take a fresh backup of the Elasticsearch or OpenSearch indices, the Redis data, the RabbitMQ definitions and queue state, and the S3-compatible object storage that holds uploaded files. Store the snapshots outside the cluster being changed. Record the current cluster health, index list, Redis replication status and connector count so later checks have a reference point. The step is complete when a restore has been confirmed on a test target or the restore procedure has been written down and reviewed by the team that owns each store. This snapshot is the main rollback point for the whole change.

  3. Rehearse the full upgrade on a staging copy

    Restore the snapshots into a staging environment that mirrors production topology, including Sentinel, the search cluster node count and the RabbitMQ quorum setup. Run the upgrade steps in the order below, then start the target OpenCTI release against the upgraded stores and run a representative import and enrichment. Note every error, timing issue and manual action. Use the results to correct the production runbook. The step is done when staging reaches a working platform with ingestion and search verified, and the runbook has been updated from what staging showed.

  4. Drain RabbitMQ queues before any store restarts

    Pause the connectors that publish new work, then wait for the platform workers to consume what remains in the queues. Watch the queue depths in the RabbitMQ management interface or through its API until they reach zero. Confirm there are no unacknowledged messages on any queue, because messages still in flight would be lost or redelivered during a restart. Keep the platform running so workers can finish. The step is complete when every queue shows no ready and no unacknowledged messages. If the queues do not empty, stop and investigate the consumers before continuing, since restarting now risks losing writes.

  5. Upgrade Redis with Sentinel failover checks

    Upgrade replicas first, then promote a replica to master through Sentinel and upgrade the former master. Sentinel handles automatic failover when Redis Cluster is not used, but the upgrade should be controlled rather than left to failover. Confirm that at least three Sentinel instances are running, as the Redis Sentinel documentation says a robust deployment needs, and that the master address reported by Sentinel matches the platform configuration after each change. The step is done when every Redis node runs the target version, replication is in sync, and Sentinel reports one master with the expected replicas.

  6. Roll Elasticsearch or OpenSearch one node at a time

    Upgrade one node at a time using the rolling procedure for your search engine and install method, and confirm the exact steps in the vendor documentation for that version. Before each node restart, disable shard allocation as the vendor guide describes, then restart the node and re-enable allocation. Wait for cluster health to return to green before starting the next node. Check the index compatibility notes for your source version, because indices must be readable by the target version. The step is done when every node runs the target version and the cluster reports green with all shards allocated.

  7. Upgrade RabbitMQ with quorum queue checks per node

    Upgrade RabbitMQ nodes one at a time, following the rolling upgrade guidance for your RabbitMQ version and deployment method. Before each node stops, confirm that quorum queues have a healthy majority of replicas and that no queue is left with a single replica. Quorum queues are durable and replicated using Raft, so they depend on a majority remaining available. Check queue health after each node rejoins. Classic queue mirroring is removed from RabbitMQ 4.0, so confirm your queues are quorum queues or streams before moving to that line. The step is done when all nodes run the target version and every quorum queue reports a healthy leader and members.

  8. Restart the platform and workers on the new minimums

    Start the OpenCTI platform and Python workers on the target release now that Elasticsearch or OpenSearch, Redis, RabbitMQ and object storage meet the minimums. Let the platform run its startup and any automatic migrations, and watch the logs for errors during the migration. Confirm that the workers connect to RabbitMQ and begin consuming messages. The step is complete when the platform UI and GraphQL API respond, all workers report connected, and the logs show no unresolved migration errors. If the platform fails to start, roll back to the snapshot and the previous store versions while you investigate.

  9. Upgrade connectors and verify ingestion and search

    Upgrade connector images to versions aligned with the target platform, then re-enable the connectors you paused. Check each connector's minimum platform version before enabling it. Run a test import, confirm new objects appear in the platform, and run representative searches to confirm the search index returns expected results. Review the queues to confirm messages are being consumed and not accumulating. The sequence is complete when ingestion from each connector succeeds, search results match the baseline recorded earlier, and queue depths stay stable under normal load. Exact commands depend on your install method, so confirm each step against the vendor documentation for your versions.

Upgrade the stores and queues before the platform, and the connectors last

The diagram starts with the operator's upgrade plan and follows the dependency path: the platform's UI and GraphQL API sit in front of Python workers that consume RabbitMQ messages for asynchronous writes, while the platform also depends on Redis, Elasticsearch or OpenSearch and S3-compatible storage. Connectors call the platform rather than the stores directly. Before each phase, check that queues are drained, since messages waiting in RabbitMQ during a store change can be delayed or lost from the operator's point of view.

Upgrade order runs from stores and queues, to the platform and workers, to connectors.

What makes a dependency upgrade take longer

This table lists the factors that stretch or shorten an upgrade of the search, cache and queue stores under OpenCTI, and what each one changes in the work. Read each row as a question to answer about your own environment before estimating effort with a partner or your own team. The main takeaway is that index size, queue depth and the number of environments to rehearse usually matter more than the version numbers themselves.

DriverEffect on workWhat to ask for
Index data volume and shard countLarger indices take longer to reindex, snapshot and verify, and shard layout decides whether a compatibility step is neededIndex sizes, shard counts per index and a current snapshot before any change
Number of cluster nodes and Sentinel instancesMore Elasticsearch or OpenSearch nodes and Redis replicas mean more rolling steps and more failover checksNode roles, rolling restart order and the Sentinel quorum layout for Redis
Queue depth and connector countDeep RabbitMQ queues and many active connectors extend the drain window and raise the risk of lost or duplicated messagesCurrent queue depths, connector list and a drain procedure agreed before the change window
License edition and LTS key constraintsEnterprise features and LTS platform lines can limit which platform versions you may move to, which sets the target for the store versionsPlatform edition, LTS key status and the minimum store versions that the chosen platform release documents
Customizations or plugins in the search and broker layersCustom analyzers, security plugins or non-default RabbitMQ plugins must be retested on each new version and may block a stepFull list of plugins, analyzers and broker settings, with owners and tests
Air-gapped or FIPS constraints on package sourcesPackages must be mirrored and signed for the target versions, and approval cycles can add waiting time before any changeInternal mirror contents, approved artifact sources and the change approval path
Number of environments that must be rehearsedEach environment repeats the full sequence, so development, staging and production add separate runs and evidenceEnvironment inventory, rehearsal scope per environment and who signs off each result

How the path differs for Docker, Kubernetes and managed stores

In a Docker Compose or Swarm deployment, your team owns every container, image tag and volume on the host or hosts. Nothing is restarted for you, so the upgrade order is whatever you write into the change plan. Stores such as Elasticsearch or OpenSearch, Redis and RabbitMQ usually run as services in the same stack, which means a single docker compose pull can move more than you intended. Pin each image to an explicit version so a routine pull does not change a dependency under the platform.

  • Image pinning: Set each dependency image to a named version in the compose file or stack file, rather than a floating tag.
  • Restart sequence: You stop, update and start services one at a time, so queue drain and index health checks are manual steps you schedule.
  • Volume and snapshot control: Your team decides how data volumes are backed up before the change and how a rollback restores them.
  • Swarm placement: In Swarm, confirm which nodes host each store and whether a rolling update policy is set for each service.
  • Connector alignment: Connector images are separate services, so they must be updated in the same window as the platform.

Before the change, confirm the exact image versions your stack will pull and check them against the minimum versions in the OpenCTI deployment overview.

Questions teams ask before upgrading OpenCTI's stores

What drives the cost and effort of upgrading OpenCTI's stores?

Effort depends mostly on how many stores move, how far each one jumps, and how much of your OpenCTI data sits on them. Elasticsearch or OpenSearch, Redis, RabbitMQ and the S3-compatible storage each have their own compatibility rules, so each upgrade adds planning, testing and rollback work. The main cost drivers are:

  • The number of stores changing version at once, and whether they are changed together or in separate windows.
  • Index size and the number of clusters or nodes that must be re-verified after each change.
  • Whether you run a staging copy that matches production closely enough to prove the change.
  • Your internal skills across search, messaging and key-value stores.

An external partner is paid for scoped planning and execution, and internal staff time is the other large cost. Ask any quote to list each store, the target version, the test environments and the rollback approach.

How long does a store upgrade under OpenCTI take?

Duration depends on the same factors as cost: the number of stores, the version gaps, data volume and how many environments must be validated before production. No fixed duration applies to every deployment, so plan from your own inventory rather than a generic figure. Index size affects both reindexing and the time needed to confirm search results. Queue depth affects how long workers need to drain before a restart. Confirm the sequence of work, the test gates and the change windows with your team before committing to a date.

What must our team provide before a store upgrade starts?

You need a current inventory and a staging environment that resembles production. The inventory should list every OpenCTI platform and worker version, connector version, Elasticsearch or OpenSearch version and cluster layout, Redis version and topology, RabbitMQ version and queue types, and storage endpoints. Also provide:

  • Access to the cloud accounts, clusters and hosts where the stores run, with change rights for the maintenance window.
  • Recent verified backups of search indices, Redis persistence files and RabbitMQ definitions.
  • A named maintenance window and an agreed owner for go or no-go decisions.
  • Contacts for the OpenCTI platform and connector owners, because their components must be paused and checked.
Can our own team upgrade OpenCTI's stores without a partner?

Yes, many teams do this internally if they already run these stores and have a tested process. The work is manageable when the team has staff who know each product, a staging copy, documented rollback steps and enough time to test. A partner is more useful when the stores are shared with other systems, when the cluster design is unfamiliar, or when the team lacks a second person to review each step. Check the OpenCTI product life cycle and the release notes for each dependency before deciding. Consider whether your team can verify ingestion and search results after each change, because that is where many problems appear first.

How should we handle RabbitMQ and Redis licensing or support windows?

Start by identifying the exact product and license for each store, because the terms differ. RabbitMQ server and its tier 1 core plugins are licensed under MPL 2.0, and RabbitMQ publishes community support dates in its release information. Community support ends before commercial support, and extended support beyond community dates requires a valid commercial support license. Redis licensing changed: Redis 8.0 and later are available under a license of your choice among RSALv2, SSPLv1 and AGPLv3, while Redis 7.4.x to 7.8.x use the dual RSALv2 or SSPLv1 license. Review the Redis licenses page with your legal team, and confirm whether any Redis feature you use is tied to a specific license.

What happens if a store upgrade fails halfway through?

A failed step is usually recoverable if you planned the rollback before starting and kept the platform paused until the store is healthy. Stop writes from OpenCTI and its workers, confirm the state of each store, and restore from the verified backup if the store cannot be brought back. Search indices and RabbitMQ queues need particular care, because messages in flight may be duplicated or lost depending on how they were drained. Check the state of the queues and indices before restarting the platform. Record which step failed and why, then retest in staging before a second attempt. Confirm the exact rollback procedure for each store with its vendor documentation before the window opens.

How DeployOpen scopes and delivers dependency upgrades

DeployOpen plans, builds, tests and hands over upgrades of the search, cache and queue stores that an OpenCTI platform depends on, inside infrastructure you control. Each engagement starts from a written scope that ties the store versions to the OpenCTI release you are running or moving to.

How we scope

  • Inventory the current Elasticsearch or OpenSearch, Redis, RabbitMQ and S3-compatible storage versions against the OpenCTI platform release.
  • Confirm the target minimum versions in the OpenCTI deployment documentation, including Elasticsearch 8.0 or OpenSearch 2.9, Redis 7.1 and RabbitMQ 3.11.
  • Agree in writing which stores, environments, connectors and cut-over windows are in scope, with fixed deliverables before work starts.

How we build

  • Rehearse the upgrade order in a staging copy of the platform, with the same index mappings, queue topology and connector versions as production.
  • Check search index compatibility and reindex or migration steps before any production change, and record the rollback point for each store.
  • Drain RabbitMQ queues and confirm worker consumption before stopping writers, then restart platform and workers in the agreed sequence.

How we hand over

  • Deliver a runbook covering version pins, upgrade order, queue drain checks, index verification and rollback steps for each store.
  • Document the license and support status of each store version, including Redis licensing and RabbitMQ community support dates, so your team can make its own decisions.
  • Walk your platform, security and operations staff through the run, the verification results and the open items agreed in the scope.

How we support

  • Offer ongoing support, upgrades and continuous testing as a retainer after the initial engagement.
  • Retest the stack after each later OpenCTI or store upgrade, and update the runbook to match the versions actually deployed.
  • Ask for a quote that separates one-time staging and cut-over work from any recurring retainer coverage.

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.