Which open-source option replaces an Amazon OpenSearch Serverless collection?
Self-hosted OpenSearch on Kubernetes with autoscaling is the closest replacement for an Amazon OpenSearch Serverless collection, because the engine stays the same while you control sizing, data location and upgrade timing. OpenSearch is released under the Apache License, Version 2.0, and is a fork of open source Elasticsearch 7.10, so the query language and most client code carry over. Serverless bills OCU-hours with no cluster to size, and classic collections keep a minimum of 2 OCUs. A self-hosted cluster removes that floor, but you take on node sizing, scaling rules and on-call work that AWS handled for you. For steady, low-volume workloads, a fixed small cluster on a few nodes is often cheaper, while bursty indexing may fit an autoscaling node pool better. Ask your team to measure its peak indexing rate, query concurrency and retained data volume for a typical month before choosing.
The right option depends on workload shape, not on the product name alone. Autoscaling helps when load swings widely, but OpenSearch data nodes hold shards on local storage, so scaling in means moving shards and waiting for recovery, which is slower than adding a stateless service. Kubernetes autoscaling also needs a plan for persistent volumes, anti-affinity across zones and a minimum of three control plane nodes if you run the control plane yourself. Installation options include the OpenSearch Kubernetes Operator and Helm, and the OpenSearch install documentation is the place to confirm which fits your cluster layout. Confirm that your Kubernetes distribution is supported and check its release and patch timeline before committing.
How OpenSearch Serverless capabilities map to self-hosted OpenSearch
This table maps the capabilities you rely on in OpenSearch Serverless to the self-hosted OpenSearch feature that replaces each one, with gaps marked. Read it as a checklist: where the answer is a gap, you will build or buy that control yourself. Confirm vector and scaling behavior against the exact OpenSearch version you deploy before you commit.
| Capability | Self-hosted OpenSearch equivalent | Gap or work required |
|---|---|---|
| Full-text and vector search | Core OpenSearch search and k-NN vector search, with hybrid queries combining both | Confirm vector index types, engines and hybrid query support in your target version before sizing |
| Automatic capacity scaling | Not a native OpenSearch feature for data nodes | Gap: build with Kubernetes autoscaling, an OpenSearch operator and tested scale-out runbooks |
| IAM-based authorization | No IAM policy engine; use the Security plugin roles and mappings | Gap: map IAM principals and policies to OpenSearch roles and backend roles manually |
| SSO sign-in | Security plugin backends for SAML, OpenID Connect, LDAP and Active Directory, Kerberos and JSON Web Token | Configure the identity provider and test group-to-role mapping for each backend |
| Fine-grained data access | Role-based access control with document-level security, field-level security and field masking | Design roles and filters early, since they must be tested against real query paths |
| Encryption in transit | TLS for node-to-node and client traffic through the Security plugin | Own certificate issuance, rotation and trust distribution |
| Encryption at rest | Provided by the storage layer or volume encryption, not by OpenSearch alone | Choose and operate disk or object store encryption and key management yourself |
| Audit logging | Audit logs from the Security plugin, sent to your own log pipeline | Decide what to log, retention and where logs are stored to meet your review needs |
| Index lifecycle and snapshots | Index State Management policies and snapshots to an object store you control | Schedule and test snapshots and restores; confirm version compatibility for restores |
How the self-hosted OpenSearch parts fit together
The flow starts with application clients and OpenSearch Dashboards, which reach the cluster through TLS ingress after an external identity provider signs users in. Inside the client's boundary, the OpenSearch Kubernetes Operator manages the cluster on Kubernetes, with control plane nodes running the cluster management layer and data nodes that scale with load. Snapshots leave the cluster for a client-owned object store. Check that the identity provider login, role mapping and snapshot repository access are all configured and tested before go-live.
Clients reach an operator-managed OpenSearch cluster inside the client boundary, with snapshots going to the client's own store.
Which self-hosted OpenSearch setup fits which workload
Serverless bills for capacity without asking you to size a cluster, so the self-hosted replacement is a decision about who sizes, scales and patches the nodes. The options below differ mainly in how much automatic scaling they offer and how much operating work they leave with your team.
OpenSearch on Kubernetes with autoscaling
Run OpenSearch nodes through the OpenSearch Kubernetes Operator and let Kubernetes autoscaling adjust the capacity around it. This fits teams that already run Kubernetes and have spiky query or indexing load. Autoscaling of data nodes is not automatic: shard placement, heap sizing and disk growth still need explicit rules. Confirm with the operator project how it handles scaling events, rolling restarts and shard rebalancing, and confirm your cluster's Kubernetes version is still in support.
- Project license
- Apache 2.0
Fixed small cluster on virtual machines
Install OpenSearch from a tarball, RPM or Debian package on a fixed set of virtual machines. This fits workloads with steady volume and predictable growth, where a small cluster costs less to keep running than a scaling control plane. The trade-off is that capacity changes are manual, so you need headroom planned in advance. Ask your team to confirm node count, disk size and snapshot target, and test a node failure before go-live.
Helm or Docker installs for smaller teams
Deploy with Docker or Helm charts for a single-team setup that does not need an operator. This suits development, internal search and early pilots where operational overhead must stay low. It is the quickest route to a working cluster, but it leaves security settings, TLS certificates and upgrades to your team. Check the install documentation for the security plugin defaults and confirm them before any production data is loaded.
Qdrant or pgvector for vector-only workloads
If your search needs are nearest-neighbor vector retrieval and not keyword or log analytics, OpenSearch may be more engine than you need. Qdrant (Apache-2.0) and pgvector (PostgreSQL License) cover vector retrieval with smaller footprints. pgvector runs inside an existing PostgreSQL estate, while Qdrant is a dedicated service. Confirm recall, filtering behavior and index build times on your own embeddings, and confirm that your retrieval does not also depend on BM25-style keyword scoring.
pgvector repositoryWhat makes self-hosted OpenSearch cost more or less than OCU billing
Self-hosted OpenSearch cost is set by who pays for each component, not by a metered unit. OCU billing charges for capacity consumed in OCU-hours, and the AWS side of that bill is fixed by the service. Self-hosting moves the bill to your own line items: compute nodes for OpenSearch data and ingest roles, control plane nodes and etcd members for the Kubernetes cluster that runs them, block storage volumes for each data node, load balancing in front of the API, object storage for snapshots, monitoring and log retention, and engineering time for upgrades, patching and on-call. Some of these are paid to a cloud provider or hardware vendor, others to your staff or a services partner. Ask each vendor and team to break its figure into these lines so the comparison against OCU-hours is like for like.
Split the cost into one-time and recurring parts. One-time costs include architecture and sizing, the migration of indices and index templates, security configuration and hardening, and the first load test. Recurring costs include the infrastructure bill, Kubernetes and OpenSearch patching, version upgrades (the OpenSearch releases page describes minor versions about every eight weeks, with maintenance periods that end in a fixed window), backups, monitoring and on-call. Request quotes that show both groups separately and state the assumed upgrade cadence, because a low first-year figure often hides the recurring operations work.
The drivers that move cost up or down are peaks, retention, and replicas. Indexing bursts and query peaks size your data and coordinating nodes for the busiest hour, not the average, so a workload with sharp peaks may need more capacity than its OCU-hour total suggests. Retention multiplies storage: each extra month of indexed data adds EBS-equivalent volume and snapshot space in object storage. Replica count doubles or more the primary data footprint and the number of nodes that must be provisioned. Run a short sizing test with your real query and ingest profile and ask the quote to state the node count, storage per node and replica setting it assumes.
The 2 OCU minimum on classic collections matters only at the small end. If your workload is small and steady, a fixed three-node cluster with modest storage can cost less than a service floor of two OCUs, but the fixed cluster still carries the control plane, patching and on-call overhead, which does not shrink with the workload. Confirm with your provider the current OCU minimum for each collection type before comparing, and ask whether the quote includes a standby or high availability topology. Small self-hosted clusters are not automatically cheaper once operations time is counted.
When autoscaling Kubernetes wins and when a fixed small cluster is cheaper
This is the case where autoscaling most often pays off. If your organization already runs Kubernetes for other services, the platform, monitoring and on-call processes already exist, so an OpenSearch deployment adds mainly its own node pool and storage. Demand that comes in bursts, such as a product launch or a seasonal catalog peak, can justify extra data nodes for a few hours rather than a cluster sized for the peak all year. The practical limit is that search data is stateful. Adding a data node means shard relocation, which moves data over the network and takes time, so scaling out in response to a spike is slower than the spike itself. Scaling in needs the cluster to rebalance safely before a node is removed.
- Shard relocation time: New data nodes do not help until shards move to them, so plan for scale-up ahead of predictable peaks.
- Quorum and master nodes: Keep dedicated cluster manager nodes at a fixed count, outside the autoscaled pool.
- Team Kubernetes skill: Confirm your team can operate the OpenSearch Kubernetes Operator and storage classes, not just deploy workloads.
- Stateful scaling rules: Use horizontal pod autoscaling on query load only with a tested runbook for data node removal.
- Data residency: Keep the autoscaled node pool in the regions and clusters your data rules allow.
Before committing, ask your platform team to load-test a scale-out and scale-in cycle on a copy of your index.
For a stable dataset with predictable, modest query volume, a small fixed cluster is often the cheaper choice. Autoscaling adds value when demand moves, and steady search does not give it much to act on. A fixed set of nodes is simpler to size, monitor and back up, and its cost is mostly fixed too. Be careful with the minimum footprint. A production OpenSearch cluster that must survive a node failure needs at least three nodes that can act as cluster managers, so the smallest resilient layout is larger than a single node. Whether a fixed cluster is cheaper depends on your own usage, so compare it against your serverless bill over several months rather than a single week.
- Dataset growth: A slowly growing index fits a fixed cluster with planned disk expansion instead of elastic scaling.
- Node count for quorum: Three cluster manager eligible nodes is the usual floor for fault tolerance, so a tiny deployment still carries that baseline.
- Snapshot storage: Scheduled snapshots to object storage recur monthly and grow with index size.
- Patching effort: Each minor release is supported only for a limited window, so a fixed cluster still needs upgrades on a schedule.
- Idle capacity: Any node you keep for headroom is paid for whether or not queries use it.
Ask your team to model the fixed node count, storage and on-call hours against your current OCU-hour spend.
In regulated environments, a fixed, reviewable node pool is often the better design even when it costs more to run. Auditors and security teams generally want a defined set of hosts, known configuration, documented change control and a clear location for data. Autoscaling creates nodes on demand, which means the set of running hosts changes, images and configuration must be verified on each new node, and capacity changes can fall outside a change window. Kubernetes itself adds controls you must evidence, such as how Secrets are encrypted at rest, who can list them, and how etcd is backed up. A kubeadm high availability control plane uses at least three control plane nodes behind a TCP load balancer on port 6443, which is fixed overhead before any search workload runs. That overhead may not be justified for a small deployment.
- Fixed node pools: Pin data and cluster manager nodes to named pools with documented sizing and change approval.
- Control plane overhead: Three control plane nodes, a load balancer and etcd backups are recurring costs with staff time attached.
- Secrets and etcd: Enable encryption at rest for Secrets and restrict list and watch access with RBAC.
- Audit evidence: Keep logs of scaling events if you do allow autoscaling, so each change can be explained.
- Air-gapped options: Confirm image mirroring and offline upgrades if your network cannot reach public registries.
Confirm with your assessor which controls they expect to see evidenced before you choose between fixed and elastic capacity.
How self-hosted OpenSearch runs next to the rest of the stack
Moving off OpenSearch Serverless means IAM stops being the access layer, so every service that talked to the domain needs a new authentication path. The four components below carry most of that change: identity, the clients that write and query, the observability stack, and the snapshot bucket that becomes your recovery path.
Identity through the Security plugin
The OpenSearch Security plugin replaces IAM-based access control with its own users, roles and role mappings, and it can authenticate people through SAML or OpenID Connect against your existing identity provider. Application teams stop relying on IAM policies and must confirm which roles each service account and dashboard user needs. The platform team owns the identity provider integration, role mappings, admin certificates and the audit log settings that show who queried what. Ask the vendor or your own tests to confirm which backend fits your directory setup before you commit.
Security plugin docsClient authentication after IAM signing
Applications that signed requests with IAM credentials must switch to authentication the Security plugin accepts, such as basic credentials for service accounts issued from a secrets store or tokens from your identity provider. Each application team must update its client configuration, test index and query paths, and rotate the credentials it used before. The platform team should set up the credential issuance, rotation schedule and TLS trust for clients, and confirm that no service still holds long-lived keys copied from the old setup.
Ingestion pipelines and bulk writers
Log shippers, ETL jobs and streaming connectors often write through a single IAM role, so they need their own OpenSearch roles that allow only the index patterns and bulk operations they use. Application teams should review index names, mapping changes and retry behavior because a rejected bulk request will surface as a failed write, not a silent drop. The platform team owns the pipeline endpoints, backpressure settings and index lifecycle policies, and should test the write path under peak load before the cutover.
Cluster observability
Serverless hid the node layer, so self-hosting means the platform team now watches heap pressure, shard counts, disk watermarks and node health directly. Cluster metrics and logs should feed the monitoring stack you already run, with alerts on red or yellow cluster status and on the queues that signal overload. Application teams need dashboards for their own query latency and error rates. Confirm with your own load tests which thresholds fit your workload, since the right values depend on data volume and query shape.
Snapshots in a client-owned bucket
Snapshots become your only backup path, so the repository must sit in object storage you control, with retention, versioning and access rules set by your team. Restores depend on version compatibility, so keep snapshots from each cluster version you may restore into and test restores on a schedule. The platform team owns the repository credentials, lifecycle rules and restore drills. Application teams should confirm which indices and index templates they depend on are included in each snapshot.
Snapshot and restore docsHow to move Serverless collection data into a self-hosted cluster
This sequence turns a Serverless collection into a documented, tested self-hosted OpenSearch cluster, with validated query results and a cutover that can be reversed until the Serverless collection is retired.
Inventory collections, indices and access policies
Your search or platform team lists every collection in use, then records the index names, mappings, analyzers, index templates, aliases, ingestion pipelines and the data access and network policies attached to each collection. Also list every client that reads or writes to it, including application services, log shippers and dashboards. Check the result against the owning team's list of query patterns. This step is done when each collection has a written inventory that another engineer could use to rebuild the configuration without access to the AWS console.
Confirm the export path for your collection type
Before you plan a data move, confirm with current AWS documentation which export and snapshot options apply to your specific collection type, since they can differ between collection types and between Serverless and managed domains. Record the limits that matter for your data volume and whether you can read the full document set or must re-index from the source system. Ask your AWS account team to confirm anything the documentation leaves open. This step is done when the export method is written down with a named owner and a fallback option if the primary method cannot cover all indices.
Check version compatibility and Migration Assistant fit
Use OpenSearch's migration and upgrade guidance to choose a target version that is inside the maintenance window, and confirm that the target can read the source data format. Review the Migration Assistant guidance to decide whether it fits your source; confirm this against your own environment rather than assuming it applies. Record the target version, the upgrade path you will follow for future releases, and the reason for each decision. This step is done when a version decision and migration method are approved in writing by the platform owner and the security reviewer.
Stand up the target cluster with security controls
Your platform engineers deploy the target cluster on the chosen version, using the install method your Kubernetes team supports, such as Helm or the OpenSearch Kubernetes Operator. Configure TLS for node and client traffic, connect the Security plugin to your identity provider, and recreate roles, role mappings, index templates and lifecycle policies from the inventory. Enable audit logging and confirm that backups go to a store you control. This step is done when a smoke test passes, every role maps to a named group, and the security reviewer signs off on the configuration.
Load data and validate queries and relevance
Load the exported or re-indexed data into the target indices, then compare document counts, field mappings and sample records against the Serverless source. Run a fixed set of production queries against both clusters and compare result sets, sort order, facets and scoring. Ask the search owner to rate relevance on a representative query list, because mappings and analyzers that look equivalent can still rank results differently. This step is done when counts match within the tolerance the owner agreed, and the query comparison report has been reviewed and each difference is either fixed or accepted in writing.
Cut over clients with a rollback path
Move one client group at a time to the self-hosted endpoint, starting with read traffic where possible, and keep the Serverless collection available for reads and writes until the new cluster has run the full workload. Decide in advance which trigger returns traffic to the Serverless endpoint, and test that rollback path before the cutover. Keep write ingestion dual-running if your data source requires it, and confirm that no client still points at the old endpoint. This step is done when every client has moved, error rates are within the range the owner accepted, and the rollback has been tested.
Retire the Serverless collection after verification
After the new cluster has carried production traffic through a full review period agreed with the business owner, export a final snapshot or document set from the Serverless collection for your records, then delete the collection and its access policies. Remove the Serverless data access policies, network policies and encryption policies, and revoke any IAM roles that only existed for the collection. Update the runbooks, monitoring and cost allocation tags. This step is done when the collection no longer appears in your AWS account, the final export is stored in your retention system, and the migration record is filed with the owner and the approval dates.
What the self-hosted cluster must secure after cutover
Once the cluster runs in your own infrastructure, the security boundary is yours to build and prove. Start with transport and access: TLS must cover both node-to-node and client traffic, and the Security plugin's role-based access control, document-level and field-level security, field masking and audit logs need to be configured to match the data classes you hold. The OpenSearch security documentation covers these features, along with SAML, OpenID Connect, LDAP and Kerberos authentication backends, so confirm which identity source your organization will use before cutover rather than leaving local users in place. Also confirm which audit categories are enabled and where the logs are shipped, because a cluster that logs nothing you can retrieve will not satisfy a reviewer.
Kubernetes adds a second control plane with its own risks. Kubernetes stores Secrets unencrypted in etcd by default, so enable encryption at rest, restrict list and watch access with least-privilege RBAC, and consider an external store through the Secrets Store CSI Driver for OpenSearch admin credentials and TLS keys. Apply the Pod Security Standards to the namespace that hosts the cluster, and check which level your pods can meet. For etcd, the Kubernetes documentation recommends a five-member cluster in production, an odd member count, and a tested backup plan using etcdctl snapshot save with restores through etcdutl. Rehearse a restore in a non-production environment and record how long it took on your hardware.
Patching order is set by the Kubernetes version skew policy: upgrade kube-apiserver one minor version at a time, then kube-controller-manager and kube-scheduler, then kubelets, which may run up to three minor versions behind the API server. Plan your patch calendar around the support windows published on the Kubernetes releases page, and confirm which minor versions your distribution supports, since the CNCF conformance program confirms API support, not your vendor's patch cadence. Because these controls and their evidence are yours to maintain, we recommend an independent review of the configuration before you rely on it. DeployOpen can prepare the controls, configuration records and evidence for that review, but it does not issue audit reports or attestations; an independent auditor or certification body does that work.
What buyers ask before self-hosting OpenSearch instead of Serverless
How much effort does moving off OpenSearch Serverless actually take?
The effort depends mostly on how many collections, indices, index templates, access policies and client applications you have, and on whether your queries use features that need checking on a self-managed cluster. The data move itself is usually the smaller part. Plan for work in four areas: sizing and building the cluster, recreating security roles and authentication, rewiring clients and pipelines, and validating search relevance and performance before cutover. Ask any provider to list each workstream, the environments it covers, and the test evidence delivered at the end, in the written scope before work starts.
Can our own team run a self-hosted OpenSearch cluster without outside help?
Some teams can, especially those already operating Kubernetes and comfortable with stateful workloads. The questions to answer honestly are who will take alerts at night, who will perform upgrades and rollbacks, who owns backup restore tests, and who reviews security configuration changes. OpenSearch documents several installation methods, including Docker, Helm, the OpenSearch Kubernetes Operator and tarball packages, so the install is rarely the hard part. Operating the cluster over several years is. You can ask a partner to hand over a runbook and train your staff, or to operate the cluster under a retainer, and the quote should state which of those you are buying.
What ongoing work recurs after a self-hosted OpenSearch cluster is live?
Three recurring streams need an owner. OpenSearch targets a new minor version about every eight weeks, and OpenSearch versions receive bug fixes and security patches during maintenance but no new features. Kubernetes releases come about three times per year on a cycle of about 14 weeks, and each Kubernetes minor version gets about one year of patch support, so the cluster platform must be upgraded regularly too. Kubernetes requires the control plane to move one minor version at a time. Ask for a written upgrade cadence, a test environment for each upgrade, and the rollback procedure.
How does the cost of self-hosting OpenSearch compare by component?
Serverless charges by OCU-hours, while a self-hosted cluster moves the cost to components you can see: compute nodes, storage volumes, object storage for snapshots, load balancing, monitoring, and the engineering time to operate them. Compute and storage are recurring. Setup, migration testing and runbook creation are largely one-time. Costs rise with data volume, replica count, retention, query concurrency and the number of environments you keep, such as staging and disaster recovery. Ask for an itemized quote that separates one-time work from monthly infrastructure and support, and state which components the provider does not price, such as your cloud accounts or on-call rota.
Does a self-hosted cluster autoscale the way Serverless does?
Not automatically in the same way. Serverless adds and removes capacity on its own. On Kubernetes you can approximate this with the OpenSearch Kubernetes Operator and horizontal or vertical autoscaling rules, but you must define the signals, limits and node pools, test how quickly new data nodes join and rebalance shards, and accept that scaling a stateful search cluster is slower and more constrained than scaling stateless pods. Ask the provider to demonstrate scale-out and scale-in under your query load in a non-production environment and to document the limits they observed.
How do we produce security and compliance evidence for a self-hosted cluster?
The OpenSearch Security plugin provides role-based access control, document-level and field-level security, field masking, audit logs, TLS for node and client traffic, and authentication through SAML, OpenID Connect, LDAP, Active Directory, Kerberos and JSON Web Tokens. Kubernetes adds its own controls, including RBAC, Pod Security Standards and encryption at rest for Secrets, which Kubernetes does not enable by default. Evidence comes from configuration exports, access reviews, audit log samples, backup restore tests and change records. DeployOpen prepares systems, controls and evidence for compliance assessments, but independent auditors issue any audit report or certification. Ask which control mappings the provider will prepare and which auditor you will use.
Is a fixed small cluster a better option than autoscaling?
It can be, when your data size and query load are steady and predictable. A fixed cluster with a known number of data nodes, dedicated cluster managers and a tested snapshot schedule is simpler to size, monitor and explain to auditors than an autoscaling design. It becomes weaker when traffic spikes are frequent or data grows quickly. Compare the monthly cost of a fixed cluster sized for peak load against the Serverless bill for your last several months of usage, and include the engineering time for both. Ask the provider to model both options with your actual figures before you commit.
How DeployOpen scopes and delivers a self-hosted OpenSearch replacement
DeployOpen plans, implements, hardens, documents and supports self-hosted open-source platforms inside your own cloud accounts, data centers or air-gapped networks. For a move off OpenSearch Serverless, we start from your actual index sizes, query load and security requirements, then deliver a right-sized OpenSearch deployment that your team can review and operate.
How we scope
- We map your current OpenSearch Serverless collections, index sizes, query patterns and OCU consumption before proposing a target design.
- The written scope names the Kubernetes environment, OpenSearch version, authentication backend, audit logging and snapshot target that we will build.
- Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts, and a quote follows from that scope.
How we build
- We install OpenSearch with the official Helm chart or OpenSearch Kubernetes Operator, sized to your data and tuned for autoscaling where you need it.
- We configure the Security plugin with your identity provider, role-based access, TLS for node and client traffic, and audit logs.
- We test index migration, snapshot restore and application query behavior against your workloads before any cutover is planned.
How we hand over
- You receive architecture diagrams, runbooks for scaling, upgrades, snapshots and etcd-independent recovery steps, and configuration documentation.
- We document the access model, role mappings, secrets handling and the evidence your security and compliance teams will ask to review.
- Knowledge transfer sessions walk your platform and on-call staff through daily operation, failure handling and the upgrade path.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after handover, so patching follows the OpenSearch maintenance schedule.
- Security testing of the cluster and its applications can be scoped separately to check permissions, exposure and credential handling.
- Ask any provider to confirm in writing who carries on-call duty, how backups are verified and what response times apply.

