Introduction to Secure Access, GenAI Gateways and CI/CD
Federating identities and enforcing role-based, least privilege access to FMs and data, centralising FM consumption through GenAI gateways, and delivering GenAI components with CI/CD pipelines that test, scan and roll back.
- 4 lessons
- Module quiz
Once generative AI is used across an enterprise, three questions become pressing: who may use which models and data, how consumption is controlled and attributed across many teams, and how changes to prompts, agents and models reach production safely.
Access control starts with identity: users are authenticated, often through federation with a corporate identity provider, and applications use IAM roles. Least-privilege IAM policies then allow only the specific Bedrock actions and model ARNs a role needs, and the bedrock:GuardrailIdentifier condition key can require that every invocation applies an approved guardrail. A GenAI gateway centralises access to models for all teams, applying authentication, routing, quotas, guardrails, logging and cost attribution in one place. CI/CD pipelines deliver generative AI components like code, with tests, security scans, evaluation gates and automatic rollback.
What the exam expects
Questions test the exact IAM permissions, for example that the Converse API needs bedrock:InvokeModel and ConverseStream needs bedrock:InvokeModelWithResponseStream; cost attribution per team with tagged application inference profiles; and rollback through alarms during canary deployments or by reverting aliases and configuration.
How this module is organised
Federating Identities and Controlling Access to Models and Data explains workforce, customer and application identities. Writing Least-Privilege Policies for Amazon Bedrock explains IAM actions, resources, condition keys and credentials. Centralizing Model Access with a Generative AI Gateway explains what a gateway does and how it enforces policy, and Delivering Generative AI Components Through CI/CD Pipelines explains how generative AI components are built, tested and deployed.
- Federating Identities and Controlling Access to Models and Data Lesson 1
- Writing Least-Privilege Policies for Amazon Bedrock Lesson 2
- Centralizing Model Access with a Generative AI Gateway Lesson 3
- Delivering Generative AI Components Through CI/CD Pipelines Lesson 4
- Practise and review
- Checkpoint Practice activities across the module
- Test your knowledge 4 questions