Learn / Securing model and agent workloads on cloud platforms
Securing model and agent workloads on cloud platforms
Applying cloud security controls, identity boundaries and monitoring to model and agent workloads on AWS, Azure and GCP.
Before the exercises: Know cloud IAM, networking and logging. Deployment exercises need a disposable account, budget alerts and a cleanup inventory; reading does not. Start with Step 0 if needed.
Researched on 2026-09-26 with AI assistance. Links and summaries can change; verify details with the original source. Not yet reviewed by a person.
What it is
It is the work of putting normal cloud security controls (identity and access management, data protection, network isolation, logging, threat modelling) around model endpoints, training jobs, retrieval stores and agent runtimes. AWS makes the point that a generative AI workload is still a data-driven cloud workload and inherits the same security regimen, with extra model-specific risks on top.1
The first step is scoping: deciding whether you consume a third-party app, call a managed model API, fine-tune a hosted model, or train your own, because each option shifts how much of the stack you are responsible for securing.1
Concretely it means service-level decisions you can point at in a console: private endpoints and disabled public network access, platform identity instead of API keys, and policy-based compliance monitoring, as set out in the Azure security baseline for Azure OpenAI.2
Google's SAIF frames the same idea as extending existing security foundations to AI, pulling AI into detection and response, and harmonising platform-level controls so protection is consistent across the estate rather than per project.3
In the job-posting sample
Counts describe 48 postings collected on 24 September 2026. Small role samples do not establish market-wide requirements or explain employer decisions.
28 of 48 postings (58%) ask for it, and it is heaviest where someone owns a running system: AI/Agent Security Engineer 69% of 16 postings, AI Security Architect 71% of 7, Consulting 80% of 5.P
Agentic deployments add attack surface, privilege creep and obscure event records, per the CISA-led guidance, and the practices it recommends are scoping agent permissions narrowly, starting with low-risk use cases, and folding agents into the existing security model.P5
The lower-demand clusters also touch it (Red Team 44% of 9 postings, GRC 43% of 7, both small denominators). In practice cloud identity paths are what let a red team show real impact, and frameworks such as the CSA AI Controls Matrix, which maps to ISO 42001 and ISO 27001, are what GRC leads evidence controls against.P7
Key terms and concepts
Start with the meaning, then connect it to an example. Use these notes while learning or revising; explaining a term is one part of applying it.
Processing location is where computation uses the data. Storage location is where retained copies live. These may be controlled separately; a regional database does not determine where a model request runs.17
Example: For a fictional document assistant, draw the route from upload through model processing to saved output. Record the permitted locations for each step, including logs and backups.
Security connection: Verify the chosen deployment's routing and storage settings against its terms. A location label alone does not establish legal compliance.
Retention describes whether data is kept and for how long. Training use describes whether it can be used to update a model. A no-training commitment can coexist with retained data.18
Example: A fictional service keeps request logs for troubleshooting but excludes them from training. A separate feature may save uploaded files until someone deletes them.
Security connection: Check the exact service, feature and contract. A provider's zero-retention arrangement does not automatically cover your application logs, saved files or downstream tools.
DLP identifies sensitive data and applies policies to its use or movement, such as warning, blocking or logging a transfer. Coverage depends on the channels and content the system can inspect.1920
Example: A fictional team blocks customer account numbers in outgoing AI prompts. The same rule may not cover an unmonitored file-upload route.
Security connection: Map permitted data flows and test policy coverage with synthetic data. DLP complements access control; a clean scan does not grant permission to read or share a document.
Before choosing controls, classify the workload: consumer app, enterprise app with AI features, managed model API, fine-tuned model, or self-trained model. AWS built its Generative AI Security Scoping Matrix around this because the provider takes more of the management burden at one end and you take almost all of it at the other. Scope determines who owns model weights, training data and the host operating system.1
Model endpoints accept either platform identity or long-lived keys. The Azure OpenAI baseline notes that Entra ID authentication for data plane access is on by default, while local key authentication is also supported and is the customer's responsibility to disable. Removing keys in favour of managed identities kills the most common credential-leak path and gives you per-caller audit trails.2
The Azure OpenAI baseline states the service can be deployed into a customer virtual network, supports Private Link and supports disabling public network access, but none of these are enabled by default. The stated pattern is deny all traffic first, then allow specific subnets or IP ranges. The same shape applies on other clouds: an inference endpoint reachable from the internet is a different risk than one reachable from one subnet.2
Models are code. Wiz Research uploaded a malicious model to a shared inference service and used container escape to break out of its own tenant, and separately found a shared CI/CD takeover path; pickle-format models can carry remote code execution payloads. Wiz argues AI services are especially exposed to tenant isolation bugs because they exist to run user-supplied models. If you host models for others, or pull models from a hub, treat the artefact as untrusted input.910
CISA and international partners list expanded attack surface, privilege creep, behavioural misalignment and obscure event records as the core risks of agentic AI. Their recommendations are to avoid broad or unrestricted access to sensitive data and critical systems, begin with low-risk use cases, and account for agentic AI in the organisation's security model and risk posture. In cloud terms that means one narrow role per agent action, not one role that can do everything the agent might ever need.5
Greshake and colleagues showed that when an LLM application retrieves content (web pages, documents, emails), an attacker can plant instructions in that content and override the application's own instructions without ever prompting the model directly. For cloud work this means retrieved data is untrusted input that crosses into a component holding cloud credentials and tool access. Mitigation is architectural: separate the identity used to read data from the identity used to act.11
MCP and Agent-to-Agent protocols connect applications to tools and other agents. Protocol support alone does not prove that a deployment authenticates callers or enforces permissions. Review token validation, user delegation, tool authorisation, egress rules and audit records in the actual implementation. A scan of public servers cannot establish the security of a particular deployment.1416
Tramer and colleagues showed that black-box query access to a prediction API is enough to extract near-equivalent copies of hosted models, and a later survey catalogues the attack families and defences for machine-learning-as-a-service. Practically, an unauthenticated or unmetered inference endpoint is an intellectual property and privacy exposure, so quotas, per-principal rate limits and query logging are security controls, not just cost controls.1213
Use fictional data and authorised sandboxes. Remove employer details and secrets from any portfolio write-up. Time estimates exclude setup. Check model and cloud costs before running tests, set spending limits, and delete lab resources afterwards.
Three exercises
Work through these in order. Open-source code can still incur model, cloud or hardware costs. Record your setup, results and limitations.
A one-page control sheet that states the scope of a chosen AI workload and the identity and network settings you would change from default, with a citation for each.123
- Pick a real or plausible workload and place it in the AWS Generative AI Security Scoping Matrix, writing down what the provider owns and what you own.
- Read the Azure OpenAI baseline sections on network security and identity management and list every feature marked as customer responsibility.
- Decide, for your workload, whether local key authentication stays on and whether public network access stays on, and write the reason.
- Add the SAIF element 'extend detection and response' as a row: name the logs you would send to your SIEM.
- Finish with three open questions you would put to the platform team.
Tools: text editor, provider documentation
Check your work
- The control sheet places the workload in a named scope of the AWS Generative AI Security Scoping Matrix and lists provider-owned versus customer-owned items with a documentation link on each row.
- Local key authentication and public network access each carry an explicit keep-or-disable decision with a stated reason, and the detection row names specific log types rather than 'logs'.
A threat model showing how untrusted retrieved content reaches a component with cloud permissions, plus the specific permission and logging changes that break the chain.56711
- Sketch an agent that reads documents from object storage and calls two tools, and mark every trust boundary.
- Use the indirect prompt injection paper to write two abuse cases where planted content redirects the agent's actions.
- Apply the CISA agentic guidance recommendations: remove broad access, split roles per action, and name the event records that are currently missing.
- Cross-check your mitigations against the OWASP Securing Agentic Applications Guide and note anything you missed.
- Select the control objectives from the CSA AI Controls Matrix that an auditor would ask you to evidence, using the AI Customer role view.
Tools: text editor, diagram tool, CSA AICM spreadsheet download
Check your work
- The diagram marks each trust boundary and traces one complete path from untrusted document content to a component holding cloud permissions.
- Each abuse case names one permission change and one currently missing event record, and the CSA AICM rows are recorded by control ID under the AI Customer role view.
A walkthrough where you escalate privileges in a deliberately vulnerable AWS environment, then explain the same path as an attack on a model or agent workload.891215
- Install CloudGoat with Terraform and the AWS CLI in a throwaway account, following the repository warnings about never deploying next to sensitive resources.
- Run an easy scenario such as iam_enum_basic, record each enumeration and escalation step, then destroy the scenario.
- Rewrite the path assuming the compromised role was attached to an inference endpoint or an agent runtime, and state what the attacker reaches.
- Add the model-specific outcomes from the Wiz research (malicious model artefact, container escape, shared CI/CD) and from the model extraction work (query-based copying of the hosted model).
- Name the detections and permission changes you would ship, and map each to the NIST AI 100-2 attack category it addresses.
Tools: CloudGoat, Terraform, AWS CLI, jq
Check your work
- Set budget alerts before deployment; alerts do not cap spend. After teardown, compare the lab resource inventory with the account across relevant services and regions, including credentials, compute, storage and network resources.
- For each escalation step, explain what the attacker could reach if the role belonged to an inference endpoint or agent runtime. Give each detection a log source and test event; use NIST AI 100-2 categories only where applicable.
Practice questions
Written from the concepts above, not collected from a named employer. Open one, answer it out loud, then tick the points you covered; the score stays in this browser.
A team wants to ship a chat feature on a managed model API next month. How do you scope your security work?Scoping and shared responsibility
Say your answer out loud or write it down, then tick what you covered:
0 of 4 covered
Which default settings on a hosted model service would you change first, and why?Azure security baseline for Azure OpenAI
Say your answer out loud or write it down, then tick what you covered:
0 of 4 covered
Why is pulling a model from a public hub a supply chain decision rather than a download?Tenant isolation and untrusted model code
Say your answer out loud or write it down, then tick what you covered:
0 of 4 covered
An agent summarises supplier emails and can also file tickets and read a customer database. Where is the weakness?Indirect prompt injection as a trust boundary problem
Say your answer out loud or write it down, then tick what you covered:
0 of 4 covered
What logging would you add for an agent workload that you would not need for a normal web service?CISA, US and International Partners Release Guide to Secure Adoption of Agentic AI
Say your answer out loud or write it down, then tick what you covered:
0 of 4 covered
How do you argue that rate limits on an inference endpoint are a security control?Model extraction against exposed APIs
Say your answer out loud or write it down, then tick what you covered:
0 of 4 covered
A GRC lead asks you to evidence AI controls for an audit. What do you use and what do you produce?AI Controls Matrix (AICM) v1.1
Say your answer out loud or write it down, then tick what you covered:
0 of 4 covered
Your organisation deploys an externally developed AI system into a regulated environment. What framework would you anchor the deployment plan to?s3, s4, s8
Say your answer out loud or write it down, then tick what you covered:
0 of 4 covered
Sources
Every numbered claim above links here. P = the platform's own coding of 48 job postings.
- Securing generative AI: An introduction to the Generative AI Security Scoping Matrix AWS Security Blog
- Azure security baseline for Azure OpenAI Microsoft Learn
- Google's Secure AI Framework (SAIF) Google
- Joint Guidance on Deploying AI Systems Securely CISA / NSA Artificial Intelligence Security Center
- CISA, US and International Partners Release Guide to Secure Adoption of Agentic AI CISA
- Securing Agentic Applications Guide 1.0 (published 27 July 2025) OWASP Gen AI Security Project
- AI Controls Matrix (AICM) v1.1 Cloud Security Alliance
- NIST AI 100-2 E2025: Adversarial Machine Learning, A Taxonomy and Terminology of Attacks and Mitigations (March 2025) NIST CSRC
- Hugging Face works with Wiz to strengthen AI cloud security Wiz Research
- SAPwned: SAP AI vulnerabilities expose customers' cloud environments and private AI artifacts Wiz Research
- Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injection arXiv
- Stealing Machine Learning Models via Prediction APIs arXiv
- I Know What You Trained Last Summer: A Survey on Stealing Machine Learning Models and Defences arXiv
- A survey of agent interoperability protocols: MCP, ACP, A2A and ANP arXiv
- CloudGoat: vulnerable by design cloud deployment tool Rhino Security Labs
- AIP: Agent Identity Protocol for Verifiable Delegation Across MCP and A2A (preprint, March 2026) arXiv
- Data residency: processing and storage controls Anthropic
- API and data retention Anthropic
- Learn about data loss prevention Microsoft
- Authorization Cheat Sheet OWASP
Resources
Free first. Levels: intro means no prior knowledge of this skill; working means you can apply it on a project; advanced means research depth or specialist tooling.
- introGoogle's Secure AI Framework (SAIF) Google, Guide, about 1 h freeVendor framework that maps AI risks to platform controls, useful when a client or auditor asks how your Google Cloud AI stack is governed.ArchitectGovernanceConsultant
- introCISA and international partners: guide to secure adoption of agentic AI CISA (Five Eyes joint guidance), Standard, about 3 h freeRead the government baseline for adopting agentic AI services so your cloud agent deployment plan matches what auditors and customers now expect.GovernanceArchitectConsultantEngineer
- introIntroduction to Security in the World of AI Google Skills (Google Cloud), Course, about 1 h freeOne hour to frame AI risk, data protection and compliance decisions for cloud-hosted AI before you touch platform controls.GovernanceConsultantArchitect
- introCloud Controls Matrix and CAIQ v4.1 Cloud Security Alliance, Standard freeGives the 17-domain cloud control baseline that AI-specific controls sit on top of, plus the questionnaire you will be asked to answer.GovernanceArchitectConsultant
- introAI Red Teaming Playground Labs Microsoft, Hands-on lab freeStand up the Black Hat AI red team challenges with Docker or Kubernetes and practise attacking hosted chat and agent apps you deploy yourself.Red teamerEngineerResearcher
- introSecuring generative AI: An introduction to the Generative AI Security Scoping Matrix AWS Security Blog, Guide, about 1 h freeGives you a five-scope vocabulary for classifying an AI workload, so you can decide which cloud controls actually apply before designing anything.EngineerArchitectGovernanceConsultant
- introAI security fundamentals (learning path) Microsoft Learn, Course, about 2.2 h freeThree modules covering the three-layer AI architecture, AI-specific attacks and the control families, enough to speak credibly in cloud AI design reviews.EngineerGovernanceRed teamerConsultant
- introPrompt Airlines AI CTF Wiz Research, Hands-on lab, about 2 h freeBrowser-based capture the flag against a hosted chatbot, your first hands-on feel for how a deployed model endpoint gets manipulated.Red teamerEngineerConsultant
- workingAzure security baseline for Azure OpenAI Microsoft Learn, Guide, about 2 h freeControl-by-control baseline (network isolation, managed identity, key management, logging) you can audit a model deployment against line by line.EngineerArchitectGovernance
- workingJoint Guidance: Deploying AI Systems Securely NSA AI Security Center with CISA and partners, Standard, about 2 h freeHardening checklist for the deployment environment around a model: boundaries, access control, artefact integrity and continuous monitoring.ArchitectEngineerGovernanceConsultant
- workingCSA AI Controls Matrix (AICM) v1.1 Cloud Security Alliance, Standard freeControl framework written for cloud-based AI systems with provider and customer split, usable as the backbone of an AI control set or vendor questionnaire.GovernanceArchitectConsultant
- workingSecuring Generative AI on AWS (AWS Skill Builder course) AWS, Course freeWork through governance, controls and resilience for each AI scope on AWS, with case studies from consumer apps to self-trained models.EngineerArchitectConsultantGovernance
- workingMCP Scanner Cisco AI Defense, Tool freeScan the MCP servers your cloud agents connect to for tool poisoning and risky configuration before you approve them for production.EngineerRed teamerConsultant
- workingNot what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injection arXiv (Greshake et al.), Paper, about 2 h freeThe paper behind OWASP and NIST treatment of indirect prompt injection; explains why retrieved content is untrusted input in any cloud RAG or agent design.Red teamerEngineerArchitectResearcher
- workingA survey of agent interoperability protocols: MCP, ACP, A2A and ANP arXiv, Paper, about 3 h freeCompare how the four agent protocols handle identity, discovery and trust, so you can pick authentication and network boundaries per protocol.ArchitectEngineerConsultantResearcher
- workingStealing Machine Learning Models via Prediction APIs arXiv (Tramer et al.), Paper, about 2 h freeFoundational result on extracting hosted models through query APIs, the argument for rate limits, output restriction and monitoring on inference endpoints.ArchitectResearcherRed teamerGovernance
- workingSecuring Agentic Applications Guide 1.0 OWASP GenAI Security Project, Standard freeTechnical controls for agent deployments: identity, tool permissions, runtime isolation and logging, which you can turn into cloud requirements directly.EngineerArchitectConsultantGovernance
- workingNIST AI 100-2 E2025: Adversarial Machine Learning, A Taxonomy and Terminology of Attacks and Mitigations NIST, Standard freeShared attack and mitigation vocabulary for AI systems, so your cloud threat models and audit findings use terms that regulators and standards reuse.GovernanceArchitectResearcherRed teamer
- workingCloudGoat Rhino Security Labs, Hands-on lab freeDeploys intentionally weak AWS and Azure environments so you practise the IAM privilege escalation paths that over-permissioned model and agent roles create.Red teamerEngineerArchitectConsultant
- workingDamn Vulnerable MCP Server Harish Santhanalakshmi Ganesan, Hands-on lab freeTen Docker-based challenges on tool poisoning, excessive permission scope, token theft and remote access, the failure modes of agent tool servers you will review.Red teamerEngineerConsultant
- advancedPyRIT (Python Risk Identification Tool for generative AI) Microsoft (Azure), Tool freeAutomate repeatable attack runs against your own cloud model and agent endpoints, and keep the results as evidence across releases.Red teamerEngineerResearcher
- advancedIgnite LAB516: safeguard your agents with the AI Red Teaming Agent in Azure AI Foundry Microsoft, Hands-on lab freeRun automated agent red teaming inside a cloud project you provision from the included infra code, then read the scan output as evidence.Red teamerEngineerArchitect
- advancedConfidential Computing on NVIDIA Hopper GPUs: A Performance Benchmark Study arXiv, Paper, about 2 h freeShows where GPU TEE overhead actually lands (host to device transfer), so you can decide if confidential inference is affordable for a workload.ArchitectResearcherEngineer
- advancedIndirect Prompt Injections: Are Firewalls All You Need, or Stronger Benchmarks? arXiv, Paper, about 2 h freeDescribes a model-agnostic defence at the agent-to-tool boundary, the pattern you would implement as a gateway or sidecar in a cloud agent platform.ArchitectEngineerResearcher
- advancedI Know What You Trained Last Summer: A Survey on Stealing Machine Learning Models and Defences arXiv, Paper, about 4 h freeSurvey of extraction attacks and defences against machine learning as a service, useful when setting query limits and detection policy for hosted models.ResearcherArchitectGovernance
Gaps the research could not fill with a good free source: A free AWS-hosted hands-on workshop on securing generative AI (the workshop catalog URL I tried returned 404), so the only AWS lab found sits behind Coursera with unconfirmed pricing.; A confirmed free Google Cloud Skills Boost course or lab on securing Vertex AI or Gemini workloads; search only returned marketing and general gen AI training pages.; The CISA/NSA joint guidance 'Deploying AI Systems Securely' could not be confirmed at the cisa.gov path I tried (404), so it is left out despite being relevant to cloud AI deployment hardening.; A vendor-neutral free lab on isolating AI workloads on Kubernetes or GPU nodes (multi-tenancy, node isolation, service account boundaries).; A free primary source on confidential computing or trusted execution for model hosting across AWS, Azure and GCP.; Free monitoring and detection content specific to model and agent workloads (log schemas, detection rules) from a neutral source rather than a single cloud vendor.
Paid options
These courses and certifications cover parts of this topic. Compare their syllabus and practice format with the free resources. An exam listing is not a training course. Showing 4 of 4: ones postings name first, then the most focused on this skill. All paid options.
- Cost
- USD 599 (US and all regions not otherwise listed, and Asia Pacific, Middle East, Africa); EUR 575.04 in EMEA; GBP 485.19 in the UK
- Duration
- not stated
- Format
- exam only
- Prerequisite
- not stated on the pages we read
- Provider page checked
- 2026-09-26
- In the 48 postings
- Named in 2 of 48 postings: Cyber - AI Security - Senior - Consulting (a plus); Secure AI Engineer Manager (listed).
Study or assessment format: Vendor-neutral cloud security coverage that satisfies the generic 'cloud security cert' wording in the field delivery posting without committing to one provider.
Related free material: CSA Cloud Controls Matrix and the free guidance from AWS, Azure and Google cover the same control areas at no cost.
- Cost
- 300 USD
- Duration
- 170 minutes, 65 multiple choice or multiple response questions
- Format
- exam only
- Prerequisite
- No certification prerequisite. AWS states it is intended for people with five years of IT security experience and two or more years securing AWS workloads.
- Renewal
- Valid for 3 years; recertify by passing the latest version of the exam
- Provider page checked
- 2026-09-26
- In the 48 postings
- Named in 2 of 48 postings: Sr. Security Solutions Architect, AI-Applied Guidance (a plus); Secure AI Engineer Manager (listed).
Study or assessment format: Tests the IAM, encryption, data protection and detection controls you need to reason about when an AI workload runs on Bedrock, SageMaker or EKS, and it is the cert the AWS-facing architect posting named.
Related free material: AWS Skill Builder digital courses, the free exam guide PDF and AWS security documentation cover the syllabus without payment.
- Cost
- USD 1,749 once (Course + Cert Bundle, 90 days access, one exam attempt); USD 2,749/year (Learn One, one year access, two exam attempts); USD 1,699 once for the OSCP+ standalone exam
- Duration
- 321h of content; 20+ modules plus 9 challenge labs; exam is 24 hours proctored
- Format
- self-paced
- Prerequisite
- As stated: no hard prerequisite, but OffSec suggests hands-on practical knowledge of Linux and Windows administration, networking and network scripting
- Renewal
- OSCP has no expiration date; the OSCP+ designation expires 3 years from issuance
- Provider page checked
- 2026-09-26
- In the 48 postings
- Named in 2 of 48 postings: Sr. AI Red Team Engineer (listed); AI Red Team Engineer for LLM Security (required, one of a list).
Study or assessment format: A practical penetration-testing course and exam. Two sampled postings name the certification; that does not make it an entry requirement across AI security roles.
Related free material: Enumeration, privilege escalation and the web attacks in the syllabus are all reachable free through PortSwigger Web Security Academy, HackTricks and free TryHackMe/HTB rooms, with no exam.
- Cost
- not stated on the provider page
- Duration
- 60-minute exam, maximum 60 multiple-choice and performance-based questions; CertMaster Perform is listed at 30-60 hours and CertMaster Labs at 15-25 hours
- Format
- exam only
- Prerequisite
- recommended 3-4 years in IT with 2+ years hands-on cybersecurity, and Security+, CySA+, PenTest+ or equivalent
- Provider page checked
- 2026-09-26
- In the 48 postings
- Not named in any of the 48 postings.
Study or assessment format: A single vendor-neutral exam that covers securing AI systems (40% of the exam), AI-assisted security operations (24%) and AI GRC (19%), useful where an employer or contract wants a named credential rather than a portfolio.
Related free material: NIST AI RMF, ENISA and CISA guidance, plus free vendor learning paths, cover the same governance and AI-in-SOC ground; the exam objectives PDF is itself free to read.