AI Cloud Architect

Streamline external access to Amazon SageMaker MLflow using a REST API proxy

AWSHow-to by Manish Garg, Ashish Bhatt and Ram YennapusaAWS 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.

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

AI: Summary

What it is

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.

Timeline

Posts about Amazon SageMaker MLflow, oldest first.

  1. This postStreamline external access to Amazon SageMaker MLflow using a REST API proxy
  2. Generally availableSageMaker MLflow now supports customer managed keys · AWS · Announcement