Home icon

Build cost-effective semantic search for documents stored in Amazon S3

Storage Blog



This article demonstrates building a cost-effective serverless semantic search pipeline for documents stored in Amazon S3 using Amazon S3 Vectors, eliminating the need for a dedicated vector database.

  • Amazon S3 Vectors provides purpose-built, cost-optimized vector storage with pay-per-query pricing and S3-level durability
  • Serverless pipeline automatically generates embeddings on document upload, stores vectors, and handles deletions and backfills
  • Solution uses Amazon Textract for text extraction, Bedrock Titan embeddings for vector generation, and Lambda for orchestration
  • Semantic search API returns results ranked by similarity with metadata filtering and deduplication
  • Estimated cost ~$7/month for 100,000 documents with 1,000 daily queries; scales horizontally without capacity provisioning
  • Complete runnable code available in AWS Samples repository with multimodal search, RAG examples, and security patterns

Organizations can deploy semantic search over unstructured documents without operational overhead of managing vector databases, with queries typically returning in under 100ms.



Go to article

The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.

Related articles

Nov 16
2026
Amazon S3 Vectors now supports hybrid search combining vector and full text for more relevant search results
Oct 23
2026
Build RAG-ready indexes from Amazon S3 with Amazon OpenSearch intelligent ingestion
Nov 19
2026
Finding Amazon S3 cost savings with natural language using AWS Quick and S3 Tables
Aug 5
2026
Build semantic search with native vector support in Amazon DynamoDB

The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.