26 implementation guides

AI observability and MCP security

Treat model requests, telemetry export and tool execution as different trust boundaries.

Start here

All guides

  1. AI gateway chargeback: operational tokens and private tenant ownership

    Map requests to a trusted team identity at the gateway and reconcile usage to the provider invoice with an explicit unknown-owner bucket.

    Read the implementation guide →
  2. AI model supply chain: pickle, provenance and license review

    Fetch model artifacts in an isolated staging path, verify provenance and review license conditions before loading; prefer formats that avoid arbitrary Python deserialization.

    Read the implementation guide →
  3. Air-gapped LLM inference: offline updates, provenance and recovery

    Inventory model, tokenizer, driver, license and package dependencies; rehearse an offline import and restore without assuming automatic external downloads.

    Read the implementation guide →
  4. 2027 AI infrastructure planning: ownership, limits and audit evidence

    Treat the checklist as planning guidance with named owners, supported model versions and independently testable controls; review it against actual obligations.

    Read the implementation guide →
  5. Bedrock in FedRAMP and NIST 800-53 Environments: Guardrails and Audit Evidence

    Map Bedrock network, identity, Guardrails and logging evidence to owned NIST controls, with authorized-scope checks and negative fixtures.

    Read the implementation guide →
  6. Bedrock Knowledge Base Costs: OpenSearch Serverless OCUs vs Aurora pgvector

    Compare classic and NextGen OpenSearch capacity with Aurora pgvector, then stage a Bedrock knowledge-base migration with retrieval and rollback checks.

    Read the implementation guide →
  7. Bedrock Model Invocation Logging: Direct S3, Athena and CloudWatch Cost Boundaries

    Use a reviewed S3-only Bedrock invocation-log route, verify endpoint coverage and build an auditable Athena pipeline without assuming universal CloudWatch rates.

    Read the implementation guide →
  8. Bedrock Provisioned Throughput vs On-Demand vs EKS vLLM: An Auditable Cost Model

    Calculate break-even from measured token categories, usable serving capacity and operating costs, then reconcile Bedrock spend using trusted IAM principal tags.

    Read the implementation guide →
  9. GenAI OpenTelemetry: pin conventions before collecting token costs

    Pin the GenAI semantic-convention revision used by each SDK and retain model, direction and contract rate as separate fields; exclude prompt content by default.

    Read the implementation guide →
  10. Enterprise MCP security: audience checks, tool scope and audit boundaries

    Require the server's authentication layer to validate audience, issuer and authorization; use this offline policy review only to inspect declared tool scope.

    Read the implementation guide →
  11. Private AI incident triage: Zabbix tools, Bedrock and data boundaries

    Start with bounded read-only incident summaries, allowlisted tools and explicit model-region/account choices; verify provider logging and retention settings separately.

    Read the implementation guide →
  12. Preventing Runaway Bedrock Agent Loops: Token Budgets, Circuit Breakers and Signed Stops

    Bound agent work before model calls, measure asynchronous containment and design a separately authorized Nerve alert and signed-stop path.

    Read the implementation guide →
  13. Datadog LLM Observability Costs: OpenTelemetry gen_ai Filtering and Routing

    Control AI trace content, span volume and billing separately, with a metadata allowlist, signal reconciliation and a reversible OTel gateway pilot.

    Read the implementation guide →
  14. NVIDIA GPU monitoring: Xid errors, DCGM coverage and memory pressure

    Join DCGM/DCGM-exporter metrics to physical GPU and workload identities; treat unsupported counters as unknown rather than zero.

    Read the implementation guide →
  15. vLLM, Ollama and TGI: TTFT, queueing and model-server metric parity

    Compare each installed server's actual metrics and histogram units under the same prompt/output distribution; distinguish queue time from generation time.

    Read the implementation guide →
  16. LLM data minimization: guardrails before export and before invocation

    Keep prompt payload inspection in an approved boundary and export only allowed operational fields; test guardrails with approved synthetic sensitive strings.

    Read the implementation guide →
  17. NIST AI RMF evidence: model invocations, ownership and audit trails

    Tie model IDs and approved uses to a risk owner, decision record and monitoring evidence; configure model invocation logging explicitly where appropriate.

    Read the implementation guide →
  18. Vector databases: pgvector, Qdrant and Milvus reliability boundaries

    Measure retrieval recall and latency with tenant filters, index parameters and data residency in scope; inspect backup and encryption ownership separately.

    Read the implementation guide →
  19. Local LLM evidence summaries: retain provenance and human approval

    Keep immutable source identifiers with each generated summary, mark missing evidence and require owner review before incorporating text into an assessment artifact.

    Read the implementation guide →
  20. Shadow AI in AWS: Route 53 DNS Signals, VPC Flow Logs and Egress Boundaries

    Detect unsanctioned AI destinations with Resolver and flow evidence while testing encrypted DNS, shared endpoints, attribution and blocked-route gaps.

    Read the implementation guide →
  21. RAG authorization: preserve document ACLs through retrieval and caching

    Evaluate trusted user/group membership before returning document text and bind cache entries to the same authorization context; use negative cross-tenant fixtures.

    Read the implementation guide →
  22. LLM caching and compression: measure cost against answer quality

    Model billable tokens and latency with matched tasks, then test stale-answer and cross-tenant cache rejection before enabling reuse.

    Read the implementation guide →
  23. Kubernetes GPU partitioning: MIG, time slicing and version constraints

    Verify the GPU model's supported sharing mode and operator version; reconcile advertised resources with workload placement and isolation needs.

    Read the implementation guide →
  24. MCP CISO review: evidence for tools that query databases and Zabbix

    Document the exact tool-to-data path, read/write authority, audience checks and approval requirements; demonstrate denial of an unauthorized query in a lab.

    Read the implementation guide →
  25. LLM observability stacks: a reproducible coverage and cost benchmark

    Compare the same requests and redaction policy in raw OTel, Langfuse, Phoenix and contracted monitoring tools; score workflow needs independently.

    Read the implementation guide →
  26. Securing AWS MCP Servers: IAM Session Policies, SourceIdentity and CloudTrail Evidence

    Authorize MCP tools server-side, issue scoped AWS sessions from trusted identity and correlate tool decisions with CloudTrail without logging secrets.

    Read the implementation guide →

Inspect the companion kit →