Amazon Bedrock

Also known as: AWS Bedrock

On this page 8

Amazon Bedrock is a fully managed AWS service that gives applications access to foundation models from multiple providers through a single API, without provisioning or operating the underlying GPU infrastructure. In MLOps & deployment, it represents the managed, serverless end of the serving spectrum: teams consume models as an endpoint, add retrieval, agents and safety controls as configuration, and keep the work of model training and hosting with the provider.

Also called AWS Bedrock, the service became generally available in 2023 and sits in the artificial intelligence portfolio of AWS next to Amazon SageMaker. Where SageMaker targets teams that train and host their own models, Bedrock targets teams that build generative applications on existing models and need enterprise controls such as IAM permissions, private networking, encryption and audit logging.

How Amazon Bedrock serves foundation models

Amazon Bedrock works as a multi-provider inference layer: a client signs a request with AWS credentials, names a model ID, and Bedrock routes the request to capacity that AWS operates for that model. The two main request styles are InvokeModel, which takes the provider-specific payload, and the Converse API, which offers a unified message format across models so that switching providers requires little code change.

The model catalog includes first-party Amazon models such as the Nova and Titan families and third-party models from providers such as Anthropic, Meta, Mistral AI, Cohere, AI21 Labs and Stability AI. Availability varies by AWS Region and model version, so a production design must confirm that the chosen model exists in the Region where data is allowed to be processed.

The table below summarizes the main building blocks that teams combine around the core inference API.

ComponentWhat it doesTypical use
Model inferenceServes text, image and embedding modelsChat, summarization, classification
Knowledge BasesManaged retrieval-augmented generationAnswers grounded in company documents
AgentsPlans steps and calls APIs or functionsTask automation over business systems
GuardrailsFilters content, PII and denied topicsPolicy enforcement on inputs and outputs
Model customizationFine-tuning, continued pre-training, distillationDomain adaptation and cost reduction
Model evaluationAutomatic and human-based scoringComparing candidate models before launch
Core components of the Bedrock platform

Inference modes and capacity options

Bedrock separates how capacity is reserved from which model is used, and the choice has the largest effect on latency, throughput and cost. On-demand inference charges per input and output token and is subject to account-level quotas on requests and tokens per minute, while Provisioned Throughput reserves dedicated model units for a commitment term and is required for serving most custom models.

Batch inference processes large JSONL files stored in Amazon S3 asynchronously, usually at a substantial discount compared with on-demand prices, which suits offline enrichment jobs. Cross-region inference profiles spread on-demand traffic across several Regions in a geography to absorb bursts, which matters when data residency rules permit it.

ModeBilling basisBest fitMain limitation
On-demandPer token processedVariable or early-stage trafficThrottling at quota limits
Provisioned ThroughputPer model unit per hourSteady high volume, custom modelsCommitment and idle cost
BatchPer token, discountedOffline bulk jobsResults arrive hours later
Cross-region profilePer token processedBursty traffic with resilience needsData may leave one Region
Comparison of Bedrock inference modes

Bedrock is best understood as one point on a build-versus-consume continuum that also includes managed ML platforms and self-hosted serving stacks. The decisive difference is who owns the model runtime: with Bedrock, AWS operates it; with SageMaker endpoints or KServe, the team packages and scales the model itself.

ApproachModel ownershipOperational effortFlexibility
Amazon BedrockProvider models, limited custom importsLowModerate
Amazon SageMakerAny model the team trains or bringsMedium to highHigh
Vertex AI and Azure Machine LearningMixed catalog plus custom modelsLow to highHigh within each cloud
Self-hosted KServe or NVIDIA NIMFull control of weights and runtimeHighHighest
Bedrock against neighboring deployment approaches

Because the model runtime is abstracted, Bedrock reduces classic MLOps tasks such as model packaging, model warm-up and GPU autoscaling to configuration. It does not remove ML observability, prompt versioning, evaluation or model rollback planning, which remain the responsibility of the application team.

Governance, security and data handling

Enterprise adoption of Bedrock rests largely on its data handling commitments: AWS states that prompts and completions are not used to train the base models and are not shared with model providers. Requests can stay on the AWS network through VPC endpoints with AWS PrivateLink, and customization artifacts can be encrypted with customer-managed KMS keys.

  • IAM policies restrict which principals may invoke which model IDs.
  • AWS CloudTrail records API calls, and model invocation logging can store prompts and responses for audit.
  • Guardrails apply content filters, denied topics, sensitive information redaction and contextual grounding checks.
  • Service quotas cap throughput per account and Region and must be raised before launch.

These controls make Bedrock attractive in regulated industries, but they do not replace a data protection review: invocation logs may contain personal data and need their own retention and access policy.

Choosing and operating Bedrock in production

A sound Bedrock rollout treats model selection as an evidence-based, repeatable decision rather than a one-time preference. The following decision table maps common situations to a recommended setup.

SituationRecommended choiceReason
Prototype with uncertain volumeOn-demand with Converse APINo commitment, easy model switching
Answers must cite internal documentsKnowledge Bases with a vector storeManaged chunking, embedding and retrieval
Nightly classification of millions of recordsBatch inferenceLower unit cost, no latency need
Latency-critical product at steady loadProvisioned ThroughputPredictable capacity, no throttling
Large model too costly at scaleModel distillation to a smaller modelSimilar quality at lower cost
Decision guide for typical Bedrock workloads

Operationally, teams should pin explicit model versions, track prompts in version control, run regression evaluations before switching versions, and monitor token usage, latency percentiles and guardrail interventions in CloudWatch.

Limitations and common mistakes

The convenience of Bedrock comes with reduced control and provider dependence. Teams cannot tune the serving runtime, inspect most model weights or guarantee that a model version remains available indefinitely, because providers deprecate older versions on published schedules.

  • Ignoring quotas until launch day, which causes throttling errors under real traffic.
  • Assuming identical behavior across models when switching through the Converse API.
  • Overlooking Regional availability of a model or feature required by data residency rules.
  • Buying Provisioned Throughput too early, which creates idle cost before demand is proven.

Understanding it simply

Amazon Bedrock is like a power outlet for AI models. A company plugs its app into one socket. Behind the socket, it can pick a model from several makers.

The company does not buy or run the heavy computers. AWS does that part. The company pays for what it uses and keeps its data private. It can also add safety filters and connect its own documents. The main benefit is speed: a team can build a useful AI feature in days, not months.

Applied in practice

A mid-sized insurance company wants a claims assistant that answers adjusters’ questions from about 40,000 policy documents. The team stores the documents in Amazon S3 and creates a Bedrock Knowledge Base that embeds them into a vector store. Adjusters ask questions through an internal web app that calls the Converse API with a mid-sized model on on-demand pricing.

Before launch, the team runs model evaluation on 300 real questions and compares two models for accuracy and cost. It adds a guardrail that redacts policyholder identifiers and blocks legal advice topics, and it routes traffic through a VPC endpoint. After three months of steady use, it moves to Provisioned Throughput. The outcome is a cut in average lookup time from minutes to seconds, with every answer citing its source document.