This post is co-written with Tushar Madaan from Couchbase.

Building an AI-powered developer assistant that can generate database queries, recommend indexes, and support multi-turn conversational workflows requires more than a single large language model (LLM). It demands an inference architecture that is flexible, scalable, and resilient. As enterprise adoption of Capella iQ grew, Couchbase expanded its AI application to support multiple foundation model (FM) providers for greater flexibility, improved operational resilience, and alignment with diverse customer deployment preferences. Couchbase required a model-agnostic inference architecture that could scale through traffic bursts and maintain high availability across AWS Regions without pre-provisioned capacity.

This post describes how Couchbase adopted Amazon Bedrock to power Capella iQ with Anthropic’s Claude family of models, the architectural decisions behind their multi-model approach, and the operational benefits realized in production.

The following diagram illustrates the production architecture for Capella iQ’s integration with Amazon Bedrock.

Capella iQ production architecture routing inference from an Amazon EKS cluster through a VPC interface endpoint to Amazon Bedrock across two AWS Regions

Figure 1 — Couchbase Capella iQ and Amazon Bedrock control plane architecture

The architecture is hosted within AWS Control Plane spanning two AWS Regions (us-east-1 and us-west-2) for high availability. Within us-east-1, an Amazon Elastic Kubernetes Service (Amazon EKS) cluster runs the Capella iQ microservices:

cp-api pod: The primary API service that receives developer requests and orchestrates inference calls. This pod forwards Amazon Bedrock invocations through a virtual private cloud (VPC) interface endpoint.

cp-internal-api pod: Handles internal service-to-service communication and model routing logic.

cp-ns pod: Manages namespace-level configuration including model vendor settings, tenant-level overrides, and organization preferences.

An Amazon Virtual Private Cloud (Amazon VPC) interface endpoint provides private connectivity from the EKS cluster to the Amazon Bedrock runtime. This endpoint routes inference traffic to infrastructure managed by AWS for Bedrock and supports Cross-Region Inference (CRIS) within the US geography across us-east-1, us-east-2, and us-west-2 for automatic failover, load distribution, and improved availability during demand spikes.