Implement a secure MLOps platform based on Terraform and GitHub
AWS•How-to••by Jordan Grubb and Irene Arroyo Delgado•AWS Artificial Intelligence Blog
Machine learning operations (MLOps) is the combination of people, processes, and technology to productionize ML use cases efficiently. To achieve this, enterprise customers must develop MLOps platforms to support reproducibility, robustness, and end-to-end observability of the ML use case’s lifecycle. Those platforms are based on a multi-account setup by adopting strict security constraints, development best [...]
A reference implementation deploys a multi-account SageMaker MLOps platform with Terraform, GitHub and GitHub Actions, including four custom SageMaker Projects templates for training and deployment.
Who it is for
Platform teams on AWS that need a multi-account, CI/CD-driven MLOps setup for SageMaker and want an IaC starting point.
Key points
Recommends three AWS accounts (experimentation, preproduction, production); one account is possible for testing.
Bootstrap uses a CloudFormation template or a Bash script to create a Terraform state S3 bucket, DynamoDB lock table, and GitHub OIDC role.
Environments are defined in a config.json file, with GitHub Actions deploying them in parallel.
AI:HyperPod Slurm clusters now get managed extensions for observability and user management, so you no longer edit lifecycle scripts or replace nodes to change them.
AI:HyperPod Slurm clusters can now install and manage observability and user management software through APIs or the console, applied to every node including new and replaced ones.
AI:SageMaker AI Spaces add-on runs managed JupyterLab and Code Editor on an existing EKS cluster, with browser and VS Code access and optional OIDC sign-in via Amazon Cognito.