AI Cloud Architect

Implement a secure MLOps platform based on Terraform and GitHub

AWSHow-to by Jordan Grubb and Irene Arroyo DelgadoAWS 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 [...]

Read the original (opens the source's page in a new tab)

AI: Summary

What it is

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.