Giter Site home page Giter Site logo

ml-deployment-strategies's Introduction

How to Roll Out Machine Learning Services using Amazon SageMaker

by Luigi Patruno, Founder of MLinProduction.com

TODO Recorded AWS Webinar

Outline

  1. Deployment Strategies for Machine Learning Services
    1. Single Deployment
    2. Silent Intelligence
    3. Controlled Rollout
    4. Flighting
  2. Setup
    1. Upload necessary datasets to S3 bucket.
    2. Train multiple predictive models.
    3. Deply models as persistent API endpoints.
    4. View Endpoint and EndpointConfig details.
  3. Blue Green Deployment
    1. Create an Endpoint with a single Production Variant.
    2. Create a new endpoint configuration, using the same production variants for the existing live model and for the new model.
    3. Update the existing live endpoint with the new endpoint configuration. Amazon SageMaker creates the required infrastructure for the new production variant and updates the weights without any downtime.
    4. Switch traffic to the new model through an API call.
    5. Create a new endpoint configuration with only the new production variant and apply it to the endpoint.
  4. Canary Deployment
    1. Create an Endpoint with a single Production Variant.
    2. Update the existing live endpoint with the new endpoint configuration. Amazon SageMaker creates the required infrastructure for the new production variant and updates the weights without any downtime.
    3. Gradually move traffic from one variant to the other.
    4. Create a new endpoint configuration with only the new production variant and apply it to the endpoint.
  5. References

If you want to learn how to use Amazon SageMaker for your production ML workloads, enroll in my new course!

course banner

ml-deployment-strategies's People

Contributors

lpatruno avatar

Stargazers

Mahdi M avatar  avatar Maurizio Casciano avatar Cpop avatar  avatar Swee Loke avatar

Watchers

James Cloos avatar  avatar

Forkers

farshadsm fzhurd

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.