A scalable, elastic database and search solution for 1B+ vectors built on LanceDB and Amazon S3
AWS•How-to••by Audra Devoto, Christopher Brown, Patrick O'Connor, Owen Janson and Pavel Novichkov•AWS Architecture Blog
In this post, we explore how Metagenomi built a scalable database and search solution for over 1 billion protein vectors using LanceDB and Amazon S3. The solution enables rapid enzyme discovery by transforming proteins into vector embeddings and implementing a serverless architecture that combines AWS Lambda, AWS Step Functions, and Amazon S3 for efficient nearest neighbor searches.
Metagenomi stores 960-dimension protein embeddings in LanceDB on Amazon S3 and queries them with Lambda, splitting data into 200M-vector buckets searched in parallel.
Who it is for
Teams building large vector search on S3 and Lambda that need low-cost storage for billions of embeddings.
Key points
Indexed database of 3.5B vectors is about 12.9 TB on S3; the post gives no price figures.
Indexing 3.5B vectors on i4i.8xlarge took 108 compute hours, per Metagenomi.
Lambda handles single queries up to 50,000 neighbors; larger query batches are suggested for AWS Batch.
AI:Condé Nast built semantic video search over 140,000 clips using TwelveLabs Marengo embeddings on Bedrock and OpenSearch Service, searching transcripts, visuals and audio with timestamps.
AI:DynamoDB now has native vector search: you store embeddings next to other attributes, build a vector index and run approximate nearest neighbor queries.
AI:QuickSearch finds shareable scenes, quotable lines, memeable frames and trend-linked moments in large video libraries, using TwelveLabs models and Claude on Amazon Bedrock with OpenSearch Serverless retrieval.