Code Monkey home page Code Monkey logo

mlflow-for-gcp's Introduction

Ml Flow setup on cloud

This repository contains code that will let you build Ml Flow on either GCP or AWS using terraform. Infrastructure as code will let you spin up the application in fairy short amount of time.

Main elements used : CloudRun, CloudSQL and bucket.

Main elements used : ECS, RDS and S3

mlflow-for-gcp's People

Contributors

kurazu avatar mkarpicz avatar mz-dlabs avatar sahaavi avatar stefanvk avatar tszumowski avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

mlflow-for-gcp's Issues

Image build results in Cloud Build execution error: Container failed to start. ...

I'm running on MacOS and ran into the following error after running the make commands and deploying a Cloud Build Service. The error occurs when the service attempts to spin up. The error is:

Container failed to start. Failed to start and then listen on the port defined by the PORT environment variable.

This is covered in the Google Cloud docs Container failed to start.

In order for Cloud Run to work, it needs the container image compiled for 64-bit Linux:

Note: If you build your container image on a ARM based machine, then it might not work as expected when used with Cloud Run. To solve this issue, build your image using Cloud Build.

It suggests using Cloud Build. I tried that with:

IMAGE_NAME=mlflow-gcp
VERSION=0.20
GCP_PROJECT=urbn-data-science
IMAGE_URL="gcr.io/${GCP_PROJECT}/${IMAGE_NAME}:${VERSION}"
gcloud builds submit --tag $IMAGE_URL

When I deploy with an image built from Cloud Build, it works!

I'll provide a PR for you to consider for merging in with these notes.

Error for not a valid repository tag

Very interesting work, I followed it quite a bit

Successfully tagged mlflow-gcp:latest
docker tag "mlflow-gcp" "gcr.io//mlflow-gcp:0.20"
Error parsing reference: "gcr.io//mlflow-gcp:0.20" is not a valid repository/tag: invalid reference format
make: *** [Makefile:10: tag] Error 1

Problem reading the secrets?

Hello there,
Thanks for the good tutorial.
I have followed every instruction but I can’t access the service: the user/password that I try to enter to the nginx auth are not valid. I suspect that there are some problems reading secrets, although I created a service account as described. There are no suspicious logs and I am stuck. I’ve tried to recreate the cloud run few times, same result.
Any clues on how to debug? :)

something went wrong

I have followed all the tutorial, was able to log on the mlflow server but then i get this message "something went wrong" on the uI interface.
Do you know why ?
In logs i have an error of engine, the password is seen as the port. I have followed the same path as you provide for engine but it does not seem to work.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.