Securing AI Systems on AWS
Shared responsibility model (verified, Bedrock data protection docs)
- AWS protects the global infrastructure that runs the AWS Cloud ("security of the cloud").
- You control your content, plus the security configuration of the services you use ("security in the cloud"): who has access, what data goes in, how outputs are used.
- In Bedrock, model providers have no access to the model deployment accounts or your logs; your inputs and outputs aren't shared with them (verified, Bedrock docs and FAQ).
Controls named in the guide (verified, service docs)
| Control | Protects |
|---|---|
| IAM roles, policies and permissions | Who and what can call models, read data, change configuration; grant least privilege |
| Encryption | Data at rest (AWS KMS, optionally your own keys) and in transit (TLS; Bedrock requires TLS 1.2, recommends 1.3) |
| Amazon Macie | Discovers sensitive data (PII) in Amazon S3 using ML and pattern matching; flags risks such as public buckets |
| AWS PrivateLink | Private connection from your VPC to Amazon Bedrock through an interface endpoint: no internet gateway, NAT, VPN or public IPs |
| AgentCore Identity | Agent identity, access and authentication, working with existing identity providers (Cognito, Okta, Entra ID) |
| Policy in AgentCore | Deterministic rules on which tools an agent can use, what actions, under which conditions; intercepts tool calls at the Gateway |
| Amazon Bedrock Guardrails | Filters harmful content, prompt attacks and PII in inputs and outputs (28) |
AWS also recommends MFA, IAM Identity Center for users, and AWS CloudTrail for API activity logging (verified).
Secure data engineering (named in the guide; design guidance)
- Assess data quality before training or retrieval.
- Privacy-enhancing technologies: masking, anonymisation, tokenisation, differential privacy.
- Data access control: least privilege on buckets and knowledge bases; document-level permissions in managed Knowledge Bases.
- Data integrity: validate sources; protect against tampering (poisoning).
Exam traps
- "AWS is responsible for my IAM policies." You are.
- Using a NAT gateway for "no internet traffic" to Bedrock. Use PrivateLink.
- Macie for scanning EC2 for vulnerabilities. Macie finds sensitive data in S3; Amazon Inspector finds vulnerabilities.
References
- Bedrock data protection — checked Oct 19, 2026
- Bedrock PrivateLink — checked Oct 19, 2026
- Amazon Macie — checked Oct 19, 2026
- AgentCore — checked Oct 19, 2026
- Shared responsibility model — checked Oct 19, 2026
- Bedrock FAQs — checked Oct 19, 2026
Check your understanding
Traffic from your VPC to Bedrock must never cross the internet. Service?Show answerHide answer
Answer
AWS PrivateLink (interface VPC endpoint).Find which S3 buckets used for training contain PII?Show answerHide answer
Answer
Amazon Macie.Under shared responsibility, who configures who can invoke a model?Show answerHide answer
Answer
The customer (IAM).