OpenSearch for SaaS and technology companies

A planning guide for SaaS and platform teams running self-hosted OpenSearch for in-app search, tenant isolation, observability and SOC 2 logging evidence.

On this page

Why SaaS teams run OpenSearch for in-app search and SOC 2 evidence

A SaaS engineering or security lead usually inherits one search cluster that serves many customers, while the same platform team is asked for log retention and audit evidence for a SOC 2 examination. OpenSearch fits this work because it is Apache 2.0 software and wire-compatible with Elasticsearch 7.10, so teams can build search and logging on a self-hosted platform they control without a per-tenant license decision. The engine is rarely the hard part. The design choices that decide whether the platform holds up are tenant isolation, the scope of what gets logged, and whether the evidence can be produced for an auditor.

Tenant isolation is set by the Security plugin and the cluster layout, not by the application alone. Teams need to decide whether tenants share indices with document-level security and field masking, or whether each tenant or tier gets its own index pattern, roles and, for large customers, dedicated capacity. Workload management and Dashboards tenants keep one customer's heavy queries and saved objects away from others. Confirm with your own architects how these controls behave at your tenant count, since the right split depends on your data model and noisy-neighbor exposure, not on a general rule.

For SOC 2, the question is which events and access records exist, who can read them, and how long they are kept. The common criteria in the AICPA 2017 Trust Services Criteria cover logical access and system operations, so the audit trail needs the Security plugin's audit logs, retention rules and restricted read access planned before go-live. Ask your auditor which systems and periods the examination will cover, and whether a Type 1 or Type 2 report is expected, because that determines how much history must exist and be provable.

Choosing a tenancy model for OpenSearch

Tenancy is the first design decision for multi-tenant search or logging in a SaaS product, and it is hard to reverse once tenant data is indexed. The four layouts below trade isolation strength against operating cost and noisy-neighbor exposure. The right choice depends on tenant count, data sensitivity and contractual terms, and each limit should be confirmed in your own environment.

Shared index with document-level security

All tenants write to common indices, and each document carries a tenant field. Security plugin roles with document-level security filter every query so a user only sees rows matching their tenant. This keeps shard count and cluster overhead low, but isolation depends on correct role definitions and on every application query path honoring them. Check that field masking covers personal data, that Dashboards tenants separate saved objects, and that heavy tenants cannot starve others through a shared shard pool.

Security docs

Index per tenant

Each tenant gets its own index, so index-level roles and separate mappings, retention and snapshot settings are possible per customer. Isolation is stronger than document filtering because a misconfigured query cannot cross index boundaries by default. The cost is shard growth: thousands of small indices add cluster state and memory pressure. Confirm the tenant count you expect, the shard budget per node and how index templates and lifecycle policies will be automated for every new tenant.

Cluster per tenant

Dedicated clusters give the strongest separation of data, credentials, upgrade timing and failure domains, which many enterprise contracts require. The trade-off is operating cost, since each cluster needs its own cluster manager, data nodes, certificates, backups and monitoring. Upgrades, patching and incident response multiply with each cluster. Ask whether contracts require dedicated infrastructure, whether customers accept a maintenance window of their own, and how provisioning is automated so the cost of each additional cluster stays bounded.

Cluster per tier

Tenants are grouped into tiers, such as shared clusters for standard plans and dedicated clusters for regulated or large accounts. This balances cost and isolation and lets the platform team tune workload management per tier. Noisy-neighbor risk stays inside each tier, so the tier boundary needs clear entry criteria and a migration path between tiers. Confirm how a tenant moves from a shared tier to a dedicated one without downtime, and how Dashboards tenants and roles are recreated on the target cluster.

Noisy-neighbor controls for shared clusters

Any shared layout needs limits on how much one tenant can consume. Workload management and rate limits on query and indexing paths protect other tenants during spikes, and per-tenant quotas on index count and retention keep storage predictable. Test these controls with a deliberately heavy tenant before launch, not after the first incident. Ask your platform team which limits are enforced by OpenSearch, which by the application layer and which only by monitoring alerts.

Access, audit and tenant evidence

Whichever layout you choose, document the roles, tenants, index patterns and audit log settings that enforce separation, because customers and SOC 2 auditors will ask how isolation is designed and tested. Keep role definitions in version control and review changes like code. Record which controls are assertions about your system and which are evidence an auditor can sample. Your auditor, not DeployOpen, decides whether the design meets the Trust Services Criteria applied to your engagement.

Security docs

What SaaS requirements mean for the OpenSearch build

This table maps five SaaS requirements to the sources that create them and to the OpenSearch build decisions they force. Read each row as a question to settle before cluster design starts, and confirm interpretations with counsel or your SOC 2 auditor, since the facts below describe the rules but not how they apply to your product.

RequirementSourceWhat it means for the build
Tenant data isolationSOC 2 common criteria CC6 (logical access), per AICPA 2017 Trust Services CriteriaMap each tenant to an enforced boundary in OpenSearch Security roles, document-level security and Dashboards tenants. Confirm with your auditor which isolation model (index, document or cluster) they will accept as evidence.
SOC 2 logging and access evidenceAICPA 2017 Trust Services Criteria; AT-C section 205 assertion-based examinationEnable OpenSearch Security audit logs and retain them for the period your auditor samples. Confirm with your auditor which events, retention length and review cadence they expect.
GDPR processor obligationsGDPR Article 28(3) on documented instructions; Article 32 on security of processingDocument the processing instructions that drive index design, retention and cross-border replication, and apply the Article 32 measures (encryption, access control, logging) to the cluster. Confirm the contract terms with counsel.
EU Data Act switching rightsData Act, Regulation (EU) 2023/2854, Articles 23, 25 and 50; Article 29 on switching chargesPlan exportable formats and snapshot-based export so customers can move data to another provider or on-premises infrastructure. Confirm with counsel whether your service is a data processing service under the Act and how notice periods apply.
Availability expectationsSOC 2 availability category (A1), included only when in scope; OpenSearch cluster documentationUse dedicated cluster manager nodes, replicas on separate nodes and shard allocation awareness, and test recovery from snapshots. Confirm the availability commitments you publish with your auditor and contracts team.

Security plugin, workload and observability settings that matter in SaaS

A multi-tenant SaaS product on OpenSearch depends on a few settings working together: who can log in, what each customer team can see, how the cluster survives node failures, and whether the logs that prove those controls actually reach the cluster. Each card names the documented capability and what to confirm against your OpenSearch version before design sign-off.

Customer and workforce single sign-on

The OpenSearch Security plugin supports SAML and OpenID Connect, so customer administrators and your own staff can sign in through the identity providers you already run. Decide early which population uses which identity path, because customer logins and internal operator access carry different risk and different audit expectations. Confirm the exact SAML and OpenID Connect configuration keys, role mapping behavior and session settings for your version, and test that deprovisioned users lose access to both the API and Dashboards.

Security docs

Document and field-level roles per tenant

Role-based access control, document-level security and field-level security let one index serve several customers while each role sees only its own documents and permitted fields. Field masking covers values such as email addresses or account identifiers that support staff need to search but should not read in full. Model roles from your tenancy keys, test with a non-admin account for every role, and confirm that filters apply to aggregations and saved searches, since a query path that skips them is a common leak.

Security docs

Dashboards tenants per customer team

OpenSearch Dashboards tenants separate saved objects such as visualizations, dashboards and index patterns, so an internal support team can keep its views apart from the engineering or customer success teams. Tenants control what people see in the interface, but they do not replace index-level or document-level permissions, which still govern the data. Confirm how tenants interact with your role mappings and whether your customer-facing dashboards need a separate deployment, and document who owns each tenant.

Audit logs for access evidence

Audit logging records authentication and access events so you can show who queried or changed what, which is the kind of evidence SOC 2 Trust Services Criteria ask you to support for logical access. Decide which categories to enable, where the audit index lives, and who can read it, because the audit trail itself must be protected from the users it monitors. Confirm the audit settings for your version, set retention to match your control descriptions, and check that the logs ship to a store your change management process can review.

Dedicated cluster manager and replica placement

OpenSearch documents dedicated cluster manager nodes, replicas placed on separate nodes and shard allocation awareness as the basis for availability. For a SaaS product, a single zone failure should not take out customer search or the audit trail, so map these settings to your actual zones or racks. Confirm node counts, awareness attributes and quorum behavior against the cluster guidance for your version, and rehearse a node loss before launch rather than trusting the configuration on paper.

Cluster setup docs

Observability pipeline for logs and traces

An observability pipeline that sends application logs and traces into OpenSearch lets engineers investigate incidents and gives compliance teams a record of system events. Choose the collector and its routing rules deliberately, since a misconfigured pipeline can drop events during an incident or expose sensitive fields to a wider audience than intended. Confirm which ingestion tooling your version supports, how backpressure is handled when the cluster slows, and whether tenant identifiers are attached to every event so access filters can apply.

Tenant requests, logs and audit evidence follow separate paths through the cluster

The diagram starts with a customer signing in through the identity provider and sending a search request to the SaaS application. The application calls the cluster's coordinating nodes, where role filters and document-level security limit each query to that tenant's data before shards are searched. Application and audit logs take a separate path through an ingest pipeline into a retention store, which operators review under their own access. Check that the tenant path and the operator path never share credentials or roles.

Tenant queries, log ingestion and operator review, separated by trust zone.

How a SaaS OpenSearch rollout is sequenced

The sequence turns an open-source cluster into a tenant-aware search and logging platform that your security, compliance and engineering teams can review before customer traffic depends on it. Each phase closes with a written deliverable so the next phase starts from agreed inputs.

  1. Scope use cases and the tenancy model

    Start by listing each search and log use case: in-app search, vector retrieval, application logs, traces, and security events. For each one, record the data source, the owning team, retention needs, and how tenants are separated: a shared index with document-level filtering, index-per-tenant, or cluster-per-tenant for the most sensitive customers. Your product and security leads sign off on the tenancy model, and DeployOpen delivers a scope document that names every index pattern, data class and open decision. The step is done when the model is written down and nobody is still debating how tenant A's data is kept away from tenant B's.

  2. Build the identity and role model

    Map your workforce and customer identity sources to the OpenSearch Security plugin, which supports SAML, OpenID Connect, Active Directory, LDAP, Kerberos and JSON Web Token backends. Design roles with document-level and field-level security, field masking and Dashboards tenants so that support staff, engineers and automated services each get the access they need and no more. Confirm with your identity team which authentication backend your SSO provider supports. The deliverable is a role and permission matrix, reviewed by security, that is tested against sample accounts before any cluster is built.

  3. Deploy the cluster with the chosen method

    Select an installation method from the options OpenSearch documents: Docker, Helm, the OpenSearch Kubernetes Operator, tarball, RPM, Debian packages, an Ansible playbook or Windows. Lay out dedicated cluster manager, data, ingest and coordinating node roles, place replicas on separate nodes and configure shard allocation awareness across your failure domains. Enable TLS for node and client traffic and apply the security configuration from the previous phase. The deliverable is a repeatable deployment with infrastructure-as-code, a documented topology, and a health check that shows green status with the expected node count.

  4. Load test with representative tenant data

    Build a test dataset that reflects your real tenant size distribution, including the largest tenants, with query mixes that match production search and log patterns. Run indexing and query load at expected peak and above, and measure latency, heap pressure, disk watermarks and the effect of noisy tenants on others. Use workload management and tenant-level limits to confirm that one tenant cannot starve the rest. The deliverable is a test report with the sizing decisions it supports, the limits you will set, and a list of configuration changes that were made and why. Repeat the tests after each material change.

  5. Add observability and evidence collection

    Instrument the cluster and the ingestion path with metrics, logs and alerts for cluster health, indexing backlog, query failures and certificate expiry. Turn on audit logging for security-relevant events, route those logs to a retained store that your SOC 2 evidence process can reach, and document which system is the source of each control. Map each control to the relevant Common Criteria, such as logical access and system operations, and record how an auditor would test it. The deliverable is a dashboard and alert set, an audit logging configuration, and an evidence index. Whether the evidence satisfies your auditor is a question for your independent assessor, not for this phase.

  6. Run a controlled cutover

    Move traffic in stages: start with internal users or a small set of low-risk tenants, then widen the group as error rates, latency and alert volume stay within the thresholds set during load testing. For migrations from an existing Elasticsearch or OpenSearch cluster, choose among rolling upgrade, snapshot and restore, remote reindexing or Migration Assistant, and confirm the method with a rehearsal. Keep the old path available until rollback has been tested. The deliverable is a signed cutover runbook, a record of each stage with its go or no-go decision, and a post-cutover review that feeds the operating procedures.

Questions SaaS teams ask before hiring help with OpenSearch

What drives the cost and effort of a SaaS OpenSearch build?

The main drivers are the number of data sources, the volume and retention of logs or indexed content, the tenant model, the authentication setup, and how many environments you need. Search features that depend on relevance tuning or vector retrieval add work on top of the platform itself. A written scope lists these items, and a quote follows from that scope, so ask for one that separates platform setup, application integration and testing. DeployOpen does not publish a price list, and no fixed duration applies across SaaS builds.

Which parts of an OpenSearch project are one-time and which recur?

One-time work includes architecture, cluster deployment, identity and role design, index mappings, tenant setup, log pipeline wiring, backup configuration and initial testing. Recurring work includes version upgrades, patching during each maintenance window, capacity changes as data grows, access reviews, snapshot verification and evidence collection for audits. The OpenSearch releases page says versions receive bug fixes and security patches during maintenance, so plan a recurring upgrade cycle from the start. Ask any provider to state which items are included in the first delivery and which need a retainer.

How does the tenant model change the effort?

Tenant model drives most of the design work. A pooled index with document-level security needs careful role templates, query filters and tests that prove one tenant cannot read another's documents. Index-per-tenant is simpler to isolate but adds shard, template and lifecycle management as tenant counts grow. Dashboards tenants separate saved objects and visualizations, but they are a display boundary, so they do not replace data isolation. Workload management settings protect shared clusters from one tenant's heavy queries. Decide the model before indexing begins, because changing it later usually means reindexing.

What SOC 2 logging evidence must we supply?

SOC 2 examinations use the AICPA 2017 Trust Services Criteria, and the security common criteria CC1 to CC9 apply to every SOC 2. Your organization owns the system description, the control design and the evidence that controls operated, so the auditor will ask for access logs, change records, authentication configuration and proof of log review. Confirm with your auditor which period and evidence types they expect, since a Type 1 report covers design as of a date while a Type 2 report covers operation over a period. OpenSearch Security audit logs and retained exports can support this evidence, but auditors decide sufficiency.

Can our in-house team run OpenSearch without outside help?

Yes, many teams run self-hosted OpenSearch in-house, and the platform is available under the Apache License, Version 2.0 with no paid edition described in the OpenSearch FAQ. The work is operational: cluster manager and data node design, shard sizing, snapshots, certificate rotation, upgrades and incident response. Assess whether you have people who can handle those tasks on a schedule and during an incident. An outside partner usually fits when the team needs a fixed-scope build, a hardening review or a retainer for upgrades and testing, while the internal team keeps daily operation.

How do upgrades and version maintenance affect ongoing work?

Each OpenSearch version stays in maintenance until the next major version enters maintenance or one year passes, whichever is longer, and version 1 reached end of life on May 6, 2025. Version 2 is maintained through the 4.0 GA release. OpenSearch targets a new minor version about every eight weeks, so a support plan must account for frequent minor releases and occasional major moves. Rolling upgrades work from Elasticsearch 6.0 through 7.10 indices, and Migration Assistant can move workloads across several major versions. Check the exact support dates on the releases page before you commit to a version.

What must our team provide before the engagement starts?

Expect to provide cloud or data center access, network and DNS plans, your identity provider details for SAML or OpenID Connect, a tenant and data model, sample documents or log formats, retention rules, and named owners for security review and production approval. You also need an application owner who can confirm search relevance or log fields, and a test environment that mirrors production. Write these inputs into the scope so delays are visible early. Ask for a quote only after the written scope lists these dependencies.

SOC 2, GDPR and EU rules that shape the logging design

A SaaS product that stores logs in OpenSearch inherits questions from its customers' auditors and from EU law. The cards below cover the SOC 2 criteria that touch the logging platform, the difference between point-in-time and period evidence, contract and portability rules, and product obligations. DeployOpen prepares controls and evidence, but it does not issue reports, and the client's auditor decides scope.

SOC 2 access and operations criteria

The common criteria CC6 to CC9 cover logical access, system operations, change management and risk mitigation, and they apply to every SOC 2 examination. For OpenSearch, this means checking who can query tenant logs through the Security plugin roles, how administrator access is granted and reviewed, and whether index templates, cluster settings and plugin changes pass through a tracked change process. Ask your auditor which systems fall inside the system description before you design controls around the cluster.

AICPA SOC 2 overview

Type 1 and Type 2 evidence

A Type 1 report describes the system and the design of controls as of one date. A Type 2 report adds an opinion on whether those controls operated effectively over a period. For a logging platform, Type 2 means the auditor will sample evidence across months, such as access review records, audit log exports and alert tickets. Plan retention and export for that evidence from the start, because a cluster that rotates or deletes its audit indices cannot answer a period question.

SOC 3 versus restricted SOC 2 use

SOC 2 reports are generally restricted in use, so they are shared with customers under NDA or through a trust center arrangement. SOC 3 reports cover the same categories in less detail and are general use documents that can be distributed freely. Decide early which audience needs which report, because this affects what your public materials can claim about logging and monitoring. Confirm the distribution terms with your auditor before publishing any report.

GDPR Article 28 processor terms

Under Article 28(3), a processor contract must limit processing to documented instructions, including for transfers, and require the security measures of Article 32. When customer personal data lands in search indices or log events, your data processing agreement should name OpenSearch as a processing location, describe index retention and deletion, and state who can access raw events. Review the contract with counsel before you onboard customers whose logs contain personal data.

GDPR text on EUR-Lex

Data Act switching rights

Regulation (EU) 2023/2854 requires data processing service providers to let customers switch to another provider or to on-premises infrastructure, with a maximum two-month notice period and a 30-day transitional period. Switching charges may not be imposed from 12 January 2027. If your SaaS exports search or log data to customers, design the export format and the index snapshot process so customers can move their data, and document how that works in your service terms.

Cyber Resilience Act vendor duties

The Cyber Resilience Act applies to products with digital elements, including software, from 11 December 2027. Reporting obligations under Article 14 have applied since 11 September 2026 to all in-scope products placed on the market. Most products follow self-assessment under module A, but some product classes need a notified body. If your platform ships software to EU customers, confirm the product classification, the vulnerability handling process and the reporting contacts that your OpenSearch-based components require.

CRA text on EUR-Lex

What to confirm with your team and auditor before build

Four decisions shape the OpenSearch design, and each should be settled in writing before anyone builds an index. The first is the tenant model: whether each customer gets its own index pattern, its own cluster, or a shared index with document-level security filtering on a tenant field. That choice determines how the Security plugin roles, index patterns and Dashboards tenants are written, and whether one customer's noisy query can starve another. The second is log retention and query access: how long tenant logs are kept, which internal staff may search them, and whether support engineers see raw customer payloads or only redacted fields. The third is which SOC 2 categories are in scope. The security common criteria (CC1 to CC9) apply to every SOC 2, but availability, confidentiality, processing integrity or privacy are added only when they are in scope, and each addition changes which logs and evidence the cluster must produce. The fourth is where the cluster runs, since it determines the data residency commitments you can make to customers.

Take the scope list to your auditor before build, not after. Ask which system description boundary they will test, whether the first examination will be a Type 1 (control design at a date) or a Type 2 (operating effectiveness over a period), and what evidence they expect for audit logging, access reviews and change management on the OpenSearch cluster itself. Ask how they want the Security plugin audit log output retained and whether they accept an exported log pipeline as the system of record. Confirm how the report will be used, because SOC 2 use is generally restricted, which affects what you can share with customers in a trust center.

Several parts stay with your team even when DeployOpen builds the platform. Your organization owns the control design, the access review process, the evidence collection schedule and the decision to accept any residual risk. It also owns the identity provider configuration, the on-call process for cluster health and the vendor management file for any hosting provider. DeployOpen can prepare the configuration, documentation and evidence for these controls, but the examination is performed by an independent CPA firm, and the attestation report is theirs to issue. Ask your auditor to confirm that wording in writing before the scope is signed.

How DeployOpen scopes and supports SaaS OpenSearch work

DeployOpen plans, implements, hardens, documents and supports self-hosted open-source platforms inside the client's own infrastructure, including OpenSearch for SaaS products and internal platform teams. We start from the tenancy model, the data your product indexes and the evidence your SOC 2 auditor will ask for, then build and hand over against that written scope.

How we scope

  • Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
  • The written scope names which OpenSearch use cases are in: in-app search, vector search, observability or logging evidence.
  • We map tenant isolation needs, including Dashboards tenants and role boundaries, before any cluster is sized.
  • A quote follows from the written scope, so ask which cost items your scope includes and which it leaves to your team.

How we build

  • Installation uses the method your platform team already runs, such as Helm, the Kubernetes Operator, packages or Ansible.
  • We configure the Security plugin with an identity backend, TLS, roles and document-level or field-level controls per tenant.
  • Node roles, replicas on separate nodes and shard allocation awareness are set up for availability before workloads arrive.
  • Audit logging and log source onboarding are configured so the evidence your SOC 2 auditor samples exists from day one.

How we hand over

  • Deliverables include configuration documentation, runbooks for tenant onboarding and a record of access and role decisions.
  • Backup and snapshot procedures are tested with a restore exercise, and the results are written into the handover pack.
  • Your team receives the controls mapping we prepared, so your auditor can trace each evidence source to its owner.
  • Knowledge transfer sessions cover upgrades, the Apache 2.0 maintenance window for each version and your rollback steps.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers, scoped in writing.
  • Upgrade planning follows the OpenSearch release and maintenance policy, so each move is tied to a supported version.
  • Security testing of the search and tenant boundary can be repeated after changes, with findings and retests documented.
  • Ask any provider which upgrade path, rolling upgrade or Migration Assistant, they will use and how they will prove tenant isolation.

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.