Home icon

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.



Go to article

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

May 21
2026
Building multi-tenant agents with Amazon Bedrock AgentCore
Jun 2
2026
Secure multi-tenant AI agents with Amazon Bedrock AgentCore resource-based policies
Aug 28
2024
Implementing tenant isolation using Agents for Amazon Bedrock in a multi-tenant environment
Jul 13
2026
Implement on-behalf-of token exchange for multi-tenant agents with Amazon Bedrock AgentCore Gateway

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.