Streamline external access to Amazon SageMaker MLflow using a REST API proxy
AWS•How-to••by Manish Garg, Ashish Bhatt and Ram Yennapusa•AWS Artificial Intelligence Blog
In this post, we demonstrate how to build a secure Flask-based MLflow proxy service that provides HTTPS access to Amazon SageMaker MLflow without requiring the MLflow SDK. This solution is for organizations undergoing cloud transformation who want to preserve their existing ML workflows while adopting cloud-native services.
A sample Flask proxy on AWS (behind an ALB) gives HTTPS access to SageMaker MLflow tracking servers and serverless MLflow apps, so clients need no MLflow SDK.
Who it is for
Teams whose corporate security or network rules block the MLflow SDK and who need to call SageMaker MLflow REST APIs over HTTPS.
Key points
Deployed with AWS CDK in about 40 minutes; the sample code is in an aws-samples GitHub repository.
Supports both tracking server and serverless MLflowApp modes.
The sample uses plain HTTP for testing; the post recommends HTTPS at the ALB with ACM certificates for production.
Costs come from EC2, the Application Load Balancer, SageMaker AI and S3.
AI: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.
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.