cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

How to deploy mlflow models to sagemaker endpoints where sagemaker refers the private docker registry?

Maverick1
Valued Contributor II

Is it possible to deploy the mlflow model to a sagemaker endpoint where the image URL is not referring to an image in ECR but the image is actually present in a private docker registry?

5 REPLIES 5

Kaniz
Community Manager
Community Manager

Hi @Saurabh Vermaโ€‹ , Can you pull the image from the private docker registry using kubernetes?

Maverick1
Valued Contributor II

@Kaniz Fatmaโ€‹ : Yes. Even when I am deploying the model using sagemaker studio, I am able to pull the image from private docker registry because the VPC settings for image and containers is allowed via Sagemaker API. But I can't see the same options available for mlflow-sagemaker API. The only option is VPC settings for the region where model need to be deployed, but in the end it needs the access to ECR repo of the same region.

Atanu
Esteemed Contributor
Esteemed Contributor

@Saurabh Vermaโ€‹ , this to create the endpoint.

also, check this out - https://github.com/mlflow/mlflow/blob/0fa849ad75e5733bf76cc14a4455657c5c32f107/mlflow/sagemaker/__in...

Kaniz
Community Manager
Community Manager

Hi @Saurabh Vermaโ€‹ , Did @Atanu Sarkarโ€‹ 's response help answer your question?

Maverick1
Valued Contributor II

@Kaniz Fatmaโ€‹ : Unfortunately No. The above implementation always assumes that image is hosted in ECR repository.