OpenSearch requirements and sizing for Shuffle

Shuffle keeps its workflows, executions and saved app credentials in OpenSearch, so the host, credentials and cluster design need to be settled before the first production start.

On this page

OpenSearch requirements for Shuffle: what to settle before the first start

Shuffle's server side uses OpenSearch as its document database, so the OpenSearch layer must be prepared before the first start of a self-hosted Shuffle. The bundled single node is usually enough for a single-server evaluation or a small production team that accepts one node as a single point of failure. An external cluster becomes the better choice when you need high availability, when the data must sit on storage or a cluster your operations team already runs, or when several Shuffle backends share the same data. Shuffle's configuration docs recommend an OpenSearch cluster for high availability, so that is the threshold to test your plan against.

Four decisions belong in the planning stage, not after go-live. The first is the host: the OpenSearch container needs kernel settings applied on the Docker host before it starts, and the memory it reserves has to fit beside the backend, frontend and Orborus on the same machine. The second is disk: workflow executions, saved files and indexes all grow over time, so you need a volume with room to grow, a retention plan and a backup method that captures the data. The third is credentials: the OpenSearch admin password and any service accounts are set in your environment file and must be stored in your secrets process, not in a shared document. The fourth is the index layout: confirm with your install documentation which indexes Shuffle creates and whether a shared cluster needs an index prefix.

Before you start the stack, confirm three things with the Shuffle configuration docs and the release you are installing, since the release notes for each version are the authority on defaults: the OpenSearch image version your Shuffle release pins, the memory and kernel settings it expects, and how it handles TLS between the backend and OpenSearch. Write the answers into your runbook with the version number. Note that losing or changing SHUFFLE_ENCRYPTION_MODIFIER breaks saved app credentials stored in OpenSearch, so back up that secret together with the index data. If the answers do not match your security baseline, decide that now, because moving an OpenSearch instance to a new host later means a planned data migration.

How Shuffle components write to OpenSearch

The diagram starts at the browser, which reaches the Shuffle frontend, and the frontend calls the Go backend API on port 5001. The backend stores its documents in OpenSearch, so that node holds the data you must protect and back up. Orborus polls the backend for jobs, starts a worker for each workflow execution, and the worker starts app containers, all inside your network. Check that the encryption modifier secret is protected, since OpenSearch holds saved app credentials encrypted with it, and that the path from runtime to backend stays inside the trust boundary.

Shuffle components and the data paths into OpenSearch inside the customer network.

Bundled single node or external cluster: which option fits

This table compares the single OpenSearch node that ships with the default Shuffle install against an external OpenSearch cluster your team operates. Read each row against your own availability target, backup obligations and staffing, since the right choice depends on who owns the data store. The main takeaway is that the bundled node suits evaluation and small installs, while production with high availability expectations usually calls for an external cluster.

Decision factorBundled single nodeExternal OpenSearch cluster
Best fitEvaluation, lab or small single-server installs with a tolerance for downtimeProduction deployments that need high availability or separate data store lifecycle
What your team operatesLittle beyond the Shuffle host, with the node running as part of the Compose or Helm installThe cluster itself: nodes, certificates, upgrades, shard health and capacity
Backup ownershipYour team, through snapshots of the Shuffle data volume; confirm the procedure with Shuffle docsYour team or the platform team, using cluster snapshot repositories set up for that cluster
High availabilitySingle node, so a node failure stops Shuffle data access until it is restoredShuffle docs recommend an OpenSearch cluster for high availability; confirm node count with Shuffle
Credentials and TLSSet up through the bundled defaults; review them before productionManaged through your cluster's security settings, which you must configure and rotate
Sizing thresholdsConfirm with Shuffle for the version you run before relying on it for production loadConfirm node count, memory and disk with Shuffle and your chosen OpenSearch version
Upgrade pathTied to Shuffle release upgrades that bring the bundled node versionPlanned separately from Shuffle, against OpenSearch maintenance and release timelines

Host prerequisites to check before the first start

Six checks sit between a server and a working OpenSearch index store for Shuffle. Each one fails in a different way, and most failures show up only after Shuffle has started writing data. Confirm every value against the OpenSearch installation documentation for the exact version you pin, not against numbers copied from older guides.

Kernel settings for OpenSearch

OpenSearch uses memory-mapped files for its indexes, so the host kernel must allow a sufficient number of memory map areas per process. Too low a limit makes the node fail on startup or during index creation, often with errors that look unrelated to Shuffle. Check the virtual memory map limit on every host that will run OpenSearch, and make the setting persist across reboots. Record the value you set so the change survives host rebuilds.

OpenSearch install docs

Memory for the JVM heap and host

OpenSearch runs on the Java virtual machine, and its heap is a fixed allocation separate from the memory the operating system needs for file caching. Size the heap from the OpenSearch guidance, then leave the remaining memory for the operating system, the Shuffle backend, the frontend and any workers that share the host. Do not assign the whole host to the heap. Confirm the heap setting in the configuration you deploy, since the default differs between packaging methods.

Persistent disk for indexes and snapshots

Shuffle stores workflows, executions and app data in OpenSearch, so the data path must survive container restarts and host replacement. Use a dedicated volume with enough free space for index growth and for snapshot storage, and confirm the file system and mount options against the OpenSearch guidance. Ask who owns the volume, how it is backed up and how a full disk is alerted before OpenSearch stops accepting writes.

Credentials and the encryption modifier

OpenSearch requires credentials for the Shuffle backend when the security plugin is enabled. Set a strong admin password before first start and create a dedicated account for Shuffle with only the permissions it needs. Shuffle also uses the SHUFFLE_ENCRYPTION_MODIFIER value to encrypt saved app credentials, and losing or changing it breaks every saved app authentication. Store this value in your secrets manager and record it in your recovery plan before the first start.

OpenSearch version pinned to the Shuffle release

Pin the OpenSearch version in your deployment files rather than using a floating tag, so a restart never pulls a newer major or minor version without a planned test. Check the Shuffle release notes and configuration documentation for the OpenSearch version your Shuffle release expects, because the two products release on their own schedules. OpenSearch maintenance releases receive security patches, so plan a regular update window and test it against a copy of your data.

OpenSearch releases

Network reachability from backend to OpenSearch

The Shuffle backend API must reach OpenSearch on the cluster port your deployment uses, and every node in an external cluster must be reachable from the backend host. Test the connection from the backend container itself, not from your workstation, because container networks, host firewalls and proxy settings often differ. If a corporate proxy is in the path, confirm that the OpenSearch address is excluded from proxy routing, or the backend will fail while the host appears healthy.

Preparing OpenSearch before Shuffle connects to it

This sequence takes OpenSearch from an installation choice to a secured, healthy cluster that the Shuffle backend can authenticate against before any Shuffle container starts. Each step closes with a check so the team knows what it has built.

  1. Choose the OpenSearch installation method

    The platform or infrastructure team picks one of the methods OpenSearch documents: Docker, Helm, the OpenSearch Kubernetes Operator, tarball, RPM, Debian packages, the Ansible playbook or Windows. The choice should match how your organization already patches, backs up and monitors servers and clusters, because the team will operate that method for years. Record the chosen version and the pinned image or package so later upgrades start from a known baseline. Confirm the exact version you install against the OpenSearch releases page, since maintenance windows and end-of-life dates differ between versions. Done when the method, version and owner are written down in your change record.

  2. Apply host kernel and memory settings

    Before the first start, the operator sets the kernel and memory parameters OpenSearch needs on every host that will run a node, and confirms the container or service runtime honors them. Document the values you set and why, and check the OpenSearch install documentation for the current requirements for your chosen method. Reserve heap memory deliberately rather than letting the node compete with other workloads on the same host. Run a host check, or start a test node and read its startup log, to confirm no bootstrap warnings remain. Done when every node reports the settings as applied and the startup log is clean of bootstrap checks.

  3. Provision persistent storage for the data path

    The storage team creates a data directory or volume for each node that survives container restarts, host rebuilds and upgrades. Choose local disks or a block volume with enough throughput for indexing and search, and size the volume against your planned retention, which you should set with Shuffle's execution data in mind. Confirm the volume is mounted at the path the node uses and that ownership matches the OpenSearch user. Snapshot or backup targets should be provisioned now, not after go-live. Test by writing a sample document, restarting the node and confirming the document is still there. Done when data persists across a restart and the backup target is reachable from the node.

  4. Set administrator and service credentials

    With the Security plugin enabled, the security administrator creates an admin account for operators and a separate service account for the Shuffle backend. The Shuffle service account should hold only the roles needed for the indexes Shuffle uses, so a leaked credential cannot administer the cluster. Store both passwords in your secrets manager, not in shared files or chat. Rotate the default demo credentials that ship with the installation if you keep any of them. Done when the service account can log in with its own credentials and the admin account is the only one able to change security settings.

  5. Enable TLS for node and client traffic

    The security team configures TLS for transport between nodes and for client connections from Shuffle, using certificates issued by your internal certificate authority or the process your organization approves. Set certificate paths and trust settings in the configuration, and confirm the Shuffle backend trusts the CA that signed the cluster certificate. Avoid disabling verification to get a connection working. Check the OpenSearch security documentation for the current TLS configuration keys for your version. Done when a client request over HTTPS succeeds with verification enabled and a request without a trusted certificate is refused.

  6. Generate and store SHUFFLE_ENCRYPTION_MODIFIER

    The platform team generates a long random value for SHUFFLE_ENCRYPTION_MODIFIER, which Shuffle uses to encrypt saved app credentials and API keys in OpenSearch with AES-256. Store it in your secrets store with an owner, access policy and a documented backup location, and inject it into the Shuffle configuration from there rather than a plain file. Record that losing or changing this value breaks all saved app authentications, so the recovery copy matters as much as the primary. Keep the value identical across every backend that reads the same cluster. Done when the value exists in the secrets store, a restore test has been documented, and no copy sits in version control.

  7. Start the cluster and confirm health

    The operator starts the OpenSearch nodes with the configured storage, credentials and TLS, then checks cluster health through the authenticated API. A green or otherwise acceptable status should be confirmed against what the chosen topology can provide, and any yellow or red status investigated before continuing. Verify that all expected nodes have joined and that the node logs show no security or bootstrap errors. Record the health output and the version reported by the cluster as your baseline. Done when the health check passes with the service account credentials.

  8. Confirm the backend authenticates before starting Shuffle

    Before any Shuffle container starts, the platform team runs a test from the host or network where the Shuffle backend will run, using the service account, the CA bundle and the TLS settings planned for production. The test confirms the connection succeeds, the account can create and read documents in the index namespace Shuffle will use, and an unauthenticated request is rejected. Only then set the OpenSearch connection values in the Shuffle configuration and start the backend. Keep the test result with the change record so the first Shuffle start has a documented starting point. Done when the authenticated test passes from the backend's network location.

When to move from the bundled node to an external cluster

A lab or proof of concept usually runs the OpenSearch instance bundled with the Shuffle Docker Compose install on one host. The bundled node keeps setup short, and the goal is to learn playbooks, apps and the execution model without designing for failure. The cost of this choice is that OpenSearch data sits on the same host as everything else, so a disk problem ends the trial with no recovery path.

  • Data ownership: The bundled node is part of the same stack, so the team running Shuffle also owns its data and volumes.
  • Backups: Treat snapshots as optional, but export any workflow you want to keep so a rebuild is not a rebuild from memory.
  • Credentials: Replace default passwords before connecting real systems, even in a lab, because saved app credentials are encrypted with the SHUFFLE_ENCRYPTION_MODIFIER secret.
  • Upgrade path: Expect to rebuild rather than migrate if the lab grows into production.
  • Scope creep: Do not let a lab acquire production credentials without a planned move.

Before you rely on a lab, confirm which Shuffle version and tag you are running and that you can recreate the stack from your notes.

Security controls for the OpenSearch layer

OpenSearch holds Shuffle's workflows, execution records and saved app credentials, so the cluster needs the same care as the application that depends on it. The six controls below cover identity, transport encryption, network exposure, audit trails, backups and the encryption key that protects saved credentials. Confirm each one in your environment before the first production workflow runs.

Enable the Security plugin and RBAC

The OpenSearch Security plugin provides role-based access control, so Shuffle should connect through a dedicated service account that holds only the index permissions it needs. Avoid using the admin account for application traffic, and keep human administrators on separate named accounts. Confirm which roles the Shuffle account has, that it cannot manage other indexes or security settings, and that the password is stored in your secrets store rather than in a shared file.

OpenSearch security docs

TLS for node and client traffic

The Security plugin can encrypt traffic between OpenSearch nodes and between clients and the cluster. Turn on TLS for both paths so that Shuffle's connections to OpenSearch are not sent in clear text on your network. Confirm which certificate authority signs the node and client certificates, that Shuffle trusts that authority, and who owns renewal before the certificates expire.

Keep the cluster off public networks

OpenSearch should be reachable only from the Shuffle backend, the frontend host and the workers that need it, not from the internet or general user networks. Place the cluster on a private subnet or internal network segment and restrict the OpenSearch port with host or cloud firewall rules. Confirm the allowed source addresses, and check from outside the network that the port does not respond.

Audit logging of cluster activity

The Security plugin can write audit logs that record authentication and access to the cluster, which helps when you investigate who changed security roles or read sensitive indexes. Decide where audit records are stored, how long they are kept and who reviews them, and keep them out of the indexes Shuffle writes to. Confirm which audit categories are enabled in your version and that the logs reach your central log platform.

Backup and snapshot protection

Shuffle's workflow definitions and execution history live in OpenSearch, so snapshots of the cluster are part of your disaster recovery plan. Store snapshots in a repository that the Shuffle service account cannot delete, and keep a copy outside the cluster's failure domain. Confirm the snapshot schedule, retention period, encryption of the repository and a tested restore into a separate environment.

Protect the Shuffle encryption modifier

Shuffle encrypts saved app credentials and API keys in OpenSearch with AES-256 using the SHUFFLE_ENCRYPTION_MODIFIER secret. Losing or changing this value breaks every saved app authentication, and anyone holding it together with OpenSearch data can read those credentials. Store the value in a secrets manager, back it up under restricted access, and confirm that it is never committed to version control or shared in chat.

Shuffle configuration docs

What buyers ask about OpenSearch sizing for Shuffle

What drives the cost of preparing OpenSearch for Shuffle?

The cost is driven mainly by how much of the OpenSearch layer your team already runs and how many environments need preparing. Shuffle stores its documents in OpenSearch, so the work covers host preparation, kernel settings, memory and disk planning, credential setup, TLS and index management. If you already operate a hardened OpenSearch cluster, the Shuffle-specific work is smaller. If you are building the first cluster, most effort goes into hosts, storage and security review. DeployOpen does not publish prices. A quote follows from a written scope that lists the environments, the number of nodes, whether TLS and access control are included, and whether backup and retention design is part of the work. Ask for each cost component to be listed separately so you can see what is one-time and what recurs.

Is the bundled single OpenSearch node enough for production Shuffle?

The bundled node is suitable for evaluation and small installs, but whether it is enough for production depends on your workload and your availability requirements. Shuffle's configuration docs recommend an OpenSearch cluster for high availability, so a single node is a single point of failure for workflow data. Consider the volume of executions and retained data, how long you must keep records, how quickly you must recover from a node loss, and whether other teams will share the cluster. Confirm the exact sizing guidance for your Shuffle version with the Shuffle configuration docs and test it against your own execution volume before you rely on it.

What must our team provide before OpenSearch preparation starts?

Your team must provide the hosts or cloud accounts where OpenSearch will run, the storage that will hold indexes and snapshots, the credentials and secret management process, and the network rules that let Shuffle components reach the cluster. Expect to supply a named owner for each item. Hosts need to meet the kernel and memory requirements of the OpenSearch version you select. Storage needs an agreed size and performance profile. Credentials should be generated and stored in your approved secrets system, because Shuffle depends on them and rotation changes must be planned. Network rules must allow traffic between the Shuffle backend, the Orborus runtime and OpenSearch, and your security team should review them before work begins.

How long does OpenSearch preparation take and what sets that duration?

Duration depends on the number of environments, whether you are building a new cluster or using an existing one, and how many approvals your organization requires. Work usually moves faster when hosts, storage and credentials are ready on day one. Delays often come from change windows, firewall approvals, storage provisioning and security review of the OpenSearch security configuration. DeployOpen agrees timelines in the written scope, so ask for the schedule to list each dependency, the party responsible for it and the point where your approvals are needed. Ask DeployOpen to confirm which steps depend on your environment rather than on the software itself.

Which indexes does Shuffle create in OpenSearch and who manages them?

Shuffle creates and uses its own indexes in OpenSearch to store workflows, executions, apps and configuration. The exact index names and their growth patterns should be confirmed against the Shuffle version you deploy, because they change between releases. Someone must own index lifecycle decisions, including retention, snapshot schedules and deletion. Without an owner, indexes grow until disk pressure affects workflow execution. Ask DeployOpen to document the indexes your version creates, the retention rules you approve, and the snapshot process, so your operations team can run them after handover.

Can our internal team prepare OpenSearch for Shuffle without a partner?

Yes, a team with experience running Linux hosts, containers and OpenSearch can prepare the environment itself. The work requires skills in kernel tuning, TLS, role-based access control, backup and upgrade planning, and monitoring. The decision usually depends on whether those skills exist in your team, how soon you need production, and whether you want an external review of the security settings. A partner can take on the build as a fixed-scope engagement, hand over runbooks and provide evidence for compliance reviews, but DeployOpen does not issue audit reports or certifications. Ask any provider, including your own team, to list the deliverables, the handover steps and the items you must confirm before the cluster goes live.

When should we move from the bundled node to an external OpenSearch cluster?

Move to an external cluster when you need high availability, when several Shuffle environments or other tools share the search layer, or when your organization already runs a managed OpenSearch service that meets its security standards. The decision should weigh availability goals, backup needs and the team that will operate the cluster. Confirm the supported OpenSearch versions for your Shuffle release in the Shuffle configuration docs before you choose a cluster version. A DeployOpen scope for this move should list connection details, TLS and credentials, index prefixes for shared clusters, and how backups change after the move.

Limits to confirm in your environment

Six items decide whether an OpenSearch backend will hold up under your Shuffle workload. Each one depends on the Shuffle release you pick, the OpenSearch line it supports and the volume your executions produce, so none of them should be taken from a general guide. Confirm each item with Shuffle documentation or support, then prove it in a test environment before production.

Supported OpenSearch version

Shuffle's documentation names the OpenSearch line each release expects, and that pairing changes between releases. Start from the Shuffle release you plan to run, not from the newest OpenSearch you can find. Ask Shuffle support to confirm the exact OpenSearch version for your release, and record it in your change request. Check it again before every upgrade, because a mismatch can break startup or indexing.

Shuffle configuration docs

Index set Shuffle creates

Shuffle writes its own documents into OpenSearch, so the indexes it creates decide what your cluster stores and how it grows. Before you size anything, list every index Shuffle creates on a test install of your chosen release and note which ones hold workflows, execution results and files. Confirm the list with Shuffle, and check whether index names can be prefixed if the cluster is shared with other applications.

Memory and disk for your execution volume

Sizing depends on how many workflow executions you run, how large their results are and how long you keep them. Measure these figures in a test environment using a realistic copy of your workflows, then size heap and disk from that measurement. Ask Shuffle for its guidance on heap settings and disk headroom for your release. Do not size from a single small trial run, because execution results grow with workflow count.

Retention behavior

Retention controls how long execution history and stored data stay in OpenSearch, and it is the main lever on disk growth. Confirm which settings control retention in your release, whether they apply to all indexes or only some, and what happens to running executions when old data is removed. Test a deletion cycle end to end, then confirm that your backup schedule captures data before it expires.

Joint upgrade path

Shuffle and OpenSearch must move forward in a sequence that both vendors support, and an upgrade of one can force a change in the other. Ask Shuffle which OpenSearch versions each target release accepts, and read the OpenSearch upgrade guidance for the source and target versions. Rehearse the full sequence on a copy of production, including rollback of the data, before you schedule a window.

OpenSearch upgrade guide

Rules for shared clusters

A shared OpenSearch cluster serves other applications, so Shuffle's indexes compete for heap, shards, disk and credentials. Confirm with Shuffle whether it supports a shared cluster for your release, which index prefix and role settings it needs, and how its service account should be scoped. Agree with the cluster owner on quotas and on who approves shard or index changes before you connect Shuffle.

How DeployOpen scopes and delivers OpenSearch for Shuffle

DeployOpen treats the OpenSearch layer under Shuffle as a planned part of the platform, not an afterthought. We scope the cluster from your retention, access and availability requirements, build it inside your own infrastructure, and hand over documented settings your team can run. Engagements are fixed-scope, with the scope agreed in writing before work starts.

How we scope

  • Written scope covers the OpenSearch version, node layout, memory and disk plan, and the credentials Shuffle will use.
  • We record which Shuffle deployment architecture applies, since Compose, Swarm and Kubernetes change how OpenSearch is reached.
  • Scope names the decision point for moving from the bundled single node to an external cluster, with the criteria agreed up front.

How we build

  • We apply the host kernel and memory settings OpenSearch requires, then verify them on each node before Shuffle is connected.
  • We configure TLS, authentication and role-based access for Shuffle's service account, following the OpenSearch Security plugin model.
  • We test index creation, retention and a restart of the OpenSearch layer against a running Shuffle instance before sign-off.

How we hand over

  • You receive a written record of the OpenSearch version, sizing assumptions, index list and the reasons behind each setting.
  • Runbooks cover kernel settings, disk thresholds, snapshot procedures and how to rotate the OpenSearch credentials Shuffle uses.
  • Your team walks through a restore test and a version-upgrade checklist so ownership of the data layer is clear after the engagement.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers once the initial scope is delivered.
  • Retainer work can include reviewing index growth, retention settings and cluster health as Shuffle workloads change.
  • Upgrades of OpenSearch are planned against the project's maintenance and end-of-life dates, with each change tested before rollout.

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.