Coder Social home page Coder Social logo

search1n1 / databricks-azdevops-azureml-mlflow Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pablomarin/databricks-azdevops-azureml-mlflow

0.0 0.0 0.0 252 KB

MLOps using AzDevOps + Databricks + AzureML + MLFlow (Python and PySpark)

Python 100.00%

databricks-azdevops-azureml-mlflow's Introduction

To run the Demo

  1. In Azure DevOps: Create a new project called: MLOps-AzDevOps-Databricks-AZML
  2. In Azure DevOps: Import(clone) this github repo to Azure Devops Repo
  3. In Azure Portal: Create a Databricks instance called mlops-azdevops-db-azml, on a new resource group called mlops-azdevops-db-azml_rg (you can pick other names, just remember it)
  4. In Azure Portal: In Azure Active Directory->App Registrations, Create an App Registration (Service Principal), create a Secret (and take not of the value) and add contributor permissions to the resource group on Step 3.
  5. In Azure Portal: Go to the Resource Group created on Step 3, Then go to Access Control (IAM)->Add->Add Role Assignments->Contributor->Members->+Select Members-> Search for your App on Step 4 -> Select -> Review/Assign
  6. In Azure Portal: Create an Azure Machine Learning Workspace, on the same resource group of Step 3.
  7. In Databricks: Repos->Add Repo, add the Azure Devos Repo from step 2. Select as Git Provider: Azure DevOps Services
  8. In Azure Portal: Create an Azure KeyVault, on the same resource group of step 3, with the SECRETS stated below
  9. In Azure DevOps: In Pipelines->Library, Create a Variable Group in Pipeline->Library called: mlops-azdevops-db-azml-vg, and link Secrets from Azure Key Vault as variables. Add all the variables created on Step 8.
  10. In Azure DevOps: In Artifacts, Create a FEED called: mlops-azdevops-db-azml
  11. In Azure DevOps: In Artifacts, Go to the settings->Permissions of the Feed created on Step 10 and make sure that "Project Collection Build Service" and "MLOps-AzDevOps-Databricks-AZML Build Service" are set with Contributor Role.
  12. In Azure DevOps: In Pipelines, Create Pipeline -> Azure Repos Git -> Select this project MLOps-AzDevOps-Databricks-AZML -> Existing Azure Pipelines YAML file -> Select the only pipeline available in /pipelines/dbx-pipeline.yml
  13. In Azure DevOps: In Pipelines, Run the Pipeline.

Pipeline will need a Azure Secret Vault with the following secrets.

Variable Description
DBXInstance Databricks instance, eg: adb-631237481529976.16
ResourceGroup Resource Group where Databricks instance is
SubscriptionID Azure Subscription ID where Databricks instance is
SVCApplicationID Application (client) ID for the Service Principal (app registration in Azure AD)
SVCDirectoryID Directory (tenant) ID for the Service Principal
SVCSecretKey Secret value for the Service Principal
WorkspaceName Name of the Databricks Workspace
AzmlResourceGroup Azure Machine Learning Resource Group
AzmlWORKSPACEname Name of the Azure Machine Learning Workspace

Architecture

Architecture!

Pipeline Run Example

Pipeline Run Sample!

databricks-azdevops-azureml-mlflow's People

Contributors

pablomarin avatar

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.