Skip to content Skip to footer

How to Choose and Operate AI Infrastructure: GPUs, Cloud AI Services, and Deployment Tooling That Scale Safely

What Happened

Over the last year enterprises moved from experiments to production agent platforms that combine managed model services, production agent runtimes, and secure bridges to live data. Notable implementations use Amazon Bedrock + AgentCore as the managed runtime and Model Context Protocol (MCP) to safely connect agents to systems of record. LendingTree built a multi‑agent mortgage assistant using Bedrock models, Bedrock Guardrails, RAG against OpenSearch, and PostgreSQL checkpoints running on ECS/Fargate [1]. Mobileye used AgentCore and an MCP gateway in a hybrid design to automate support tickets with >98% success and 1‑minute average response time, automating ~66% of volume [2]. Projects also demonstrated secure local tool access using an MCP Bridge that tunnels presigned SigV4 WebSockets to a local MCP server, and an n8n node that embeds the AgentCore harness for low‑code orchestration and VPC deployment [3][4]. Cloudflare built an internal agent platform (Cloudflare OS) focused on scoped permissions, role‑based model gating, and reuse of existing DLP/gateway controls to enable thousands of users while constraining risk [6][7].

Why It Matters to Businesses

These patterns matter because they turn LLMs from research toys into auditable, governable business services with measurable ROI:

  • Operational outcomes — faster responses and automation: Mobileye reduced ticket response time by ~90% and automated two‑thirds of volume; LendingTree’s assistant shifted from mostly educational to >50% transactional usage as capabilities matured [2][1].
  • Safety and compliance are non‑negotiable — regulatory or PII constraints drove platform choice. Bedrock Guardrails, parallel safety classifiers and policy layers were used as structural controls [1].
  • Hybrid and local tool access matter — finance and regulated teams require local‑file/Excel access without leaking credentials; MCP Bridge patterns enable this while keeping credentials and auditability local [3].
  • Platformization reduces risk and speed-to-value — Cloudflare and Mobileye show that a managed internal service approach (provisioned IAM, preconfigured harnesses, cost controls) scales adoption while enforcing guardrails [2][6].

Kimbodo Engineering Perspective

We evaluate these projects through three engineering trade‑offs: vendor-managed vs self-hosted; model routing and cost control; and safe access to live systems.

Vendor-managed vs self-hosted

Managed runtimes like Amazon Bedrock + AgentCore accelerate delivery by providing built‑in guardrails, observability, and single‑command deploy patterns, which is critical when regulatory controls or audited outputs are required [1][2][4]. The trade‑off is increased coupling to a provider and potential limits on custom hardware (GPU types) and fine‑grained performance tuning.

Model orchestration and cost

Task‑based model routing (heavy reasoning on larger models, light turns on smaller ones) reduces inference spend and latency; LendingTree and Mobileye both used multi‑model strategies and MCP routing to optimize cost and correctness [1][2]. Implement rigorous telemetry and identity‑aware analytics early so anomalous spend and rogue agents are visible [8].

Access to live data and local tools

Securely bridging agents to internal systems is essential. The remote‑client / local‑server MCP Bridge pattern preserves local credentials and auditability while exposing tool semantics to cloud agents; hardening requires short‑lived channels, mutual authentication and per‑tool allowlists [3].

Hardware pragmatics

Choice of GPU and accelerator depends on control needs and model family: NVIDIA remains the most mature ecosystem for training and large‑model inference (CUDA, cuDNN, Tensor Cores, wide software support). AMD and Intel accelerator stacks can be cost‑effective for specific workloads but typically require extra engineering (ROCm, ecosystem gaps). For production inference consider: quantization, batching, model sharding, and memory‑optimized instance types or on‑prem HBM‑enabled cards depending on throughput/latency targets. Where managed models suffice, prioritize platform guardrails over custom hardware unless latency, privacy, or cost mandates on‑prem inference.

How We Would Implement It

Below is a concrete hybrid architecture and step‑by‑step rollout we use at Kimbodo for production agent services that need safety, live data access, and predictable costs.

Reference architecture (hybrid)

  • Agent harness: Host Strands/AgentCore harnesses for production agents (serverless or VPC mode) to get session isolation, persistent memory scopes, and built‑in observability [4].
  • Model layer: Use managed models (Bedrock Nova / provider hybrids) with task‑based routing. Fall back to self‑hosted GPUs only when latency/privacy demands or model customization require it [1][2].
  • Live data access: Deploy an MCP Gateway in the cloud to control access to APIs and an MCP Bridge for local tools that must remain on customer infrastructure; use presigned, short‑lived SigV4 WSS for tunnel setup and require mutual JWT exchange for the bridge connection [3].
  • RAG and state: Store canonical retrieval corpus in a vector store (Amazon OpenSearch or managed vector DB), checkpoint conversational state in a transactional DB (PostgreSQL RDS) and keep memory scoped to actor/session [1][4].
  • Orchestration & compute: Run stateless microservices and the non‑agent business logic on ECS/Fargate or EKS for portability; use AgentCore harnesses for the agent runtime and provisions via Terraform and CI/CD pipelines [1].
  • Security & governance: Enforce role‑based model gating, DLP on inferences, and centralized audit logs; provision ephemeral IAM roles, Secrets Manager for credentials, and an AI Gateway to filter/log/audit model calls [2][6].
  • Observability: Capture model usage, token counts, latency, per‑agent identity, and content safety events into a monitoring stack (CloudWatch/X‑Ray or equivalent) and run identity‑aware analytics to detect anomalies [1][8].

Implementation steps

  • Phase 0 — policy & scope: Define data classification, allowed permissions per agent, and cost targets; map systems of record and decide which require a local MCP Bridge vs cloud gateway [6].
  • Phase 1 — foundational services: Provision AgentCore harness role templates, S3, secrets, CI/CD pipelines (Terraform/GitLab), and observability sinks [1][2][4].
  • Phase 2 — agent prototype: Build a minimal agent with clear supervisor/execution separation; implement model routing (large model for planning, small for chat) and parallel safety checks [1].
  • Phase 3 — live data integration: Deploy MCP Gateway adapters for APIs, and instrument an MCP Bridge for any required local file or Excel access; enforce short‑lived presigned WSS and JWT handshake for the bridge [3].
  • Phase 4 — scale & platformize: Wrap harness provisioning into a managed internal service so teams can deploy agents without broad AWS privileges (preconfigured harness templates and execution roles) [2].
  • Phase 5 — continuous control: Add identity‑aware analytics, per‑agent cost dashboards, automated containment policies, and routine penetration tests on bridge components [8][3].

Risks, Costs and Security

Running production agents introduces predictable technical and business risks. Mitigate them with explicit controls.

Major risk categories

  • Data exfiltration and credential leakage — local access patterns (e.g., MCP Bridge) must not expose credentials to cloud agents; use short‑lived tunnels, mutual authentication, message signing, and filesystem allowlists [3].
  • Rogue agent or runaway cost — instrument identity‑aware analytics and baseline billing to spot sudden token or call spikes; enforce hard cost limits and role‑based model gating [8][6].
  • Regulatory and compliance failures — implement DLP on inputs/outputs, archive inferences for audit, and make safety checks structural (parallel classifiers + policy layer) rather than optional [1][6].
  • Provider lock‑in vs operational complexity — managed model services reduce ops but constrain hardware choices; self‑hosting GPUs increases operational burden and capital expense. Choose by data sensitivity, latency, and total cost of ownership.

Cost drivers

  • Inference tokens and model selection — large reasoning models are expensive; enforce task‑based routing and session caching to reduce calls [1].
  • Long‑running harnesses and storage — persistent agent memory and long sessions can accrue storage and compute costs; regularly prune unused harnesses and endpoints [4].
  • Networking and VPC endpoints — VPC mode avoids NAT but requires endpoints for ECR/S3 which have cost and configuration implications [4].
  • GPU capital and ops — on‑prem GPUs require upfront capital, maintenance, and specialized SRE skill. Use managed instances unless latency, sovereignty, or cost modeling favors on‑prem.

Concrete security controls

  • Least privilege IAM with per‑agent execution roles and temporary credentials; avoid broad API keys in agents [2].
  • Parallel safety pipeline: content filter + PII redaction + business logic policy layer + human fallback policy; log all decisions for audit [1].
  • MCP Bridge hardening: presigned WSS, JWT handshake, Ed25519 message signing, per‑tool filesystem allowlist, per‑tool audit logs, and process isolation [3].
  • Identity‑aware billing and alerting to detect anomalous model usage by user/agent [8].

Implementing production agents requires combining platform hygiene (CI/CD, roles, observability), careful model routing to control cost, and engineering patterns that keep data and credentials local when required. The proven patterns in these case studies — managed agent harnesses, MCP gateways/bridges, RAG with controlled vector stores, and platformized provisioning — are the fastest path to safe, auditable AI services.

Where Kimbodo Comes In

Kimbodo builds and operates this in production for businesses — see our AI Infrastructure & MLOps practice. Wondering what it would cost for your organization? Get a preliminary range, timeline and architecture in about a minute.

Estimate My Infrastructure

Sources

  1. [1] How LendingTree built a multi-agent mortgage assistant on Amazon Bedrock
  2. [2] How Mobileye transformed support operations using Amazon Bedrock AgentCore
  3. [3] How we built an MCP bridge to give our AgentCore-hosted AI agent access to local MCP tools
  4. [4] Run production AI agents in n8n with Amazon Bedrock AgentCore harness
  5. [5] The Agent Access Model
  6. [6] How we’re rethinking work at Cloudflare with Cloudflare OS
  7. [7] Cloudflare OS: an open platform for agents, apps, and work
  8. [8] Catching rogue AI behavior with identity-aware analytics
  9. [9] Unity AI Gateway is Generally Available
  10. [10] The Agent Development Lifecycle has arrived on Cloudflare

Leave a comment

0.0/5