LLM Infrastructure on Amazon Bedrock

Run LLM features in production on AWS, with costs, data and quality under control.

Infrastructure for SaaS teams moving LLM features from a prototype to production on AWS. I set up Amazon Bedrock so models are reached through your own AWS account and IAM, retrieval works over your data, every call is traced and evaluated with Langfuse, and you can see what each AI feature costs. Your product team keeps ownership of prompts and user experience; I build what they run on.

When this is worth doing

  • A prototype works on someone's API key, and now it needs to run for every customer.
  • Security or a customer questionnaire asks where prompts and customer data go.
  • The AI bill is growing and nobody can say which feature or customer drives it.
  • A prompt or model change makes answers worse and nobody notices until users complain.
  • You want to switch between models without rewriting the application.

What's included

  • Model access. Bedrock model access through IAM roles, with VPC endpoints so traffic stays on the AWS network, invocation logging, and quotas set per environment.
  • Retrieval over your data. Bedrock Knowledge Bases or a custom pipeline over your documents and databases, with the vector store, chunking and refresh schedule chosen for your data.
  • Guardrails. Bedrock Guardrails for content filtering and sensitive data, configured to your policies.
  • Observability and evaluation. Langfuse for tracing every call, managing prompt versions and running evaluations, self-hosted in your account or on Langfuse Cloud.
  • Cost control. Cost per feature and per customer, the right model for each task, prompt caching and batch inference where they fit, and budgets with alerts.
  • Delivery. All of it in Infrastructure as Code and deployed through your existing pipeline, with runbooks for your team.

How it works

  1. 30-minute call. What you're building, which models and data are involved, and what security and customers will ask.
  2. Design. Model access, data flow, evaluation and cost tracking, written down and agreed before the build.
  3. Build. The infrastructure set up in your AWS account, with a real feature running through it end to end.
  4. Handover. Documentation, dashboards and a walkthrough, so your team can add features and models on their own.

The work runs on the same foundations as everything else on AWS: if you need the pipeline or the infrastructure code first, see CI/CD and Infrastructure as Code.

Frequently Asked Questions

Bedrock runs inside your AWS account: access goes through IAM, traffic can stay on VPC endpoints, usage appears on your AWS bill, and several model providers sit behind one API. AWS states that Bedrock doesn't use your prompts and outputs to train models. Calling a provider's API directly can still be the right choice for a model Bedrock doesn't offer.

The focus is the infrastructure underneath: model access, retrieval pipelines, guardrails, evaluation, observability and cost. Prompts and product decisions stay with your team, and I pair with your engineers on the first feature so the setup fits how they work.

First by measuring cost per feature and per customer, so you know where the money goes. Then by using a smaller model where it's good enough, prompt caching for repeated context, batch inference for work that doesn't need an instant answer, and budgets with alerts.

Langfuse is an open-source LLM engineering platform. It traces each request through retrieval and model calls, keeps prompt versions, and runs evaluations, so a change that makes answers worse shows up before users report it. It can be self-hosted in your AWS account.

Ready to get started?

Run LLM features in production on AWS, with costs, data and quality under control.

Book a Free Discovery Call

Not ready for a call? Get the free AWS Survival Guide instead.


Other Services