Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

NEW REFERENCE ARCHITECTURE: Real-time scoring of Python Scikit-Learn and Deep Learning Models on Azure

Written by Mathew Salvaris, Fidan Boylu Uz, and Daniel Greece. Edited by Nanette Ray. Reviewed by Mike Wasson.

  • Real-time scoring of Python Scikit-Learn and Deep Learning Models on Azure

Reference architectures provide a consistent approach and best practices for a given solution. Each Architecture includes recommended practices, along with considerations for scalability, availability, manageability, and security. This architecture includes a deployable solution as well. The full array of reference architectures is available on the Azure Architecture Center.

This reference architecture shows how to deploy Python models as web services to make real-time predictions. Two scenarios are covered: deploying Regular Python Models, and the specific requirements of deploying Deep Learning Models. Both scenarios use the architecture shown.

This architecture consists of the following components:

  • Virtual machine (VM) is shown as an example of a device—local or in the cloud—that can send an HTTP request.
  • Azure Kubernetes Service (AKS) is used to deploy the application on a Kubernetes cluster. AKS simplifies the deployment and operations of Kubernetes. The cluster can be configured using CPU-only VMs for regular Python models or GPU-enabled VMs for deep learning models.
  • Load balancer, provisioned by AKS, is used to expose the service externally. Traffic from the load balancer is directed to the back-end pods.
  • Docker Hub is used to store the Docker image that is deployed on Kubernetes cluster. Docker Hub was chosen for this architecture because it's easy to use and is the default image repository for Docker users. Azure Container Registry can also be used for this architecture.

This article covers the following topics:

  1. Performance considerations
  2. Scalability considerations
  3. Monitoring and logging considerations
    1. AKS monitoring
    2. AKS logs
  4. Security considerations
    1. Operations
    2. HTTPS
    3. Authentication
    4. Container registry
    5. DDoS protection
    6. Logging
  5. Deployment

Head to the article page to learn more and to deploy the solution.

AzureCAT Guidance

"Hands-on solutions, with our heads in the Cloud!"

Share the post

NEW REFERENCE ARCHITECTURE: Real-time scoring of Python Scikit-Learn and Deep Learning Models on Azure

×

Subscribe to Msdn Blogs | Get The Latest Information, Insights, Announcements, And News From Microsoft Experts And Developers In The Msdn Blogs.

Get updates delivered right to your inbox!

Thank you for your subscription

×