Code Monkey home page Code Monkey logo

shreyjain203 / machine-learning-model-to-production-website-using-gke Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 8 KB

An end-to-end ML model deployment pipeline on GCP: train in Cloud Shell, containerize with Docker, push to Artifact Registry, deploy on GKE, and build a basic frontend to interact through exposed endpoints. This showcases the benefits of containerized deployments, centralized image management, and automated orchestration using GCP tools.

Home Page: https://medium.com/@shreyjain203/deploying-a-machine-learning-model-to-production-website-using-containers-gke-a-step-by-step-d2f17cc30643

Dockerfile 13.67% Python 45.39% HTML 40.94%
artifact-registry docker-container docker-image google-cloud-platform google-kubernetes-engine kubernetes-deployment machine-learning-deployment ml-deployment

machine-learning-model-to-production-website-using-gke's Introduction

End-to-End ML Model Deployment on Google Cloud Platform (GCP)

This project demonstrates a complete workflow for deploying a machine learning model on Google Cloud Platform. It covers the following steps:

  1. Model Development: Train and build your machine learning model using any framework (e.g., TensorFlow, PyTorch), I used Google Cloud Shell, a free browser-based command-line environment on GCP.
  2. Dockerization: Create a Dockerfile and containerize your model, including its dependencies and environment. This ensures consistent and portable deployment across different environments.
  3. Artifact Registry(AR): Push the built Docker image to Google Artifact Registry, a secure and managed repository for storing container images(Docker Images).
  4. Kubernetes Engine (GKE) Deployment: Deploy the containerized model as a service on Google Kubernetes Engine, a managed container orchestration platform. This allows for scalable and automated deployments.
  5. Frontend Integration: Create a basic frontend application (e.g., using Flask or Streamlit) to interact with the exposed endpoint of your deployed model.
This project provides a starting point for learning how to deploy machine learning models on GCP using industry-standard tools and practices. It showcases the benefits of:

  • Containerization: Enables consistent and portable deployments.
  • Artifact Registry: Provides a secure and centralized location for storing container images.
  • Kubernetes Engine: Offers an automated, scalable, and flexible platform for container orchestration.

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.