AI Platform Security: Bedrock, Azure AI, and Vertex AI

How to secure AWS Bedrock, Azure AI Foundry, and Google Vertex AI with IAM, guardrails, network isolation, and encryption.
AI Platform Security: Bedrock, Azure AI, and Vertex AI
Securing generative AI in the cloud means locking down three things at once: who can call the model, what data the model can see, and what the model is allowed to say back. AWS Bedrock, Azure AI Foundry, and Google Vertex AI each give you the controls to do this, but the settings are scattered across IAM, networking, and content-filtering consoles that most cloud teams have never touched before.
This is the layer that separates a "we added AI" checkbox from a production-grade deployment. If you are building a career in Cloud & AI Platform Security, this is one of the most in-demand skill sets on the market right now, because most organizations rolling out generative AI have cloud engineers who know IAM and security engineers who know AI, but very few people who know both well enough to configure them together.
Why AI platforms need a different security model
A model endpoint is not a typical API. It accepts unstructured natural language input, can be manipulated through prompt injection, may have access to internal knowledge bases through retrieval-augmented generation, and can leak sensitive data in its output even when the underlying infrastructure is perfectly configured. That means classic cloud security controls (IAM, network isolation, encryption, logging) are still necessary, but they are not sufficient on their own. You also need model-specific controls: content filters, guardrails, and prompt-level monitoring.
For a deeper look at the model-level risks themselves, see our breakdown of the OWASP LLM Top 10 and our guide to prompt injection defense. This article focuses on the platform layer: the AWS, Azure, and Google Cloud services that host the models in production.
Securing Amazon Bedrock
Amazon Bedrock gives access to foundation models from multiple vendors through a single managed API, which means your security posture depends heavily on how you wrap that API in IAM and network controls.
IAM enforcement of guardrails. Bedrock lets you attach Guardrails policies that filter harmful content, block denied topics, and redact sensitive information such as personally identifiable information. The stronger pattern is enforcing this at the IAM layer: write a policy that denies bedrock:InvokeModel calls unless a bedrock:GuardrailIdentifier is present in the request, so no application or developer can accidentally call a model with no safety controls attached.
Organization-wide controls. At the AWS Organizations level, a service control policy can deny Bedrock actions outside approved regions and block anyone from disabling Bedrock invocation logging, which keeps a single misconfigured account from becoming a blind spot.
Network and encryption controls. Route Bedrock traffic through VPC endpoints so prompts and completions never traverse the public internet, and use AWS KMS customer-managed keys to encrypt prompts, responses, custom models, and knowledge base content at rest.
Logging. Enable Bedrock model invocation logging to CloudWatch and CloudTrail so every prompt, response, and guardrail intervention is auditable. Without this, you cannot investigate a data leak or a jailbreak attempt after the fact.
Securing Azure AI Foundry
Azure AI Foundry (the successor to Azure AI Studio) centralizes model deployment, evaluation, and monitoring for Azure OpenAI and other hosted models.
Network isolation. Deploy AI Foundry hubs with managed virtual networks so dependent resources get private endpoints and outbound traffic stays controlled. Removing the public endpoint on your Azure OpenAI resource and restricting access to your virtual network closes off the most common exposure path.
Content filtering. Azure AI Content Safety runs prompts and completions through classification models before they reach the user, and it can be paired with Prompt Shields and jailbreak detection for public-facing applications. Default content filters ship with every Azure OpenAI deployment, but they should be tuned rather than left on defaults for regulated workloads.
Identity and access. Use Azure RBAC to assign least-privilege roles at the project or workspace level rather than granting subscription-wide access to anyone who needs to call a model.
Monitoring. Diagnostic logging should capture API requests, token usage, and content filter results, forwarded to Azure Monitor so unusual usage patterns trigger alerts rather than going unnoticed. Microsoft's own Azure AI security best practices guidance is the primary reference for keeping these settings current as the platform evolves.
Securing Google Vertex AI
Vertex AI's security model leans heavily on VPC Service Controls and fine-grained IAM roles rather than a single guardrails feature.
IAM least privilege. Disable automatic IAM grants for default service accounts, and use dedicated service accounts scoped to specific roles in the machine learning workflow: one for data access, one for training, one for deployment. Just-in-time access for anyone who needs elevated permissions temporarily reduces standing risk.
VPC Service Controls. A service perimeter around production Vertex AI projects blocks data exfiltration paths to the public internet and forces traffic through approved channels. Google's own guidance on VPC Service Controls covers the tradeoffs, including that perimeters can interfere with public package installs inside pipelines, so plan your build process accordingly.
Private connectivity. Private Service Connect is the recommended endpoint type for Vertex AI resources, keeping inference traffic inside private VPC subnets instead of exposing it to the internet.
Encryption. Customer-managed encryption keys (CMEK) give you control over the keys protecting model artifacts and training data, which matters for regulated industries with data residency requirements.
Comparing the three platforms
| Control area | AWS Bedrock | Azure AI Foundry | Google Vertex AI |
|---|---|---|---|
| Content filtering | Bedrock Guardrails | Azure AI Content Safety, Prompt Shields | Model-level safety filters, custom policies |
| Network isolation | VPC endpoints | Managed virtual network, private endpoints | VPC Service Controls, Private Service Connect |
| Access control | IAM policies with guardrail enforcement | Azure RBAC at project/workspace level | IAM roles per workflow stage, JIT access |
| Encryption | KMS customer-managed keys | Azure-managed and customer-managed keys | CMEK |
| Audit logging | CloudWatch, CloudTrail | Azure Monitor diagnostic logs | Cloud Audit Logs |
| Org-wide enforcement | Service control policies | Azure Policy | Organization policy constraints |
Common gaps across all three platforms
Even experienced cloud teams tend to miss the same things when they move from traditional workloads to AI platforms. Guardrails or content filters get configured once and never revisited as new models and features roll out. Logging is enabled for infrastructure but not for the prompts and completions themselves, which are usually the most sensitive data in the pipeline. And IAM policies grant broad model-invocation access because it is faster than scoping roles per application, which turns one compromised credential into access across every deployed model.
Closing these gaps is exactly the kind of hands-on work covered in PrimeSec Academy's curriculum, where students configure real IAM policies, guardrails, and VPC controls across AWS, Azure, and Google Cloud rather than only reading about them.
Frequently asked questions
Is AI platform security part of standard cloud security certifications? Cloud certifications such as the AWS Certified Security - Specialty and Microsoft's Azure security tracks are adding AI-related content, but dedicated AI platform security skills are still mostly learned through hands-on practice rather than a single exam.
Do I need to know machine learning to secure an AI platform? No. Securing Bedrock, Azure AI Foundry, or Vertex AI is primarily a cloud security skill set: IAM, networking, encryption, and logging, applied to a new type of workload. Understanding how prompts and model outputs work is helpful, but deep machine learning expertise is not required.
What is the single most important control to start with? Network isolation. Keeping model traffic off the public internet through VPC endpoints, private endpoints, or VPC Service Controls closes off the most common path for data exfiltration and unauthorized access, and it is usually the fastest control to implement.
Can guardrails and content filters be bypassed? Yes. Prompt injection and jailbreak techniques can sometimes get around content filters, which is why guardrails should be treated as one layer in a defense-in-depth strategy alongside IAM restrictions, logging, and human review of high-risk outputs.
How is this different from securing a regular cloud application? The infrastructure controls (IAM, VPC, encryption, logging) are the same skills used for any cloud workload. What changes is the addition of model-specific controls like content filtering and prompt monitoring, plus new risks like prompt injection that do not exist in traditional applications.
Where can I practice these skills hands-on? PrimeSec Academy's program includes labs across AWS, Azure, and Google Cloud where students configure IAM policies, guardrails, and network controls for real AI deployments as part of the certification path.
Cloud and AI platform security is one of the fastest-growing specializations in cybersecurity because most teams are deploying generative AI faster than they are securing it. Explore the PrimeSec Academy curriculum to see how the 20-week program builds these skills through hands-on labs and a defended capstone project.
