Comprehensive guide to Portkey’s hybrid deployment architecture for enterprises
Portkey Enterprise Hybrid Deployment Architecture
Component | Description | Security Benefit |
---|---|---|
AI Gateway | Core engine that routes traffic across LLM providers and implements metering, access control, and guardrails | All LLM requests remain in your network perimeter |
Cache Store | Local cache storage for gateway consumption | Eliminates runtime dependency on Control Plane |
Data Store | Storage for LLM request/response logs | Keep sensitive LLM data completely in your environment |
AI Traffic Flow (Fully Contained in Your VPC)
Data Sync (Gateway ↔ Control Plane)
Analytics Flow (Gateway → Control Plane)
Log Management Options
Component | Description | Configuration Options |
---|---|---|
AI Gateway | Core container running the routing logic | Deployed as stateless containers that can scale horizontally |
Cache System | Stores routing configs, integrations, providers, and more | Redis (in-cluster, AWS ElastiCache, or custom endpoint) |
Log Storage | Persistence for request/response data | Multiple options (see below) |
Benefit | Technical Implementation | Business Value |
---|---|---|
Security & Compliance | - Sensitive data never leaves VPC - Configurable encryption methods - Flexible authentication options | - Meets data residency requirements - Supports regulated industries - Simplifies security reviews |
Operational Efficiency | - No database management overhead - Automatic model config updates - Horizontally scalable architecture | - Low operational burden - Always up-to-date with LLM ecosystem - Scales with your traffic patterns |
Deployment Flexibility | - Kubernetes-native deployment - Support for major cloud providers - Multiple storage backend options | - Fits into existing infrastructure - Avoids vendor lock-in - Customizable to specific needs |
Developer Experience | - OpenAI-compatible API - Simple integration patterns - Comprehensive observability | - Minimal code changes needed - Smooth developer onboarding - Full visibility into system behavior |
Why Maintain Transaction DB in Control Plane?
Why Cache Objects Locally?