Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

AWS Logo
Menu
🚀 Building Multi-Tenant Vector Data Store with Amazon Aurora PostgreSQL

🚀 Building Multi-Tenant Vector Data Store with Amazon Aurora PostgreSQL

New AWS Data for SaaS Blog Series

Nihilson Gnanadason
Amazon Employee
Published Feb 21, 2025
Josh Hart & Nihilson Gnanadason are excited to share their comprehensive two-part blog and sample on implementing vector search in multi-tenant environments.
Many organizations want to bring generative AI applications into their software-as-a-service (SaaS) deployments. These applications often use a "multi-tenant" designs, which isolates the data of a tenant (e.g. a customer of the SaaS app) from other tenants to meet security and privacy guidelines. In a multi-tenant environment, multiple customers share the same application instance and often the same database. Without proper isolation, there's a risk that one tenant could potentially access or manipulate another tenant's data, leading to severe privacy breaches and security vulnerabilities. When you query to retrieve vector embeddings, they need to be tenant-aware to retrieve only tenant-scoped data from the vector store and you need a way to enforce tenant isolation.
  • Implementing vector search with pgvector
  • Row-level security for tenant isolation
  • Direct SQL and RDS Data API integration
  • Custom embedding pipeline setup
  • Amazon Bedrock Knowledge Bases integration
  • Metadata-based tenant isolation
  • Simplified RAG implementation
  • Managed vector embedding pipeline
Learn how to choose the right approach for your SaaS application's vector search needs. From basic setup to production-ready implementations.

Read the blog series

Sample Jupyter Notebooks

Note : For OpenSearch as a your vector store, you can reference this sample here : https://github.com/aws-samples/data-for-saas-patterns/tree/main/samples/multi-tenant-vector-database/amazon-opensearch
#AWS #Aurora-PostgreSQL #Vector #GenAI #SaaS
 

Any opinions in this post are those of the individual author and may not reflect the opinions of AWS.

Comments

Log in to comment