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.
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
2026
2026
2026
2026
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.