View a markdown version of this page

Solution Structure - Secure AI Foundations

Solution Structure

Secure AI Foundations is a comprehensive solution built using a modular approach. Think of it as a sophisticated building kit for creating secure and scalable data infrastructure on AWS. Just as a building needs a foundation, walls, and utilities, Secure AI Foundations provides all the necessary components to build your data/AI platform.

The Module Concept

Think of modules as specialized building blocks. For example:

  • If you want to deploy raw and transformation buckets for your data lake, there’s a datalake module that creates encrypted S3 buckets with proper access controls, sets up fine-grained lifecycle policies for cost optimization and configures bucket policies and cross-account access if needed

  • If you need to query data using Amazon Athena, there’s a module that sets up Athena workgroups with resource controls, configures query result locations, connects with your datalake and establishes necessary IAM permissions for query execution

  • If you want to add AWS Lake Formation settings to your tables, there’s a module that configures Lake Formation permissions and security settings, sets up database and table-level access controls, etc.

For the complete list of available modules and starter kits, along with their configuration options, see the Secure AI Foundations documentation.

How Modules Work Together

Consider this practical scenario: You want to build a secure data lake for financial data.

  • Start with the roles module to create necessary IAM roles and policies

  • Add the datalake module to create encrypted storage

  • Add the Glue module to catalog your data

  • Implement Lake Formation module for compliance

  • Configure Athena module for analysts to query

  • Add audit modules for security

Secure AI Foundations Starter Packages

Overview

Secure AI Foundations provides a comprehensive set of pre-configured starter packages, each designed to accelerate your journey in building enterprise-grade secure and compliant data platforms on AWS. These packages eliminate the complexity of starting from scratch by providing production-ready configurations, security controls, and infrastructure templates.

Available Starter Packages

1. Minimal

Purpose Foundational governance layer for building custom architectures

Key Features

  • IAM role generation with CDK Nag compliance

  • Glue Catalog KMS encryption at the account level

  • Lake Formation settings delegating access control to IAM at the account level

  • Resource tagging for cost allocation and operational governance

Ideal For

  • Starting a new Secure AI Foundations project from scratch and adding modules incrementally

  • Establishing governance foundations before committing to a specific architecture

  • Learning Secure AI Foundations with the simplest possible deployment

2. Basic Data Lake

Purpose Secure S3 data lake with coarse-grained access control

Key Features

  • KMS-encrypted S3 buckets with enforced SSL-only access and public access blocking

  • IAM-based access control with dedicated admin and user roles

  • Glue Data Catalog with encrypted metadata store

  • Athena workgroup for isolated SQL queries

  • Glue crawlers for automated schema discovery and Glue Data Quality rules

  • CloudTrail audit trail with a dedicated audit bucket

  • Lake Formation settings delegating access control to IAM

Ideal For

  • Centralizing data storage with appropriate security controls

  • Governance and compliance requirements without fine-grained column/row security

  • Self-service data access via Athena for authorized users

3. AI/ML Platform

Purpose Team-based data science platform on SageMaker Studio

Key Features

  • All Basic Data Lake features, plus:

  • SageMaker Studio Domain with team-specific user profiles

  • Fine-grained access control via Lake Formation

  • Team-specific Athena workgroups for SQL-based exploration

  • IAM roles with separation of duties (data-admin, data-user, data-scientist, team-execution)

Best For

  • Self-service ML experimentation and model development

  • Team-isolated notebook environments with shared data lake access

  • Collaborative data science with role-based access

4. Lakehouse Analytics

Purpose End-to-end analytics lakehouse spanning ingestion through BI

Key Features

  • S3 data lake (raw + transformed), KMS-encrypted with coarse-grained access

  • KMS-encrypted Glue Data Catalog, Lake Formation settings, DataOps project with sample database and crawler

  • Glue ETL job with sample PySpark script and Glue Data Quality ruleset + workflow

  • Athena workgroup over the data lake

  • Redshift cluster with multi-AZ high availability and cross-region snapshot copy

  • QuickSight account, VPC connection, and data sources for Athena and Redshift

  • IAM roles (data-admin, data-user, glue-etl), S3 audit bucket, and CloudTrail audit trail

Best For

  • Teams needing ingestion, processing, quality validation, warehousing, and BI in one deploy

  • Consuming analytics via Athena, Redshift, and QuickSight

  • A validated end-to-end reference across all data foundations capabilities

5. DataZone Governed Lakehouse

Purpose Enterprise lakehouse with fine-grained governance via DataZone

Key Features

  • All Basic Data Lake features, plus:

  • DataZone domain for data product management, discovery, and subscription

  • Fine-grained access control via Lake Formation (database and table level)

  • Three-zone S3 data lake (raw, transformed, curated), KMS-encrypted

  • Glue Data Catalog with encrypted metadata and automated schema discovery

  • IAM roles with separation of duties (data-admin, data-engineer, data-users, glue-etl)

  • Multiple DataOps projects for producer and consumer teams

Best For

  • Enterprises requiring fine-grained access control on structured data

  • Multi-team environments with data producers and consumers

  • Organizations building data product marketplaces

6. SMUS Research Environment

Purpose SageMaker Unified Studio (SMUS) for multi-team research in a single account

Key Features

  • SMUS domain (DataZone V2) with IAM Identity Center SSO integration

  • Project profiles for standardized team environments

  • Team-based access control via IAM Identity Center groups

  • Lake Formation governance for fine-grained data access

  • Glue Catalog encryption and IAM roles for domain/data administration

  • S3 research data bucket onboarded as a SMUS data source for a team project

Best For

  • Multi-team research environments with shared governance in a single account

  • Self-service ML platform access via the SMUS portal

  • Rapid onboarding of research teams with standardized project profiles

7. SMUS Data Mesh

Purpose Multi-account SageMaker Unified Studio data mesh

Key Features

  • Single SMUS domain associated to multiple accounts for centralized governance

  • Cross-account data sharing via Lake Formation and DataZone

  • Custom blueprints deployed across all accounts via project profiles

  • Three-zone data lake (raw/transformed/curated) in the enterprise account

  • DataOps projects with Glue catalogs, crawlers, and SMUS data sources

  • Domain units for organizational hierarchy

  • IAM Identity Center (SSO) integration for user and group management

  • VPC-based networking with private subnets per account

Best For

  • Medium-to-large organizations implementing a multi-account data mesh

  • Cross-account data sharing between business units under central governance

  • Team autonomy with each business unit managing its own pipelines

8. MLOps Platform

Purpose End-to-end ML lifecycle: training, deployment, and monitoring

Key Features

  • Unified training and deployment CI/CD pipelines via @aws-mdaa/sagemaker-mlops

  • SageMaker Pipeline (preprocess → train → register) with automatic execution

  • SageMaker Endpoint with model quality monitoring schedule

  • Model Package Group for versioned model registry

  • EventBridge-triggered deployment on model approval

  • KMS-encrypted S3 bucket for model artifacts

  • CodeCommit repositories seeded with ML scripts and Secure AI Foundations configs

  • Optional cross-account deployment (dev → pre-prod → prod)

Best For

  • Automated ML model training pipelines with versioned model registry

  • Multi-stage deployment with manual approval gates

  • Real-time inference endpoints with model quality monitoring

  • Network-isolated training and inference for compliance

9. GenAI Foundation

Purpose AgentCore-based Customer Support Agent with RAG, gateway tools, and guardrails

Key Features

  • AgentCore Harness agent with a managed agent loop, running in your VPC subnets

  • AgentCore Gateway with AWS IAM auth, serving Lambda-backed customer support tools and knowledge base search

  • Knowledge Bases with vector stores for efficient retrieval, exposed to the agent as a gateway tool

  • Guardrails for content safety and appropriate responses

  • Multi-sync architecture for concurrent file uploads

  • KMS-encrypted S3 buckets for knowledge base data sources, and KMS-encrypted agent and gateway logs

  • IAM roles with least-privilege Bedrock and AgentCore permissions

Best For

  • Customer support agents with natural language interaction

  • Knowledge base search and retrieval over internal documents

  • Document processing with Retrieval Augmented Generation (RAG)

10. GAIA Chatbot

Purpose Production-ready GenAI chatbot backend with authentication and streaming

Key Features

  • Cognito User Pool with email/password or enterprise SSO authentication

  • Bedrock Knowledge Base with OpenSearch Serverless vector store

  • Bedrock Guardrails for content filtering and PII protection

  • KMS-encrypted S3 data lake for document storage

  • REST API (API Gateway) for session management, feedback, and admin operations

  • WebSocket API (AppSync Events) for real-time chat streaming

  • VPC-deployed Lambda functions for serverless compute

  • CloudFront CDN serving aws-exports.json configuration

  • Optional WAF web application firewall

Best For

  • RAG-powered chatbot with enterprise authentication

  • Document Q&A over internal knowledge bases (PDF, TXT, MD, HTML, DOCX)

  • Real-time streaming chat with content-filtered AI responses

Package Benefits

Time to Market

  • Reduce implementation time by 60-70%

  • Avoid common architectural pitfalls

  • Start with proven configurations

Cost Optimization

  • Pre-configured resource optimization

  • Built-in cost control measures

  • Efficient resource utilization patterns

Security & Compliance

  • Security controls aligned with AWS best practices

  • Built-in compliance frameworks

  • Automated security monitoring

Scalability

  • Designed for growth

  • Flexible architecture

  • Easy module addition/removal

Best Practices

Security

  • Enable all recommended security features

  • Implement proper encryption

  • Regular security assessments

  • Continuous monitoring

Operations

  • Follow GitOps practices

  • Implement proper tagging

  • Regular backup testing

  • Disaster recovery planning

Cost Management

  • Enable cost allocation tags

  • Set up budget alerts

  • Regular cost reviews

  • Resource optimization

Support and Maintenance

Regular Updates

  • Security patches

  • Feature updates

  • Performance improvements

  • Best practice updates

Note

All packages are regularly updated to incorporate the latest AWS features and security best practices.