Home icon

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

Machine Learning Blog



This article explains how to build a secure Flask-based REST API proxy for accessing Amazon SageMaker MLflow without requiring the MLflow SDK, enabling HTTPS integration with enterprise systems.

  • Flask proxy service intercepts HTTPS requests and transforms them into authenticated AWS API calls
  • Application Load Balancer routes traffic to the proxy service for MLflow UI and REST API requests
  • Supports both MLflow Tracking Server and serverless MLflow App deployment modes
  • IAM authentication and URL pre-signing ensure secure access to SageMaker MLflow
  • Solution deployed via AWS CDK with four stacks: networking, SageMaker domain, MLflow, and Flask app
  • Includes validation steps using curl commands to test MLflow REST API endpoints
  • Production security recommendations: CloudWatch monitoring, rate limiting, internal ALB, HTTPS termination

This solution enables organizations to integrate SageMaker MLflow with existing enterprise infrastructure while maintaining security compliance and reducing implementation complexity.



Go to article

The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.

Related articles

May 28
2026
Build a custom portal with embedded Amazon SageMaker AI MLflow Apps
Jun 19
2024
Amazon SageMaker now offers a fully managed MLflow Capability
Jun 19
2024
Announcing the general availability of fully managed MLflow on Amazon SageMaker
Dec 9
2024
Accelerating ML experimentation with enhanced security: AWS PrivateLink support for Amazon SageMaker with MLflow

The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.