Skip to content

Cloud & Architecture · Paid

Amazon OpenSearch Service

Amazon OpenSearch Service is AWS's managed service for OpenSearch, the open-source search and analytics engine that started as a fork of Elasticsearch and is now run by the OpenSearch Software Foundation. AWS operates the clusters (called domains), handles patching, snapshots and node replacement, and bills for the instances and storage you provision. There is also a serverless option that bills for capacity units instead of instances.

Who it is for: teams that need full-text search, log analytics or vector search inside an AWS account, and that would rather not run OpenSearch nodes themselves. For AI applications, the relevant part is vector search: OpenSearch stores embeddings in knn_vector fields and finds nearest neighbours with approximate indexes such as HNSW, using the Faiss or Lucene engines. That lets one domain combine keyword (BM25) search, metadata filters and vector search in the same query, which is the usual shape of retrieval for RAG and agent memory.

Key features for vector workloads, according to the OpenSearch and AWS documentation: - Approximate k-NN search with HNSW and IVF indexes, plus exact search for small sets. - Quantization to cut memory: 16-bit and byte scalar quantization, product quantization, and binary quantization at 1, 2 or 4 bits (1-bit is 32x compression). - Disk-based vector search (on_disk mode, introduced in OpenSearch 2.17), which searches compressed vectors in memory and rescores the candidates with full-precision vectors read from disk. - Storage tiers: hot nodes, and on OpenSearch Optimized OI2 instances a writable warm tier where each node can address up to five times its local cache. On 29 November 2026 AWS announced trillion-scale vector support on OpenSearch 3.9 with cost-optimized vector storage, quoting p90 latency under 25 ms for hot data and recall above 90%. Those are vendor figures without a published method. - GPU-accelerated index builds for faster ingest.

Pricing type: paid. Provisioned domains bill per instance-hour plus storage, with different rates per instance family and Region; serverless bills per OpenSearch Compute Unit hour plus storage. Check the official pricing page for current rates in your Region.

Limits to know: warm-node addressable storage and node counts per domain are set in the service quotas page, and cost-optimized vector storage is only offered in a listed set of Regions.

Alternatives: Pinecone, turbopuffer and Qdrant as dedicated vector databases; pgvector if your data already lives in Postgres; Amazon S3 Vectors for low-cost storage with slower queries; and self-managed OpenSearch or Elasticsearch if you need control over the cluster.

Official site: https://aws.amazon.com/opensearch-service/

Official site