AI Cloud Architect

Build a custom portal with embedded Amazon SageMaker AI MLflow Apps

AWSHow-to by Manish Garg, Ashish Bhatt and Ram YennapusaAWS Artificial Intelligence Blog

In this post, you learn how to build a custom portal with embedded SageMaker AI MLflow Apps UI. You walk through the architecture pattern behind a React front end paired with a Flask reverse proxy that handles AWS Signature Version 4 (SigV4) authentication, deploy the entire stack through the AWS Cloud Development Kit (AWS CDK), validate the deployment, and review security considerations and cleanup procedures.

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

AI: Summary

What it is

A how-to for a React portal that embeds the SageMaker AI MLflow Apps UI in an iframe, served through a Flask proxy that adds SigV4 signing, deployed with AWS CDK.

Who it is for

ML platform teams that want data scientists to reach MLflow experiment tracking through an SSO-protected internal portal with one bookmarkable URL.

Key points

  • The Flask proxy assumes an IAM role, signs requests with SigV4 and rewrites MLflow URLs and strips X-Frame-Options so the UI renders in an iframe.
  • The sample uses ALB over HTTP; the post recommends adding HTTPS with ACM for production.
  • Key cost drivers are EC2, the ALB, SageMaker AI resources and S3 storage; the artifacts bucket is retained and must be deleted manually.

Timeline

Posts about Amazon SageMaker AI MLflow Apps, oldest first.

  1. What it explainsAccelerate AI development using Amazon SageMaker AI with serverless MLflow · AWS · Announcement
  2. How-toEnd-to-end lineage with DVC and Amazon SageMaker AI MLflow apps · AWS · How-to
  3. Update to an existing featureStreamlining generative AI development with MLflow v3.10 on Amazon SageMaker AI · AWS · Announcement
  4. This postBuild a custom portal with embedded Amazon SageMaker AI MLflow Apps
  5. Update to an existing featureSageMaker MLflow Apps now support MLflow 3.16 · AWS · Announcement

Go deeper