EU AI Act Compliance on AWS: Requirements and Implementation
The EU AI Act (Regulation 2024/1689) is the most comprehensive AI regulation in the world. It entered into force on August 1, 2024, with a phased enforcement timeline that puts high-risk AI system requirements into effect on August 2, 2026 -- just months away. If you deploy AI systems that serve EU citizens or operate within the EU, compliance is not optional.
Most organizations running AI workloads on AWS know they need to comply. What they lack is a concrete mapping between the regulation's requirements and the AWS services they already use. This guide provides exactly that. We walk through the EU AI Act's risk categories, map high-risk AI system requirements (Articles 9 through 15) to specific AWS services, provide working code examples, and outline the compliance timeline you need to meet.
EU AI Act Overview
The EU AI Act classifies AI systems into four risk categories, each with different regulatory requirements:
Risk Categories
Unacceptable Risk (Prohibited) -- AI systems that pose an unacceptable risk to fundamental rights are banned outright. Examples include social scoring systems, real-time biometric identification in public spaces (with exceptions), and AI systems that exploit vulnerabilities of specific groups. If your AI system falls into this category, no amount of AWS configuration will help -- you cannot deploy it.
High Risk -- AI systems used in critical areas like employment, credit scoring, healthcare, law enforcement, education, and critical infrastructure. These systems face the most stringent requirements: risk management, data governance, transparency, human oversight, accuracy, robustness, and cybersecurity. This is where most compliance work concentrates.
Limited Risk -- AI systems with specific transparency obligations, primarily chatbots and systems that generate synthetic content. Users must be informed they are interacting with AI. Bedrock-powered applications typically fall here.
Minimal Risk -- AI systems with no specific regulatory requirements beyond existing law. Spam filters, AI-powered search, and most internal tools fall into this category.
Timeline and Penalties
| Date | Milestone |
|---|---|
| August 1, 2024 | EU AI Act entered into force |
| February 2, 2025 | Prohibited AI practices banned |
| August 2, 2025 | GPAI (general-purpose AI) rules apply |
| August 2, 2026 | High-risk AI system requirements apply |
| August 2, 2027 | Certain high-risk AI systems in Annex I must comply |
Penalties are significant:
- Up to 35 million EUR or 7% of global annual turnover for prohibited AI practices
- Up to 15 million EUR or 3% of global turnover for high-risk AI system violations
- Up to 7.5 million EUR or 1.5% of global turnover for providing incorrect information
Article 9: Risk Management System
Article 9 requires a risk management system that is established, implemented, documented, and maintained throughout the entire lifecycle of a high-risk AI system. This is not a one-time risk assessment -- it is a continuous process.
On AWS, this maps to SageMaker Model Cards for risk documentation, SageMaker Experiments for tracking risk treatment over time, and EventBridge for risk event detection.
Documenting Risk Management with Model Cards
import boto3
import json
sagemaker = boto3.client("sagemaker")
model_card_content = {
"model_overview": {
"model_description": "Credit scoring model for consumer loan applications",
"model_id": "credit-score-v2",
"model_creator": "Risk Analytics Team",
"problem_type": "Binary Classification",
"algorithm_type": "Gradient Boosted Trees",
},
"intended_uses": {
"purpose_of_model": "Assess creditworthiness of consumer loan applicants "
"in EU markets. Output used by human credit analysts "
"as one factor in lending decisions.",
"intended_users": ["Credit analysts", "Loan officers"],
"explanations_for_risk_rating": (
"HIGH RISK per EU AI Act Annex III, Section 5(b): AI systems used "
"to evaluate creditworthiness of natural persons. Model output "
"influences but does not autonomously determine credit decisions."
),
"risk_rating": "High",
"factors_affecting_model_efficiency": (
"Performance validated for applicants in DE, FR, NL, ES. Not validated "
"for other EU member states. Accuracy degrades for applicants with "
"less than 12 months of credit history."
),
},
"additional_information": {
"ethical_considerations": (
"Model must not discriminate based on protected characteristics "
"(gender, ethnicity, age, disability). Credit decisions require "
"human review per Article 14. Applicants have right to explanation "
"per Article 86."
),
"custom_details": {
"eu_ai_act_risk_category": "high-risk",
"eu_ai_act_annex_iii_section": "5b-credit-scoring",
"article_9_risk_management": "continuous-lifecycle",
"article_9_risk_identified": "bias,drift,data-staleness,adversarial-input",
"article_9_residual_risk": "acceptable-with-human-oversight",
"risk_assessment_date": "2026-07-15",
"next_review_date": "2026-10-15",
},
},
}
response = sagemaker.create_model_card(
ModelCardName="credit-score-v2-eu-ai-act",
Content=json.dumps(model_card_content),
ModelCardStatus="Draft",
SecurityConfig={"KmsKeyId": "alias/ml-governance-key"},
Tags=[
{"Key": "regulation", "Value": "eu-ai-act"},
{"Key": "risk-category", "Value": "high-risk"},
{"Key": "articles", "Value": "9,10,11,13,14,15"},
],
)
Compliance Tip: Article 9(2) requires that the risk management system be "a continuous iterative process planned and run throughout the entire lifecycle." Your Model Card must be a living document. Update it every time you retrain the model, detect drift, or receive feedback. SageMaker Model Cards support versioning -- use it.
Article 10: Data and Data Governance
Article 10 imposes strict requirements on the data used to train, validate, and test high-risk AI systems. Training data must be relevant, sufficiently representative, and to the best extent possible, free of errors. Data governance practices must cover collection, annotation, quality checks, and bias examination.
AWS Glue and Lake Formation provide the data governance infrastructure that Article 10 demands.
Data Governance with Glue Data Quality
import boto3
glue = boto3.client("glue")
# Create data quality ruleset per Article 10(2)-(5)
glue.create_data_quality_ruleset(
Name="eu-ai-act-article-10-credit-scoring",
Description="Data quality rules for EU AI Act Article 10 compliance. "
"Validates training data for credit scoring model.",
Ruleset="""
Rules = [
# Article 10(2) - data must be relevant and sufficiently representative
Completeness "credit_history_months" >= 0.98,
Completeness "income_verified" >= 0.99,
Completeness "employment_status" >= 0.99,
# Article 10(3) - training data shall be subject to appropriate
# data governance and management practices
ColumnValues "credit_history_months" >= 0,
ColumnValues "loan_amount" between 500 and 1000000,
ColumnValues "applicant_age" between 18 and 120,
# Article 10(5) - data shall be examined for possible biases
# Check representation across protected groups
ColumnValues "country" in ["DE", "FR", "NL", "ES"],
DataFreshness "application_date" <= 730 days,
# Uniqueness check to prevent data leakage
IsUnique "application_id",
# Schema validation
ColumnCount = 24,
ColumnDataType "applicant_age" = "int",
ColumnDataType "income_annual" = "double"
]
""",
TargetTable={
"TableName": "credit_scoring_training_v2",
"DatabaseName": "ml_training_data",
},
Tags={
"regulation": "eu-ai-act",
"article": "10",
"data-governance": "training-data-quality",
},
)
print("Data quality ruleset created for Article 10 compliance")
Run this ruleset before every training job. Store the results as Article 10 compliance evidence. If any rule fails, the training pipeline should halt until the data issue is resolved.
Article 11: Technical Documentation
Article 11 requires providers to draw up technical documentation before a high-risk AI system is placed on the market or put into service. The documentation must be kept up to date and contain sufficient information for authorities to assess compliance.
Annex IV specifies the required contents: a general description of the AI system, a detailed description of the development process, information about monitoring and functioning, and a description of the risk management system.
SageMaker Model Cards and the Model Registry together fulfill Article 11 requirements. Model Cards capture the descriptive documentation, while the Model Registry provides the versioned lifecycle record.
Generating Technical Documentation
# Export Model Card as technical documentation per Article 11 / Annex IV
aws sagemaker describe-model-card \
--model-card-name "credit-score-v2-eu-ai-act" \
--model-card-version 0 \
--query '{
ModelCardName: ModelCardName,
ModelCardVersion: ModelCardVersion,
ModelCardStatus: ModelCardStatus,
Content: Content,
CreationTime: CreationTime,
LastModifiedTime: LastModifiedTime
}' \
--output json > technical-documentation-credit-v2.json
# Export model lineage for development process documentation
aws sagemaker query-lineage \
--start-arns "arn:aws:sagemaker:eu-west-1:123456789:model-package/credit-scoring/2" \
--direction "Ascendants" \
--max-depth 10 \
--query 'Vertices[].{Arn:Arn,Type:Type,LineageType:LineageType}' \
--output table
# Export model registry versions for lifecycle documentation
aws sagemaker list-model-packages \
--model-package-group-name "credit-scoring" \
--sort-by "CreationTime" \
--sort-order "Descending" \
--max-results 20 \
--query 'ModelPackageSummaryList[].{
Version: ModelPackageVersion,
Status: ModelPackageStatus,
ApprovalStatus: ModelApprovalStatus,
Created: CreationTime
}' \
--output table
Annex IV requires documentation of "the metrics used to measure accuracy, robustness and cybersecurity" and "the expected level of accuracy." Your Model Card's evaluation details section must include these metrics with specific values, not vague descriptions.
Article 13: Transparency and Information for Deployers
Article 13 requires that high-risk AI systems are designed and developed so that their operation is sufficiently transparent to enable deployers to interpret the system's output and use it appropriately. Instructions for use must accompany the system.
On AWS, this maps to Bedrock invocation logging for LLM transparency and Model Cards for documentation that travels with the model.
Bedrock Invocation Logging for Transparency
import boto3
bedrock = boto3.client("bedrock")
# Enable model invocation logging per Article 13 transparency requirements
bedrock.put_model_invocation_logging_configuration(
LoggingConfig={
"CloudWatchConfig": {
"LogGroupName": "/aws/bedrock/eu-ai-act-transparency",
"RoleArn": "arn:aws:iam::123456789:role/BedrockLoggingRole",
"LargeDataDeliveryS3Config": {
"BucketName": "ml-governance-evidence",
"KeyPrefix": "eu-ai-act/article-13/bedrock-invocations",
},
},
"S3Config": {
"BucketName": "ml-governance-evidence",
"KeyPrefix": "eu-ai-act/article-13/bedrock-invocations-full",
},
"TextDataDeliveryEnabled": True,
"ImageDataDeliveryEnabled": True,
"EmbeddingDataDeliveryEnabled": True,
}
)
# Create transparency notice for deployers (Article 13(1))
transparency_doc = {
"system_name": "Credit Assessment Assistant",
"ai_disclosure": "This system uses AI to assist credit analysis. "
"All outputs must be reviewed by a qualified credit analyst.",
"capabilities": [
"Summarize applicant financial history",
"Flag potential risk factors",
"Generate preliminary risk assessment",
],
"limitations": [
"Cannot access real-time market data",
"Not validated for commercial lending",
"May not account for recent regulatory changes",
],
"interpretation_guidance": (
"Risk scores range from 0-100. Scores below 30 indicate high risk. "
"Scores above 70 indicate low risk. Intermediate scores require "
"additional human analysis. Never use scores as sole decision criteria."
),
"human_oversight_requirement": "Article 14 compliance: all credit decisions "
"require human review and approval",
}
Compliance Tip: Article 13(3)(b)(iv) requires transparency about "the level of accuracy, including its metrics, robustness and cybersecurity." Do not bury this information in model training logs. It must be in the documentation that deployers receive with the system.
Article 14: Human Oversight
Article 14 requires that high-risk AI systems are designed to allow effective human oversight. The human overseeing the system must be able to understand the system's capabilities and limitations, correctly interpret its output, and decide not to use the system or override its output.
On AWS, Step Functions approval gates provide the workflow infrastructure for human-in-the-loop oversight.
Human Oversight Workflow with Step Functions
{
"Comment": "EU AI Act Article 14 - Human Oversight for Credit Decisions",
"StartAt": "GenerateAIAssessment",
"States": {
"GenerateAIAssessment": {
"Type": "Task",
"Resource": "arn:aws:lambda:eu-west-1:123456789:function:generate-credit-assessment",
"ResultPath": "$.aiAssessment",
"Next": "CheckRiskLevel"
},
"CheckRiskLevel": {
"Type": "Choice",
"Choices": [
{
"Variable": "$.aiAssessment.riskScore",
"NumericLessThan": 30,
"Next": "RequireSeniorReview"
},
{
"Variable": "$.aiAssessment.riskScore",
"NumericGreaterThanEquals": 70,
"Next": "RequireStandardReview"
}
],
"Default": "RequireStandardReview"
},
"RequireSeniorReview": {
"Type": "Task",
"Resource": "arn:aws:states:::sns:publish.waitForTaskToken",
"Parameters": {
"TopicArn": "arn:aws:sns:eu-west-1:123456789:senior-credit-review",
"Subject": "SENIOR REVIEW: High-Risk Credit Application",
"Message.$": "States.Format('Application {} scored {} by AI. Senior analyst review required per EU AI Act Article 14. AI assessment: {}. Approve token: {}', $.applicationId, $.aiAssessment.riskScore, $.aiAssessment.summary, $$.Task.Token)"
},
"TimeoutSeconds": 172800,
"ResultPath": "$.humanDecision",
"Next": "RecordOversightEvidence"
},
"RequireStandardReview": {
"Type": "Task",
"Resource": "arn:aws:states:::sns:publish.waitForTaskToken",
"Parameters": {
"TopicArn": "arn:aws:sns:eu-west-1:123456789:credit-review",
"Subject": "Credit Application Review Required",
"Message.$": "States.Format('Application {} scored {} by AI. Analyst review required per EU AI Act Article 14. Approve token: {}', $.applicationId, $.aiAssessment.riskScore, $$.Task.Token)"
},
"TimeoutSeconds": 172800,
"ResultPath": "$.humanDecision",
"Next": "RecordOversightEvidence"
},
"RecordOversightEvidence": {
"Type": "Task",
"Resource": "arn:aws:lambda:eu-west-1:123456789:function:record-article-14-evidence",
"Parameters": {
"applicationId.$": "$.applicationId",
"aiScore.$": "$.aiAssessment.riskScore",
"humanDecision.$": "$.humanDecision",
"article": "14",
"evidenceBucket": "ml-governance-evidence",
"evidencePrefix": "eu-ai-act/article-14/oversight-records"
},
"End": true
}
}
}
Every credit decision flows through this workflow. The AI generates an assessment, a human reviews it, and the entire interaction is recorded as Article 14 evidence. High-risk scores route to senior analysts. No decision is made without human oversight, and the evidence proves it.
Article 15: Accuracy, Robustness, and Cybersecurity
Article 15 requires high-risk AI systems to achieve an appropriate level of accuracy, robustness, and cybersecurity throughout their lifecycle. The system must be resilient against errors, faults, and attempts at manipulation by unauthorized third parties.
On AWS, Bedrock Guardrails address the robustness requirement for LLM applications, while WAF protects AI-serving endpoints from adversarial inputs.
Accuracy -- Model Monitor tracks prediction accuracy against ground truth. Establish accuracy thresholds in your Model Card and alert when they are breached.
Robustness -- Bedrock Guardrails filter adversarial inputs (prompt injection, jailbreaks). Model Monitor detects data distribution shifts that could degrade robustness.
Cybersecurity -- WAF protects SageMaker and Bedrock endpoints. IAM enforces least-privilege access. KMS encrypts model artifacts and training data. CloudTrail logs all access.
EU AI Act Compliance Mapping Table
| EU AI Act Article | Requirement | AWS Service | Evidence Type |
|---|---|---|---|
| Article 9 | Risk management system | SageMaker Model Cards, Experiments | Risk documentation, experiment logs |
| Article 10 | Data and data governance | Glue Data Catalog, Glue Data Quality, Lake Formation | Data quality reports, catalog metadata |
| Article 11 | Technical documentation | Model Cards, Model Registry, Lineage Tracking | Model documentation exports, lineage graphs |
| Article 12 | Record-keeping | CloudTrail, CloudWatch Logs | API logs, invocation records |
| Article 13 | Transparency | Bedrock invocation logging, Model Cards | Invocation logs, transparency documents |
| Article 14 | Human oversight | Step Functions, SNS approval workflows | Workflow execution records, approval logs |
| Article 15 (accuracy) | Appropriate accuracy levels | Model Monitor, Clarify | Accuracy reports, bias analysis |
| Article 15 (robustness) | Resilience against errors | Bedrock Guardrails, Model Monitor | Guardrail block logs, drift reports |
| Article 15 (cybersecurity) | Protection against manipulation | WAF, IAM, KMS, Security Hub | WAF logs, IAM policies, encryption config |
The August 2, 2026 Deadline
High-risk AI system requirements take effect on August 2, 2026. Here is a compliance checklist for the remaining months:
Immediate (July 2026):
- Inventory all AI systems that serve EU citizens or operate in the EU
- Classify each system by EU AI Act risk category
- Identify all high-risk systems requiring Articles 9-15 compliance
Next 30 days:
- Create Model Cards for all high-risk AI systems with Article 9 risk documentation
- Implement Glue Data Quality rules for Article 10 compliance
- Enable Bedrock invocation logging for Article 13 transparency
- Deploy Step Functions approval workflows for Article 14 human oversight
Before August 2, 2026:
- Complete technical documentation per Article 11 / Annex IV
- Run Clarify bias analysis and document results
- Configure WAF and Guardrails for Article 15 robustness
- Conduct internal review of all compliance evidence
- Prepare for conformity assessment (if applicable)
Using Claw GRC for EU AI Act Compliance
Claw GRC tracks your EU AI Act readiness across all applicable articles:
AI system inventory:
- Automatic classification of AI systems by risk category
- Annex III mapping for high-risk system identification
- Timeline tracking with alerts for compliance deadlines
Article-by-article evidence collection:
- Risk management documentation from SageMaker Model Cards (Article 9)
- Data quality reports from Glue Data Quality (Article 10)
- Technical documentation exports from Model Registry (Article 11)
- Invocation logs from CloudTrail and Bedrock logging (Articles 12, 13)
- Human oversight records from Step Functions (Article 14)
- Accuracy and robustness metrics from Model Monitor and Guardrails (Article 15)
Readiness dashboard:
- Real-time compliance score per article
- Gap analysis showing missing evidence
- Cross-framework mapping to ISO 42001 and SOC 2
For the complete picture of AWS AI governance, see the Complete Guide to AWS AI/ML Governance. For specific guidance on AI security controls, see OWASP LLM Top 10 Compliance and AI Risk Register.