Skill 1.1.7

Configure scalable vector databases for AI applications (for example, OpenSearch Service, Amazon RDS with pgvector, Amazon S3) based on specifications

Key Concepts

OpenSearch Service (managed domains or Serverless vector collections) provides k-NN search with HNSW or IVF indexes and hybrid keyword plus vector search. Amazon RDS or Aurora PostgreSQL with pgvector keeps vectors next to relational data with HNSW or IVFFlat indexes and SQL filters.

Amazon S3 Vectors stores vectors in vector buckets and indexes (up to two billion vectors per index) at the lowest cost with sub-second queries, suiting large, infrequently queried collections. Configure dimensions to match the embedding model, the distance metric (cosine or Euclidean), index parameters (HNSW m and ef) and replicas or shards for throughput.