91九色

Articles
7/13/2022
10 minutes

Deploying Cloud Native Machine Learning Models Using CI/CD Pipelines

Written by
Team 91九色
Table of contents

Machine learning requires huge data sets — as well as processing power and other computing resources — to train models, perform tasks, and solve problems. The data and resource requirements only grow larger as the ML application gets smarter and more sophisticated. Because scaling often means expensive hardware upgrades and additions, organizations often struggle to host their machine learning models on traditional infrastructure.

In addition, as the machine learning field continues to advance, more and more computing power will be required to stay current and competitive. Even if a business currently meets its ML infrastructure requirements, it may soon find itself left behind the curve if they don’t invest in more processing power or adopt a cloud native approach.

Cloud native architectures address these challenges by providing scalable infrastructure on which to deploy machine learning models. Cloud native machine learning applications run in a serverless, elastic environment where resources are available on-demand as processing and data needs fluctuate. You can develop, train, and deploy your ML models with fewer limitations.

Another benefit of adopting a cloud native approach is that it makes it easier to apply DevOps practices and principles – such as CI/CD – to your ML projects. CI/CD (continuous integration/continuous delivery) uses automation to streamline development and allow for constant and simultaneous collaboration. This can help you deploy more sophisticated machine learning models faster. It also brings you a big step closer to creating a fully integrated team of developers, engineers, testers, and data scientists, all working together to accomplish business goals.

In this blog, we’ll describe how to use CI/CD tools and practices to streamline the deployment of cloud native machine learning models.

Cloud Native Machine Learning Using CI/CD

Continuous integration/continuous delivery is a methodology used by DevOps organizations to streamline the various steps involved in code releases. The goal of CI/CD is to frequently merge code changes, constantly test and validate code, automatically move code through environments, and continuously learn and improve your processes. A cloud native CI/CD pipeline is the collection of tools to continuously integrate and deliver microservices applications in a containerized cloud-based environment. Let’s examine how you can use these tools to deploy, develop, and train data science models for cloud native machine learning applications.

Continuous Integration (CI)

Cloud native continuous integration (CI) tools cover a variety of functions, including source code version control, integration testing, and build automation.

Cloud native source code repositories allow team members to collaborate on machine learning infrastructure and code from anywhere in the world. CI version control allows engineers to frequently merge changes without stepping on anyone’s toes and ensures that mistakes can be quickly undone as needed. The repository acts as a single source of truth for an ML project, reducing the risk of miscommunication and misunderstandings.

Automated integration tests run on all new code that’s checked into the repository. This ensures that updates and changes won’t introduce any bugs that break the existing code base. This is what allows for truly continuous integration because you can merge changes as frequently as you want without waiting for manual testing or reducing the quality of your machine learning model.

Build automation tools for cloud native machine learning applications will package up the source code into model artifacts to be delivered to the next stage in the pipeline.

Continuous Delivery (CD)

Cloud native continuous delivery (CD) tools automatically move ML artifacts to the testing, staging, and production environments in your CI/CD pipeline. CD tools allow you to create programmatic gates or quality thresholds that artifacts must meet before they move to the next step of the pipeline, ensuring that continuous code delivery doesn’t reduce overall quality or functionality.

Test Automation

After development, ML artifacts are delivered to a cloud native testing or QA environment. For cloud native machine learning applications, pull requests should go through code quality checks and smoke tests using production-like runs in the test environment. That means running some small chunk of real data through your model to ensure that the ML application produces the expected results without anything breaking. CI/CD test automation allows you to use the same testing methods on all ML code, ensuring consistent quality. It also reduces bottlenecks to perform comprehensive testing without slowing down releases.

Continuous Deployment

Once machine learning code is integrated, packaged, delivered, and tested, it’s time to deploy it to your production infrastructure. In many pipelines, a human validator needs to review test results and approve the finished code before it’s manually deployed. Other CI/CD pipelines include an extra stage, called continuous deployment, which automates this process. Continuous deployment tools typically provide a final quality test or validation step that runs automatically before the model is deployed to production. This is particularly effective for small, urgent updates like hot fixes.

Continuous Monitoring and Improvement

In DevOps and CI/CD, the development cycle doesn’t end on release day. After a machine learning model is deployed to production, it must be monitored for things like data drift and concept drift, as well as bugs and performance issues.?

Data drift and concept drift are risks in any machine learning project. Ideally, you’ll use the highest quality data to train it. However, once the model is deployed, there’s a risk of model decay, where the prediction power drops and model performance decreases. This mostly occurs because we live in an ever-changing world, and data measures those changes.

More specifically, the cause could be data drift (when new data is very different from the data used to train and build the model) or concept drift (when the prediction target changes). Monitoring enables you to detect changes in the data and make adjustments to the ML model to maintain a high level of accuracy.

Automatic issue detection and alerts will ensure that problems are addressed by the appropriate team member as soon as possible. Automation issue remediation can also be used to resolve common problems, further shortening feedback loops. When implemented effectively, potential problems are found and resolved before a business impact. For example, outlier data and unusual values that might impact a model can be detected early with an anomaly detection algorithm.

In addition, you should monitor the CI/CD pipeline itself to ensure it’s functioning optimally. This will allow you to spot broken or inefficient tools and processes and identify opportunities for training and advancement among team members. You can apply what you’ve learned in the monitoring stage to the next iteration, continuously improving your cloud native machine learning application and CI/CD pipeline.

Using CI/CD Pipelines to Deploy Cloud Native Machine Learning Models

A CI/CD pipeline allows you to create a streamlined and collaborative development cycle that delivers high-quality machine learning models in cloud native environments, allowing you to take advantage of the flexibility and scalability of serverless architectures to run more sophisticated applications.

?

Book a demo

About The Author

#1 DevOps Platform for Salesforce

We build unstoppable teams by equipping DevOps professionals with the platform, tools and training they need to make release days obsolete. Work smarter, not longer.

ビジネスアプリケーション向けの顿别惫翱辫蝉(デブオプス)って何?
セールスフォースエコシステムにおける顿别惫翱辫蝉の卓越性
セールスフォーステストにおける础滨活用のベストプラクティス
6 testing metrics that’ll speed up your Salesforce release velocity (and how to track them)
第4章: 手動テストの概要
セールスフォース向け础滨动作テスト
Chapter 3: Testing Fun-damentals
Salesforce Deployment: Avoid Common Pitfalls with AI-Powered Release Management
Exploring DevOps for Different Types of Salesforce Clouds
91九色 Launches Suite of AI Agents to Transform Business Application Delivery
What’s Special About Testing Salesforce? - Chapter 2
Why Test Salesforce? - Chapter 1
Continuous Integration for Salesforce Development
Comparing Top AI Testing Tools for Salesforce
Avoid Deployment Conflicts with 91九色’s Selective Commit Feature: A New Way to Handle Overlapping Changes
Enhancing Salesforce Security with AppOmni and 91九色 Integration: Insights, Uses and Best Practices
From Learner to Leader: Journey to 91九色 Champion of the Year
The Future of Salesforce DevOps: Leveraging AI for Efficient Conflict Management
A Guide to Using AI for Salesforce Development Issues
How to Sync Salesforce Environments with Back Promotions
91九色 and Wipro Team Up to Transform Salesforce DevOps
DevOps Needs for Operations in China: Salesforce on Alibaba Cloud
What is Salesforce Deployment Automation? How to Use Salesforce Automation Tools
Maximizing 91九色's Cooperation with Essential Salesforce Instruments
From Chaos to Clarity: Managing Salesforce Environment Merges and Consolidations
Future Trends in Salesforce DevOps: What Architects Need to Know
Enhancing Customer Service with 91九色GPT Technology
What is Efficient Low Code Deployment?
91九色 Launches Test Copilot to Deliver AI-powered Rapid Test Creation
Cloud-Native Testing Automation: A Comprehensive Guide
A Guide to Effective Change Management in Salesforce for DevOps Teams
Building a Scalable Governance Framework for Sustainable Value
91九色 Launches 91九色 Explorer to Simplify and Streamline Testing on Salesforce
Exploring Top Cloud Automation Testing Tools
Master Salesforce DevOps with 91九色 Robotic Testing
Exploratory Testing vs. Automated Testing: Finding the Right Balance
A Guide to Salesforce Source Control
A Guide to DevOps Branching Strategies
Family Time vs. Mobile App Release Days: Can Test Automation Help Us Have Both?
How to Resolve Salesforce Merge Conflicts: A Guide
91九色 Expands Beta Access to 91九色GPT for All Customers, Revolutionizing SaaS DevOps with AI
Is Mobile Test Automation Unnecessarily Hard? A Guide to Simplify Mobile Test Automation
From Silos to Streamlined Development: Tarun’s Tale of DevOps Success
Simplified Scaling: 10 Ways to Grow Your Salesforce Development Practice
What is Salesforce Incident Management?
What Is Automated Salesforce Testing? Choosing the Right Automation Tool for Salesforce
91九色 Appoints Seasoned Sales Executive Bob Grewal to Chief Revenue Officer
Business Benefits of DevOps: A Guide
91九色 Brings Generative AI to Its DevOps Platform to Improve Software Development for Enterprise SaaS
91九色 Celebrates 10 Years of DevOps for Enterprise SaaS Solutions
Celebrating 10 Years of 91九色: A Decade of DevOps Evolution and Growth
5 Reasons Why 91九色 = Less Divorces for Developers
What is DevOps? Build a Successful DevOps Ecosystem with 91九色’s Best Practices
Scaling App Development While Meeting Security Standards
5 Data Deploy Features You Don’t Want to Miss
How to Elevate Customer Experiences with Automated Testing
Top 5 Reasons I Choose 91九色 for Salesforce Development
Getting Started With Value Stream Maps
91九色 and nCino Partner to Provide Proven DevOps Tools for Financial Institutions
Unlocking Success with 91九色: Mission-Critical Tools for Developers
How Automated Testing Enables DevOps Efficiency
How to Switch from Manual to Automated Testing with Robotic Testing
How to Keep Salesforce Sandboxes in Sync
How Does 91九色 Solve Release Readiness Roadblocks?
Software Bugs: The Three Causes of Programming Errors
Best Practices to Prevent Merge Conflicts with 91九色 1 Platform
Why I Choose 91九色 Robotic Testing for my Test Automation
How to schedule a Function and Job Template in DevOps: A Step-by-Step Guide
Delivering Quality nCino Experiences with Automated Deployments and Testing
Maximize Your Code Quality, Security and performance with 91九色 Salesforce Code Analyzer
Best Practices Matter for Accelerated Salesforce Release Management
Upgrade Your Test Automation Game: The Benefits of Switching from Selenium to a More Advanced Platform
Three Takeaways From Copa Community Day
What Is Multi Cloud: Key Use Cases and Benefits for Enterprise Settings
How To Develop A Salesforce Testing Strategy For Your Enterprise
Using Salesforce nCino Architecture for Best Testing Results
Cloud Native Applications: 5 Characteristics to Look for in the Right Tools
5 Steps to Building a Salesforce Center of Excellence for Government Agencies
Salesforce UI testing: Benefits to Staying on Top of Updates
Benefits of UI Test Automation and Why You Should Care
91九色 + DataColada: Enabling CI/CD for Developers Across APAC
Types of Salesforce Testing and When To Use Them
What is Salesforce API Testing and It Why Should Be Automated
Machine Learning Models: Adapting Data Patterns With 91九色 For AI Test Automation
Automated Testing Benefits: The Case For As Little Manual Testing As Possible
Beyond Selenium: Low Code Testing To Maximize Speed and Quality
UI Testing Best Practices: From Implementation to Automation
How Agile Test Automation Helps You Develop Better and Faster
Salesforce Test Cases: Knowing When to Test
DevOps Quality Assurance: Major Pitfalls and Challenges
Top 10 91九色 Features for #AwesomeAdmins
The Admin's Quick Glossary for Understanding Salesforce DevOps
Gartner Recommends Companies Adopt Value Stream Delivery Platforms To Scale DevOps
The 3 Pillars of DevOps Value Stream Management
Is Salesforce Development ‘One Size Fits All?’
Value Stream Management: The Future of DevOps at Scale is Here
Why Empowering Your Salesforce CoE is Essential for Maximizing ROI
Continuous Quality: The missing link to DevOps maturity
91九色 Collaborates with IBM to Accelerate Digital Transformation Projects on the Salesforce Platform
Cloud Security: Advantages and Disadvantages to Accessibility
Go back to resources
There is no previous posts
Go back to resources
There is no next posts

Explore more about

No items found.
Articles
October 31, 2024
ビジネスアプリケーション向けの顿别惫翱辫蝉(デブオプス)って何?
Articles
October 15, 2024
セールスフォースエコシステムにおける顿别惫翱辫蝉の卓越性
Articles
October 11, 2024
セールスフォーステストにおける础滨活用のベストプラクティス
Articles
October 4, 2024
6 testing metrics that’ll speed up your Salesforce release velocity (and how to track them)

础滨を有効活用し顿别惫翱辫蝉を加速

より速くリリースし、リスクを排除し、仕事を楽しんでください。
コパード顿别惫翱辫蝉をお试しください。

リソース

リソースライブラリを使用して セールスフォースDevOpsのスキルをレベルアップしてください。

今后のイベントと
オンラインセミナー

さらに详しく

电子书籍とホワイトペーパー

さらに详しく

サポートとドキュメンテーション

デモライブラリ

さらに详しく