Shared infrastructure, isolated tenants: Pool model multi-tenancy with Amazon Bedrock AgentCore
Machine Learning Blog
This article demonstrates how to build production-ready multi-tenant AI applications using Amazon Bedrock AgentCore with complete tenant isolation, service tier differentiation, and granular cost tracking.
- Implement hierarchical isolation (Tier → Tenant → User) using native AWS capabilities like Cognito, API Gateway, and S3 prefixes
- Use pool model multi-tenancy where tenants share infrastructure with logical separation through scoped identifiers and ABAC policies
- Enforce data isolation via per-tier S3 buckets with tenant-specific prefixes and Knowledge Base metadata filtering
- Achieve cost attribution at two levels: per-tier via Bedrock Projects and per-clinic via structured usage logging
- Apply Cedar authorization policies in AgentCore Policy to enforce tier-specific action boundaries on gateway tools
- Propagate tenant context through OpenTelemetry baggage for end-to-end observability and CloudWatch Logs Insights queries
- Use Token Vending Machine pattern with ABAC session tags to scope memory and DynamoDB access at the IAM level
- Implement rate limiting per tier using API Gateway usage plans with differentiated throttle and quota limits
These architectural patterns enable secure, scalable, and cost-effective multi-tenant AI applications across various domains including SaaS platforms and enterprise solutions.
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
2024
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.