Running several Shuffle instances on one OpenSearch cluster
Yes, you can run several Shuffle instances on one OpenSearch cluster. The SHUFFLE_OPENSEARCH_INDEX_PREFIX setting adds a prefix to every Shuffle index, such as prod_workflow, so a production instance and a staging instance, or one instance per customer, can each write to their own set of indices in the same cluster. Teams usually choose this layout to save on infrastructure and operations work when the instances are small, when they are maintained by one team, or when the environments need to look alike. The prefix separates index names. It does not separate the cluster, so the OpenSearch cluster is the shared failure domain. If it goes down, slows, runs out of disk, or needs an upgrade, every instance that depends on it is affected at the same time.
Before you commit, confirm what the prefix does and does not isolate. Index names will differ, but every instance shares the same cluster node resources, heap, disk, shard counts and cluster-level settings. A runaway workflow in one instance that generates heavy indexing or large result documents can slow searches for the others, and retention or snapshot policies set at the cluster level apply to all prefixes. Also check how your OpenSearch access model would separate the instances. Shuffle's own users and apps are not the same thing as OpenSearch roles, so you should confirm with the Shuffle configuration documentation and your OpenSearch security settings which principals can read or delete indices belonging to another instance.
Decide early whether a shared cluster matches your risk. It is a reasonable fit when the instances share one trust boundary and one owning team. It is a poor fit when a customer, a regulator or a data residency rule requires separate storage, separate backup scope or separate administrative control. In that case, plan a separate cluster per instance. Have your team test the failure case: stop the shared cluster in a non-production copy and confirm how each instance behaves, how backups are scoped per prefix, and how you would restore one instance without touching the others. Keep the cluster version, sizing and snapshot plan in writing so the trade-off stays visible when the number of instances grows.
Which separation pattern fits production, staging and customers
Production and staging inside one organization usually share a team, a cluster and a change process, so the shared OpenSearch cluster mainly saves operating effort and gives staging a realistic target for index behavior. The risk is not that staging users read production data, since the same team typically holds access to both, but that a test workflow writes to or deletes production records. Index prefixes such as prod_ and stg_ keep documents apart in the cluster, but they do not stop a misconfigured instance from pointing at the wrong prefix.
- Index naming: Set
SHUFFLE_OPENSEARCH_INDEX_PREFIXdifferently for each instance so thatprod_workflowandstg_workflownever collide. - Credentials: Give each instance its own OpenSearch user with rights limited to its own prefix, so a staging process cannot write to production indices.
- Saved app authentications: Keep a separate
SHUFFLE_ENCRYPTION_MODIFIERvalue per instance, and do not copy production credentials into staging. - Backups and restores: Snapshot and restore by prefix, so a staging restore cannot overwrite production data.
- Version alignment: Run the same Shuffle release in staging as in production before testing upgrades.
Confirm with your team how the prefix and user settings are enforced in your deployment and whether the cluster can hold both instances' retention needs.
An MSSP that runs one Shuffle instance per customer on a shared cluster gets the most isolation benefit from prefixes, but the cluster is now shared across legal and contractual boundaries. Each customer's workflow history, case data and saved credentials are the customer's data, so the separation must hold at the storage layer as well as in the application. Shared capacity means one customer's heavy workload can slow other customers' searches, so the operator should plan for that explicitly rather than assume it away.
- Per-customer prefixes: Use a distinct
SHUFFLE_OPENSEARCH_INDEX_PREFIXper customer and document the mapping in your configuration management. - Per-customer access: Restrict each instance's OpenSearch account to its own prefix. Role-based access control in the OpenSearch Security plugin is the mechanism to check.
- Audit trails: Confirm that audit logs can be filtered by customer prefix for customer reporting.
- Noisy neighbors: Plan capacity against the largest expected customer, not the average, and ask who is alerted when one tenant's indexing degrades others.
- Contract terms: Check whether customer agreements allow shared storage or require dedicated clusters.
Verify with your legal and compliance teams whether shared storage is acceptable for each customer before the first instance goes live.
Business units inside one enterprise often share a parent governance model, which makes a shared cluster easier to justify than it is for unrelated customers. The separation that matters is between units that handle different data classes or report to different owners, such as a fraud team and an HR investigations team. A shared cluster lets the platform team run one set of upgrades and backups, while each unit keeps control over its own workflows and retention decisions.
- Ownership map: Record which unit owns each prefix, who approves changes to its retention and who can restore it.
- Data classes: Keep units with different sensitivity levels on separate clusters if one unit's data cannot be visible to the other, because prefixes alone are not a confidentiality boundary.
- Shared roles: Limit platform administrators, who can read all indices, to a small named group with logged access.
- Retention settings: Let each unit set its own retention policy within the cluster's storage budget.
- Cross-unit searches: Decide whether any unit may search across prefixes, and if so, enforce that through explicit role grants.
Confirm with the business units' data owners which datasets may sit on the same cluster before you agree on a shared design.
Configuration options and when each fits
This table compares three ways to host several Shuffle instances: one shared OpenSearch cluster with index prefixes, separate clusters per instance, and a shared cluster with OpenSearch Security roles restricting access. Read each row against your isolation requirement first, then your capacity and operations capacity. The main takeaway is that index prefixes separate names, not access, so any stronger boundary needs Security plugin controls or separate clusters.
| Option | Isolation strength | Operational load | When it fits |
|---|---|---|---|
| Shared cluster, index prefixes only | Logical naming separation; any client with cluster access can read other prefixes | Lowest: one cluster to patch, back up and monitor | Production and staging of one organization with a single trust boundary |
| Shared cluster, prefixes plus Security roles | Role-based access per index pattern; document and field-level rules add finer control | Moderate: role design, testing and audit log review per tenant | Separate business units or customers that need access limits but accept shared hardware |
| Shared cluster with document or field-level restrictions | Finer than index access; confirm it fits how Shuffle queries its indices before relying on it | Higher: restrictions must be tested against Shuffle's behavior after each upgrade | Limited cases where a single index holds records for several parties |
| Separate cluster per instance | Strongest: no shared nodes, credentials or storage | Highest: one cluster to size, patch, back up and monitor per instance | Customers with contractual or regulatory separation of data stores |
| Cost drivers | Shared option spreads node and storage cost across instances | Separate clusters multiply infrastructure and admin hours | Ask any provider to quote cluster count, node sizing and backup scope separately |
Setting up two instances on one cluster
This sequence produces two Shuffle instances, such as production and staging, that share one secured OpenSearch cluster while keeping their indices, credentials and logins separate. Each step ends with a check so the team can confirm isolation before any workflow runs.
Size and version the shared cluster
Decide how many OpenSearch nodes the cluster needs for the combined load of both instances, and pin one OpenSearch version that both Shuffle instances support. Record the node count, storage, memory and the version in the change record so later upgrades can be planned against them. The platform team owns this step, with the Shuffle team confirming the version against the Shuffle configuration docs. It is done when the sizing and version are written down and reviewed by both instance owners. Ask the vendor or your own capacity data for sizing figures, since this guide does not publish them.
Enable TLS and authentication on the cluster
Turn on TLS for node-to-node and client traffic, and enable the OpenSearch Security plugin with an authentication backend your organization already runs, such as LDAP or OpenID Connect. Remove or lock any default demo accounts before Shuffle connects. Check the result by calling the cluster from an unauthenticated client, which must be refused, and from an authenticated admin account, which must succeed. Current setup steps are in the OpenSearch security documentation, and your security team should review the certificate chain before go-live.
Choose a distinct index prefix per instance
Pick one prefix for each Shuffle instance, for example prod for production and stg for staging, and record it in the configuration plan. Shuffle's SHUFFLE_OPENSEARCH_INDEX_PREFIX setting adds that prefix to every index it creates, such as prod_workflow. Make sure no prefix is a substring or pattern that overlaps another. The check is that the two prefixes are unique, documented and agreed by both owners before any index exists.
Create dedicated OpenSearch users and roles
Create one OpenSearch user per Shuffle instance, with a role that grants read and write access only to indices matching that instance's prefix, for example prod_* for production. Do not give either instance cluster-wide admin rights or access to the other prefix. Store each password in a secrets manager, not in a compose file. The check is an authentication test with each user: the user must reach its own prefixed indices and be denied a request against the other prefix.
Start each backend with its prefix and credentials
Set SHUFFLE_OPENSEARCH_INDEX_PREFIX, the OpenSearch URL, the instance's dedicated user and the TLS trust settings on each Shuffle backend, then start it. Keep the encryption secret separate for each instance, since the encryption modifier protects saved app credentials and must not be shared or reused across instances without a deliberate decision. Confirm each backend reports healthy and starts without errors on the OpenSearch connection. Check the configuration keys against the Shuffle configuration docs for your release.
Verify indices and logins for each instance
Log in to each Shuffle frontend with a test account and create a simple test workflow. Then list the indices in the cluster and confirm that every index created by production carries the prod_ prefix and every index created by staging carries the stg_ prefix. Confirm that logging in to one instance does not show the other instance's workflows. The step is done when both instances show only their own data and the index names match the agreed prefixes.
Record isolation limits and capacity trade-offs
Write down what the shared cluster does not isolate: a heavy query or reindex in one instance can slow the other, and a cluster outage affects both. Record the monitoring thresholds, the backup scope and the owner who responds when either instance is affected. Confirm the plan with both instance owners, since sharing a cluster is a deliberate trade-off against running separate clusters. This record is the reference for capacity reviews and future upgrades.
How instances, prefixes and the shared cluster connect
The diagram starts with two Shuffle backends, each configured with its own index prefix such as prod or customer_a, so every index they write carries that label. Both backends store their documents in one OpenSearch cluster, while each customer or environment keeps its own Orborus runtime that polls its backend for jobs. The trust boundaries mark where each segment's runtime sits, so check that no Orborus or app container reaches another segment's data path, and that prefixes are set identically across every node of each instance.
Two Shuffle instances with separate prefixes writing to one shared OpenSearch cluster.
Isolation risks that a shared cluster does not remove
Putting several Shuffle instances on one OpenSearch cluster shares the storage and the operator, but not the trust boundary. The cards below cover the controls that stay your job: credentials and roles, transport security and audit trails, per-instance secrets, and the index prefix that keeps each instance's data apart.
Shared admin credentials and roles
Every Shuffle instance connects to the cluster with a user and role, and a broad account used by several instances lets one instance read or delete another's indices. Create one OpenSearch user and role per instance, scoped to that instance's prefixed index pattern only. Check that no instance uses the cluster's admin account, and review role mappings after each change.
OpenSearch security docsTLS on node and client traffic
Shuffle backends and the cluster exchange workflow data, credentials and execution results, so the connection between them needs encryption in transit. Enable TLS for node-to-node and client traffic on the cluster, and confirm each Shuffle instance validates the cluster certificate rather than skipping verification. Ask your team to confirm the exact configuration keys for your OpenSearch version.
Audit logs across instances
When several tenants or environments write to one cluster, an incident in one instance has to be traced without guessing which instance made a request. Enable the OpenSearch audit log and record which user and role made each request, then keep those logs somewhere the Shuffle operators cannot silently change. Confirm retention with your compliance owner before you rely on the logs.
A separate encryption secret per instance
Shuffle encrypts saved app credentials and API keys in OpenSearch with AES-256 using the SHUFFLE_ENCRYPTION_MODIFIER secret. Because all instances hold their data in one cluster, a shared value would let one instance's secret decrypt another's credentials, and losing or changing the value breaks every saved app authentication in that instance. Generate a distinct value for each instance, store it in your secrets manager, and back it up separately.
Shuffle configuration docsPrefix mistakes that mix data
SHUFFLE_OPENSEARCH_INDEX_PREFIX adds a prefix to every Shuffle index, such as prod_workflow, so instances can share a cluster. A missing, duplicated or overlapping prefix sends one instance's workflows, executions or apps into another instance's indices. Set the prefix explicitly in each deployment, choose names where none is a prefix of another, and test with two instances before production use. This is a configuration risk, not a guarantee the cluster enforces.
Capacity, versions and upgrades on a shared cluster
On a shared cluster, every tenant draws from the same OpenSearch capacity, so one busy instance can slow the others. Each Shuffle instance writes workflow, execution and app data into its own prefixed indices, but the shards, heap, disk and search threads underneath are common. A bulk-heavy tenant running large workflow histories, or a staging instance running load tests, can push up indexing latency and disk use for production. Before consolidating, size the cluster for the sum of peak loads rather than the average, and confirm with your Shuffle and OpenSearch administrators how retention settings, which the Shuffle configuration docs describe, will be applied per prefix so that one tenant's history does not consume the whole disk. Set disk watermarks and alerts on the cluster itself, since Shuffle does not isolate storage for you.
Version support also applies to the whole cluster. OpenSearch releases move through maintenance, and a version receives bug fixes and security patches but no new features while it is in that phase. Version 1 reached end of life on May 6, 2025, and version 2 is maintained through the 4.0 GA release. The project published 3.8.0 on August 4, 2026 and 3.9.0 on September 29, 2026, with a new minor version targeted about every eight weeks. Because all instances share one cluster, an upgrade of OpenSearch is a decision for all tenants at once, so schedule it with each owner and test it on a staging cluster first. Rolling upgrades are supported from Elasticsearch 6.0 through 7.10 indices, which matters only as background if you are migrating data from an older stack. Confirm the exact supported path and the current release status on the OpenSearch releases page before you plan a change, and check the Shuffle configuration docs for the OpenSearch version your Shuffle release expects.
Limits to confirm in your environment
Sharing one OpenSearch cluster between Shuffle instances saves infrastructure but ties their storage, upgrades and recovery together. The items below are the points to verify against current documentation and your own environment before you commit to a layout.
Shuffle support for your OpenSearch version
Confirm that the Shuffle release you plan to run supports the OpenSearch version you intend to deploy, because OpenSearch ships a new minor version about every eight weeks and Shuffle's compatibility list may lag behind. Check the supported OpenSearch version in the configuration docs before choosing the cluster version, and record the pairing in your change plan so that a cluster upgrade does not silently break one of the instances.
- Latest Shuffle release noted
- v2.3.0
Shuffle release used by each instance
Each instance should run a pinned Shuffle release, and the releases may differ between production, staging and customer instances. Confirm which tag each instance runs, whether it is the stable release or the nightly tag, and whether the same prefix scheme is supported across those versions. Mixed releases sharing one cluster make failures harder to attribute, so decide on a single release for the shared cluster or document the exceptions.
Retention scope per index prefix
Confirm whether Shuffle's retention settings apply to every index that carries an instance's prefix, or only to some of them. Retention set on the cluster or through OpenSearch index policies may affect all prefixes at once. Test retention on a non-production prefix first, and check that a short retention window for one customer does not delete another instance's executions or workflow history.
Backup and restore for a single prefix
Verify whether a snapshot can restore one prefix, such as prod_workflow, without touching indices that belong to other instances. Snapshot and restore operations in OpenSearch work on named indices, but the wildcard patterns you use in production determine what gets restored. Run a restore into a scratch cluster, confirm that only the intended indices return, and document the steps as part of the Shuffle backup procedure.
Credential and encryption key handling
Confirm how the SHUFFLE_ENCRYPTION_MODIFIER value is set for each instance, because it protects saved app credentials stored in OpenSearch. If instances share a cluster and a backup, a restore into the wrong instance may expose or break encrypted credentials. Ask whether each instance needs its own modifier and how restores interact with it.
- Credential encryption standard
- AES-256
Security model between instances
Index prefixes separate names, not permissions. Confirm which OpenSearch roles and users each Shuffle instance uses, and whether one instance's credentials can read or write another instance's indices. Check the OpenSearch security documentation for role-based access and document-level controls, then test with a deliberately wrong prefix before relying on the separation for customer data.
OpenSearch security docsQuestions buyers ask before sharing one OpenSearch cluster
Can several Shuffle instances safely share one OpenSearch cluster?
Yes, they can share a cluster, because Shuffle supports the SHUFFLE_OPENSEARCH_INDEX_PREFIX setting, which adds a prefix to every index so that, for example, prod_workflow and staging_workflow stay separate. The prefix separates the data by name, but it does not by itself isolate the instances from each other. Anyone with access to the cluster at the index level can read every prefix, so sharing is a decision about access control as much as storage. Confirm the isolation model with your security team before you decide.
What does a shared OpenSearch cluster cost to run?
The software is free to use. OpenSearch is released under the Apache License, Version 2.0, and the OpenSearch FAQ does not describe any paid edition. Your costs are the infrastructure (nodes, storage, backups, monitoring), the staff who operate it, and any implementation work. Costs rise with data volume, retention period, replica count and the number of instances writing to the cluster. Ask any quote to separate one-time setup from recurring operation and to state how capacity growth is handled.
How long does setting up a shared cluster take?
The duration depends on scope: how many instances will share the cluster, whether the cluster already exists, how many security roles and index patterns must be designed, and whether backups and monitoring are built from scratch. A single added instance on a mature cluster is a much smaller job than a new multi-node cluster with TLS, authentication and audit logging. Ask for a written schedule that lists each phase and the client dependencies it needs.
What does our team need to provide for this work?
You will need administrative access to the existing cluster or a plan to provision one, a network design that places OpenSearch nodes and Shuffle servers in the right zones, and decisions on isolation. Those decisions cover which instances may read each other's indices, who administers the cluster, how audit logs are retained, and what retention each instance needs. Your team should also confirm the OpenSearch version you will run, because the Shuffle release you pin must support it.
Can our internal team do this without a partner?
Often yes, if your team already runs OpenSearch and Shuffle in production and has someone who can write index-level roles and test them. The gaps usually appear in security role design, capacity planning and recovery testing, which are easy to skip. Check the Shuffle configuration docs and the OpenSearch security documentation against your own environment before deciding, and list the skills each step requires.
How does a shared cluster affect capacity and performance?
All instances draw on the same heap, disk, shard count and indexing throughput. A busy staging workflow can slow production searches if the cluster is undersized. Plan capacity for the combined peak, set limits on shard counts per instance, and monitor each prefix separately. Retention settings also matter because one instance keeping data longer can fill storage that the others need.
When should we use a separate OpenSearch cluster instead?
Use a separate cluster when instances must have different security boundaries, when a customer or regulator requires its data to stay on dedicated infrastructure, or when one instance has workloads that could disrupt the others. Separate clusters also suit cases where upgrade timing differs, since OpenSearch versions move on their own schedule. OpenSearch versions stay in maintenance for at least one year, and during maintenance they get security patches and bug fixes but no new features, so plan upgrade windows per cluster.
What happens to shared indices if one instance is removed?
Removing an instance does not remove its indices automatically. Its prefixed indices remain on the cluster and keep consuming storage until someone deletes them. Before decommissioning, confirm the retention requirement, export or archive what must be kept, and delete the rest with a documented change. Test the procedure on a non-production prefix first.
How DeployOpen scopes and delivers shared OpenSearch setups
DeployOpen treats several Shuffle instances on one OpenSearch cluster as a shared platform decision. We agree the tenancy model, index prefixes, access boundaries and capacity limits in writing, then build, test, document and hand over the setup inside your infrastructure, with ongoing support available as a retainer.
How we scope
- Map which Shuffle instances share the cluster and which must stay fully separate for policy reasons
- Agree the index prefix plan, such as a distinct prefix per environment, before any instance is installed
- Record cluster sizing, retention, backup and access requirements in the written scope before work starts
How we build
- Configure each instance with its own SHUFFLE_OPENSEARCH_INDEX_PREFIX and confirm no index names overlap
- Set OpenSearch roles and TLS so each Shuffle instance can reach only its own indices and the cluster
- Test isolation by checking that one instance cannot read, write or delete another instance's documents
How we hand over
- Deliver a written runbook covering prefix naming, role mappings, index lifecycle and backup scope per instance
- Document the capacity assumptions and the triggers that should prompt a split onto a separate cluster
- Walk your operations team through restore tests and the steps to add a new instance to the shared cluster
How we support
- Offer ongoing support and upgrades for the Shuffle and OpenSearch versions in use as a retainer
- Retest isolation and access controls after each OpenSearch or Shuffle upgrade before rolling changes to production
- Review capacity and index growth with your team on a schedule agreed in the retainer scope

