When GPU index builds for OpenSearch vector search are worth planning
Your embedding corpus is large, and HNSW index builds on your CPU data nodes now take longer than your reindexing window allows. OpenSearch 3.0 added a GPU-accelerated remote index build service for Faiss indexes that use the hnsw method, so the graph construction can run on GPU hardware instead of the nodes that serve queries. The feature is opt-in and sits inside a self-hosted vector database plan, which means the GPU capacity, the vector repository and the failure handling all belong to your infrastructure and need an owner before you turn anything on.
Build time matters most when the corpus is large and changes in bulk: an initial load of millions of vectors, a model change that forces full re-embedding, or periodic rebuilds that must finish inside a maintenance window. CPU builds are usually enough when the corpus is small, when new vectors arrive slowly and incrementally, or when query latency and recall are the real constraints. Measure your current build time per index, and the rebuild frequency, before deciding. Ask your team to confirm the hardware, driver and GPU support matrix for the OpenSearch version you plan to run, since that is where remote builds most often stall.
Plan the GPU path as a dependency, not a shortcut. Remote builds require the cluster-level knn.remote_index_build.enabled setting, which is false by default, and a registered remote vector repository, and indexes that use the bf16 encoder always build locally. Decide who operates the build service, how a failed remote build falls back or fails, and how you will prove the rebuilt index matches the one you tested. The OpenSearch remote index build documentation lists the requirements to check against your version before you commit to a design.
How a remote GPU build moves data through the cluster
The build starts on the data nodes, which hold the vectors for an index that uses the Faiss hnsw method. Those vectors are written to a registered remote vector repository, and the GPU build service reads them from there and produces the HNSW graph. The finished artifact is returned to the cluster and loaded for search. Before relying on this path, check that knn.remote_index_build.enabled is turned on and that the index does not use the bf16 encoder, because bf16 indexes always build on the local path.
Remote GPU builds send vectors out and return a graph, while bf16 indexes build locally.
Configuration options and when each fits
This table compares the remote GPU build path with the local build path for Faiss HNSW indexes, and lists the cluster and index settings that decide which one runs. Read each row as a condition you must confirm in your cluster before you expect a GPU build. The main takeaway is that the remote path needs both the cluster setting and a registered repository, and that bf16-encoded indexes stay on local builds.
| Option | What it requires | When it fits |
|---|---|---|
| Faiss HNSW with remote build enabled | Faiss engine with the hnsw method, knn.remote_index_build.enabled set to true, and a registered remote vector repository | Large vector indexes where build time on CPU nodes is the bottleneck and GPU capacity is available |
| Faiss HNSW with remote build disabled | Default cluster setting, which is false, so builds stay on the cluster's own nodes | Smaller indexes, rebuilds that run rarely, or clusters without GPU capacity or a repository |
| Faiss HNSW with bf16 encoder | Index-level encoder set to bf16; the index always builds locally even if remote build is enabled | Memory reduction is the priority and the team accepts local build time for these indexes |
| Remote vector repository | Registered repository that the GPU build service can read and write, configured before index creation | Any cluster that wants remote builds; confirm the repository type and access path with your platform team |
| Index-level encoder choice | Encoder is set when the index is created, so changing it later means reindexing | Decide during design, since the encoder controls whether the remote path applies at all |
| Cluster setting change | Cluster-level update to knn.remote_index_build.enabled, applied without changing index mappings | Staged rollout: enable on a test cluster first and verify builds before production use |
Setting up remote GPU builds step by step
This sequence takes a cluster from a version check to a verified GPU-built vector index, with a confirmation at each stage so you can see which build path ran. Work through it in a non-production cluster first, since the settings touch index creation and build behavior.
Confirm the OpenSearch version is 3.0 or later
Check the running version on every node and in the deployment manifest, since the remote index build service was introduced in OpenSearch 3.0. Your platform team runs this check against the cluster, using the version reported by the cluster root endpoint or your Helm chart or operator release. Clusters on 2.x cannot use this path, so the decision to upgrade comes before any other step. The check is complete when every node reports 3.0 or later and the version is recorded in your change ticket. If any node is older, stop and plan the upgrade using your standard rolling upgrade process before continuing.
Confirm the GPU build service is available
Ask the team that operates the deployment whether a GPU-accelerated build service is provisioned and reachable from the cluster, and which accelerator type it uses. This is an infrastructure question: the service depends on hardware and network access in your environment, and the cluster settings alone do not provide it. Confirm the endpoint, network path, and access credentials with the owner of that service, and confirm the service's own capacity and support terms in writing. The check is complete when the owner confirms the service is reachable from the cluster's nodes and names who supports it.
Register the remote vector repository
Register a remote vector repository that the cluster can use to exchange vector data with the GPU build service, following the repository configuration in the OpenSearch remote index build documentation. Your team applies the repository definition and the access credentials through the cluster's standard configuration path, and stores secrets in your approved secrets store rather than in plain configuration files. Restrict who can read and change this repository, because it carries vector data out of the cluster for building. The check is complete when the repository appears as registered in the cluster and a repository status request reports it as usable from every data node that will build indexes.
Enable the remote index build setting
Set the cluster-level
knn.remote_index_build.enabledsetting to true through the cluster settings API, since it is false by default. Make the change with an audit record in your change process, because it turns on a path that moves index build work outside the cluster's own nodes. Apply it in a test cluster before production, and record the setting's value before and after the change so you can roll it back. The check is complete when a cluster settings request returns the setting as true, both as a persistent or transient value according to your policy.Create a Faiss HNSW index without bf16
Create a test index with a knn_vector field that uses the Faiss engine and the hnsw method, and do not set the bf16 encoder, because indexes using bf16 always build locally. Keep the dimension, space type, and HNSW parameters aligned with your embedding model and the engine guidance in the vector search documentation, and document each value in the index definition. Your search or platform engineer owns this index design, since the mapping decides how vectors are stored and searched later. The check is complete when the index is created with the expected mapping and a settings request shows the Faiss engine and hnsw method on the vector field.
Run a test build and verify the build path
Load a representative sample of vectors into the test index, large enough to trigger the build path you intend to use, then check which path handled the build. Confirm the outcome through the cluster's own signals, such as the k-NN statistics and logs that report remote build activity, and compare the result with a second index that builds locally with the same data. Your engineers should record build time, node activity, and any fallback to local building in a short report. The check is complete when the remote build is observed in the statistics or logs, and the local comparison is documented. If the build runs locally, review the repository status, the setting value, and the index encoder before retrying.
What still builds locally and why it matters for planning
Not every vector index goes to the GPU. Indexes that use the bf16 encoder always build on the cluster's own nodes, so a single OpenSearch deployment can run two build paths at once: remote GPU builds for supported Faiss HNSW indexes and local builds for everything else. Plan for both paths from the start, because the GPU service only shortens the builds it accepts. Before you commit to bf16 for memory savings, confirm the exact encoder and engine combinations that the remote index build documentation lists as eligible, and test a representative index on the remote path and the local path.
Capacity planning has to assume that local builds consume data node CPU, memory and disk I/O during the same window that serves queries and ingests new documents. Size the data nodes for the slower local build of bf16 indexes, not for the GPU-accelerated timing, and check whether the cluster-level knn.remote_index_build.enabled setting is on in every environment, since it is false by default. Reindex windows need the same care: a reindex that moves a large corpus into a bf16 index will not benefit from the remote repository, so schedule it as a local workload with its own throttling and verify heap and disk headroom on each node before the job starts.
Standardize index templates around the build path rather than around individual teams' preferences. Create one template for remote-eligible Faiss HNSW indexes and a separate template for bf16 indexes, each with a documented name pattern, engine, method parameters and encoder, so that a new index lands on the correct path by default. Ask your platform owner to review those templates in your change process and to record which template each production index uses. That record is what lets you predict build times, decide when a reindex can run and explain to a reviewer why two indexes that look similar behave differently.
Security and data handling for vectors sent to a remote build
A remote build moves vector data off your data nodes and into a repository that a build service reads from and writes to. The cards below cover the places where that data travels, who can reach it, and what to confirm in your own environment before you turn the feature on.
Where vector data leaves the data nodes
With remote builds enabled, the vectors for an index are staged in a remote vector repository so the GPU build service can read them. Map every hop from your data nodes to that repository and to the build service, including which network segments and ports carry the traffic. Confirm with the OpenSearch docs exactly what is transferred and in what form, since this determines what your data classification policy must cover.
Remote build docsRepository access and TLS
The remote vector repository is a storage location that both the cluster and the build service must reach. Restrict write and read access to the cluster's service identity, and confirm how the repository connection is encrypted in transit and who else on your network can reach the storage endpoint. A repository that is readable beyond the build path exposes embeddings that may encode sensitive source text.
Role permissions for index and setting changes
Enabling knn.remote_index_build.enabled and creating indexes that use remote builds are both cluster-level decisions. Limit the roles that can change cluster settings or create k-NN indexes to a small administrative group, and review those role mappings with the OpenSearch Security plugin. Confirm which built-in permissions cover cluster settings updates in your version before you write the role definitions.
Audit logging of builds
Decide which events you need as evidence: who changed the remote build setting, which indexes were created with it, and which repository was registered. Turn on the OpenSearch audit logs and confirm that they capture settings changes and index creation in your version, and forward them to the same store as your other security logs. Test that a build request is traceable to a user or service account.
Data residency in your infrastructure
Remote builds are only compatible with your residency rules if the repository and the build service run where your policy allows. Ask the team that operates the GPU build service where the staged data is stored, how long it persists, and whether it is deleted after a build. Record the answers in your data flow inventory before you approve the feature for regulated data.
Credentials for the repository backend
The repository backend needs credentials that the cluster uses to read and write staged vectors. Store those credentials in the OpenSearch keystore or your secrets manager rather than in configuration files, give them the narrowest storage permissions the backend supports, and plan a rotation schedule. Confirm how the repository backend's credentials are referenced in your version, and test rotation before production use.
Operating remote builds after go-live
The most important operational point is that a remote build is an optimization, not a dependency of the cluster. Once the knn.remote_index_build.enabled setting is on and a remote vector repository is registered, your team needs to know what happens to an index build when the repository or the GPU build service is unavailable, and that answer has to be tested rather than assumed. Build the monitoring around the build jobs themselves: track each remote build's start, completion and failure, alert on builds that stall or repeat, and check that failed builds leave indexes in a state your ingestion pipeline can recover from. Confirm the exact job states, the metrics or API responses that expose them, and the retry behavior in a test cluster before relying on them in production, since the operational detail is not covered in the researched material for this topic.
Plan for two failure modes separately. If the remote vector repository is unreachable, or the GPU service cannot accept or finish a job, the cluster should surface the error for that build rather than silently changing where indexes are built. Decide in advance who gets paged, how long a backlog of unbuilt vectors can grow before it affects search freshness, and whether you will hold ingestion, queue builds or accept a temporary gap in recall. Treat the repository as a dependency with its own availability, credentials and storage capacity, and check whether your backup plan for that repository matches the recovery targets you set for the search cluster. Test the failure path deliberately by stopping the repository or blocking the GPU service in a non-production cluster and observing the indexes and the logs.
Keep CPU fallback working by treating it as a supported path that you exercise, not a theoretical one. Indexes that use the bf16 encoder always build locally, so any CPU-capable design needs its own sizing, and any index you expect to build remotely should be tested with the setting turned off to confirm the local build still completes within your window. Before each minor-version upgrade, review the OpenSearch release notes for k-NN and remote build changes, and retest a remote build on the target version, because the feature's behavior across versions is not covered in the researched material here. Note that OpenSearch's release cadence is roughly every eight weeks, so a version you run will move often, and a cluster you upgrade without a build test can surprise you. Confirm with the project documentation and your test cluster how an upgrade interacts with in-flight builds and existing indexes, and write down the rollback steps.
Questions buyers ask about GPU vector index builds in OpenSearch
What does a GPU vector index build project cost, and what drives it?
The cost is mostly the people and the hardware around them. You pay for GPU capacity or GPU hardware, a registered remote vector repository for the built index files, engineering time to change cluster settings and index mappings, and testing to confirm recall and latency. Hardware and storage costs recur while the GPU service runs, and the engineering work is largely one-time. The main drivers are the number and size of vectors, how often indexes are rebuilt, whether you own the GPUs or rent them, and how much verification your search quality requires. DeployOpen does not publish prices. Ask for a written scope that separates one-time build work from recurring infrastructure, and ask which GPU and storage costs you would carry directly.
How long does a GPU index build rollout take?
No fixed duration applies to every environment, so treat any single number with caution. The rollout length depends on how many clusters and indexes are in scope, whether the repository and GPU hardware already exist, how much your change process requires, and how many configurations need recall and latency testing. A single index on a cluster you already operate is a much smaller job than a fleet of indexes across several environments. Ask for a timeline in the written scope that lists the milestones, the change windows you need, and the testing gates before each cutover.
What must our team provide before a GPU build project starts?
Plan to provide the following before work begins:
- Administrative access to the OpenSearch cluster, including permission to change cluster settings and register a repository
- A representative sample of your vector data, with the embedding model and dimension count it uses
- Confirmed GPU hardware or a decision on where it runs, plus the network path between the cluster and the build service
- Change windows for cluster setting changes and index rebuilds, and a named owner who approves them
Also confirm which Faiss HNSW configuration your search team expects, since the cluster and index settings depend on it.
Can our in-house team build GPU indexes without a partner?
Yes, if your team already runs OpenSearch and can operate a GPU service. The steps are configuration work: enabling the cluster-level remote index build setting, registering a remote vector repository, and creating Faiss HNSW indexes that use the remote build. The harder parts are sizing the GPU service, validating recall against your own queries, and handling failures during long builds. Indexes that use the bf16 encoder always build locally, so your team must also plan for that path. A partner is most useful when the team lacks vector search experience, when several clusters must match, or when the rollout must pass a formal review. Check your team's capacity against the rollout before deciding.
Is the GPU remote index build feature free under the Apache 2.0 license?
The OpenSearch software is released under the Apache License, Version 2.0, and the OpenSearch FAQ does not describe a paid edition of the project. The remote index build feature is part of that open-source software, so the software itself carries no license fee. Your real costs are the GPU hardware or cloud capacity, the storage for the remote vector repository, and the staff or partner time to run it. Confirm the licensing terms of any GPU service or cloud product you use separately, because those are outside the OpenSearch license.
Which OpenSearch version and build path should we confirm first?
Confirm your target OpenSearch version first, because the remote index build service was introduced in OpenSearch 3.0 and the feature depends on it. Then check that your indexes use Faiss with the hnsw method, since other configurations are not covered. Finally, check whether any index uses the bf16 encoder, which always builds locally. Ask the vendor or the release notes for the exact supported combinations before you commit to a design. Check the version support windows on the OpenSearch releases page, because a version in maintenance only receives bug fixes and security patches.
How do we ask for a fixed-scope quote for GPU index builds?
Start with a written scope that names the clusters, the indexes, the vector count and dimensions, the embedding model, the Faiss HNSW settings, and the environments. DeployOpen works from a written scope with agreed deliverables and timelines, so supply the inputs above and ask for a quote that lists each deliverable, its acceptance test and the client responsibilities. Ask the quote to separate one-time engineering from recurring infrastructure and to state assumptions about GPU hardware, change windows and retesting. Any change to the scope should trigger a written revision.
How DeployOpen scopes and delivers GPU index build setups
DeployOpen plans, builds and hands over GPU-accelerated vector index builds for OpenSearch inside infrastructure you control. Each engagement starts with a written scope that covers the cluster settings, the remote vector repository, the GPU build service and the indexes that will still build locally.
How we scope
- Inventory the Faiss HNSW indexes you plan to build and confirm which ones fall outside the remote build path.
- Identify indexes that use the bf16 encoder, since those always build locally and must be sized on CPU capacity.
- Agree on the OpenSearch version, the GPU hardware location and the storage target for the remote vector repository in writing before work starts.
How we build
- Enable the cluster-level remote index build setting and register the remote vector repository in a staging cluster first.
- Configure index settings for supported Faiss HNSW indexes and test build jobs against representative vector sets.
- Run recall and latency checks on remotely built indexes and compare them with local builds before any production change.
How we hand over
- Document every cluster and index setting, repository definition and access path, so your platform team can review and rebuild them.
- Record which indexes build remotely, which build locally, and the fallback steps if the GPU build service is unavailable.
- Walk your engineers through monitoring, failure handling and the upgrade checks needed before moving to a new OpenSearch minor version.
How we support
- Offer ongoing support, upgrades and continuous testing as a retainer after handover, based on the agreed scope.
- Retest remote build configurations when OpenSearch versions change, since maintenance releases carry bug and security fixes.
- Confirm support boundaries, response expectations and retainer terms in writing with your quote.

