MLOps Platform Starter Package
The MLOps Platform Starter Package deploys an end-to-end ML lifecycle platform covering training, deployment, and monitoring — governed through Secure AI Foundations with CDK Nag compliance (AWS Solutions, NIST 800-53, HIPAA, PCI-DSS).
MLOps Platform starter kit architecture
This architecture is particularly effective when:
-
You need automated ML model training pipelines with a versioned model registry.
-
You need multi-stage model deployment (dev → pre-prod → prod) with manual approval gates.
-
You require real-time inference endpoints with model quality monitoring.
-
You need CI/CD for ML with CodePipeline and CodeBuild.
-
You need cross-account model deployment for environment isolation.
MLOps Components
-
SageMaker MLOps - 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 - Versioned model registry
-
EventBridge - Triggers deployment pipeline on model approval
-
KMS-Encrypted S3 Bucket - For model artifacts
-
CodeCommit Repositories - Seeded with ML scripts and Secure AI Foundations configs
Deployment Instructions
Manual CLI Deploy Method
Prerequisites
Before deploying the MLOps Platform Starter Package using the CLI method, verify you have:
-
AWS CLI configured with appropriate credentials
-
Node.js 22.x or later and npm/npx 10.x or later installed
-
AWS CDK bootstrapped in your target account and region. For cross-account deployment, also bootstrap the target accounts with cross-account trust.
-
A VPC with at least 2 private subnets and security groups. Subnets must have connectivity to AWS service endpoints via a NAT Gateway or VPC endpoints for
s3,sagemaker.api,sagemaker.runtime,sts, andlogs. -
Sample training data (for example, the Abalone dataset) placed in the starter kit’s
data/directory.
Deployment Steps
Step 1: Scaffold your project
npx @aws-mdaa/cli init my_mlops --starter-kit mlops_platform cd my_mlops
Step 2: Configure your deployment
-
Edit
mdaa.yaml:
organization: <your-unique-org-name> context: sagemaker_project_name: <ml-project-identifier> vpc_id: <your vpc id> subnet_ids: [<subnet-1>, <subnet-2>] security_group_ids: [<sg-1>]
-
Optionally configure
preProdEnvironmentandprodEnvironmentinmlops/mlops.yamlfor cross-account deployment.
Step 3: Deploy the solution
npx @aws-mdaa/cli ls npx @aws-mdaa/cli synth npx @aws-mdaa/cli deploy
Step 4: Verify deployment
-
Verify the training and deployment CodePipeline pipelines, the SageMaker Pipeline, and the Model Package Group are created in the SageMaker console.
Usage Instructions
-
Run the training pipeline — CodePipeline triggers the seeded SageMaker training pipeline on first deploy. Subsequent runs can be triggered manually or by pushing changes to the seeded CodeCommit repositories.
-
Approve the trained model — Register the model in the Model Package Group with
ModelApprovalStatus: Approvedto trigger the deployment pipeline via EventBridge. -
Invoke the endpoint — Once deployed, the SageMaker Endpoint is monitored on a scheduled cadence for model quality drift.
-
Cross-account promotion — If configured, the deployment pipeline promotes the approved model through dev → pre-prod → prod with manual approval gates.
For more detailed information, refer to the README.md and USAGE.md files in the starter_kits/mlops_platform directory of the MDAA repository.