top of page

LetsDevOps: Setup CI/CD to deploy Machine learning model using Azure Databricks. Airflow to trigger the Job(Workflow). Complete guide to MLOps Setup.

Updated: Sep 2, 2024

Introduction

The final section of this blog series will cover the process of creating and deploying the machine learning project using Azure DevOps.


MLOps Architecture

ree

Prerequisite


  1. Azure DevOps Account

  2. Databricks Workspace


Setup CI/CD pipeline


Step 1: Get the Project Template


ree

Step 2: Understand YAML Pipeline Structure

ree

Step 3: Update master yaml pipeline

3.1 Get your Databricks URL and update.


ree

Step 4: Create Azure Artifact Feed
ree
Step 5: Update build-publish template
  1. Get the created feed name and update the template

ree
Step 6: Create the Master Pipeline

ree
ree

Step 7: Create variable of Databricks token

ree

Run the Pipeline


ree
Step 6: Udpate the Feed detail in the deploy-to-environment

Once build part is run now you can fetch the feed details since the feed update with package.

  1. Instruction on how to fetch given in the troubleshooting section below.

  2. Update the template wiht the created feed value.


ree


Vaildate the Deployment

ree

Best Practices & Tips

  1. Version control

  2. Deploy to Prod from Main branch only

  3. Security consideration

  4. Key vault to store the Secret.


Orchestrate Job run using Airflow




Troubleshooting

Issue: Forbidden Error during the Artifact download
ree

Solution: Make sure Build service has the Contibutor access assigned.
ree

ree


How to fetch the Azure Artifact Feed Detail


Step: 1 Make sure the Feed is created and you have Package in it.

In my case the package is availble in the Azure Artifact Feed.


ree

Step 2: Edit the Pipeline and Select Download Artifact.

ree
Step 3: Select the Package you want to get the Feed details.

ree

Step: 4 Once you add the task you can find the details

ree




2 Comments


chat
Dec 16, 2024

Ücretsiz rastgele yetişkin chat gabile chat cinsel chat kesintisiz arkadaşlık yeni kişilerle tanışma imkanı sağlar.

Like

chat
Dec 16, 2024

Ücretsiz rastgele yetişkin sohbet cinsel sohbet gabile sohbet sorunsuz yeni kişilerle tanışma imkanı sağlar.

Like
bottom of page