Private Amazon Bedrock access for regulated workloads

How a regulated business keeps Amazon Bedrock traffic off the public internet, holds its own keys and logs, fences Regions, and what private access leaves open.

Westerwick4 min read

Blue and grey network cables plugged into numbered ports on a patch panel
Photo: Jordan Harrison on Unsplash (Unsplash License)
On this page

A bank, insurer, clinic or law firm looking at Amazon Bedrock, AWS's service for using AI models, usually has one question before any other: where does our data go? Customer records, claims and contracts are exactly what they want the AI to work with, and exactly what they can't afford to expose.

The good news is that private Bedrock access is achievable. The catch is that it's a set of controls you configure, not a default you inherit. Here is what those controls are, in plain terms, and the one question they don't answer.

By default, an application calls Bedrock over its public endpoint. AWS PrivateLink changes that. You create an interface endpoint inside your own private network on AWS (your VPC), and your applications reach Bedrock "without the use of an internet gateway, NAT device, VPN connection, or Direct Connect connection"1. The servers making the calls don't even need public IP addresses1.

AWS recommends exactly this setup, "so that your data isn't available over the internet"2. There are separate endpoints for calling models (bedrock-runtime) and for agents and knowledge bases (bedrock-agent-runtime), among others1. With private DNS switched on, AWS notes there are "no code changes needed"1: existing code simply starts using the private route.

Narrow what the endpoint allows

An endpoint on its own allows everything by default. An endpoint policy narrows it to the principals, actions and resources you choose1. AWS's example policy allows only the two model-calling actions and nothing else1. For most applications, that's the right starting point: the network path can be used to ask a model a question, and for nothing else.

Your keys, your logs, your account

Encryption keys. Data travelling to Bedrock is encrypted in transit3. For stored data, you can use your own keys in AWS Key Management Service (KMS) for things such as agents, custom models and knowledge base data3. Holding the key means you control who can decrypt it, and can revoke access.

Logs of every call. Bedrock can record "the full request data, response data, and metadata" of model calls into your own account4. That gives an auditor a record of who asked what, and what came back. Two details matter. First, "Model invocation logging is disabled by default"4, so you have to switch it on. Second, those logs now hold the same sensitive information as the prompts themselves, so they need encryption, tight access and a retention period of their own.

Private access isn't one switch. It's a network path, a policy, a key and a log, and each one has an owner.

What AWS says about your data

AWS states that when you tune a model, "we base it on a private copy of that model", and that "your data is not shared with model providers, and is not used to improve the base models"7. Those are AWS's commitments about the service, and they matter. But they describe what AWS does, not how you configure your account. Under AWS's shared responsibility model, the endpoints, keys, permissions and logs above are your job.

Fencing off Regions

Organisation-wide rules called service control policies (SCPs) can stop anyone in your AWS organisation from using Regions you haven't approved. AWS documents an example, DenyAllOutsideApprovedRegions6.

There is a subtlety with Bedrock's global cross-Region inference, which routes a request to wherever capacity is available. For those requests, AWS sets the requested Region to unspecified6. That means your Region rule has to decide deliberately whether to allow global routing or block it. It won't be caught by accident.

What private access doesn't solve

PrivateLink protects the path from your network to Bedrock. It doesn't decide where the model actually runs.

With cross-Region inference, data "remains on the AWS network and does not traverse the public internet"5, so it's still private in the network sense. But processing may happen in another country. AWS offers geographic profiles that keep processing within a geography such as the US, EU or Asia Pacific, and advises: "Choose Geographic for compliance requirements"5. Global profiles can route anywhere5.

For South African organisations, that engages the Protection of Personal Information Act (POPIA). Section 72 says a responsible party "may not transfer personal information about a data subject to a third party who is in a foreign country unless" certain conditions are met9. Separately, section 19 requires "appropriate, reasonable technical and organisational measures" to protect personal information8. The controls in this article are the kind of technical measures that section contemplates. Whether they're enough for your business, and whether a cross-border route is permitted, are questions for your legal advisers. We compare the Region options in more detail in choosing regions for South African AI workloads.

What to do next

  1. Put Bedrock behind a PrivateLink interface endpoint with an endpoint policy that allows only the actions your application needs.
  2. Switch on model invocation logging to an encrypted location in your own account, with restricted access and a set retention period.
  3. Use your own KMS keys for agents, knowledge bases and any stored AI data.
  4. Decide your Region position once and enforce it with an SCP, including an explicit decision on global routing.
  5. Document your POPIA basis for any processing outside South Africa, and get legal sign-off before real customer data goes in.

See it on your own data first.

We stand up a working proof of concept on our AWS account. Real sample data, no cost to you, before you commit to a build.