Azure Machine Learning concepts

ExplainedMLOpsDevOps, Hands OnBy Cloud Hands On

Where each MLOps piece lives in Azure: workspace, compute, jobs, registry and endpoints.

An Azure ML workspace is the project: it holds jobs, data, models and endpoints, and creates a storage account, key vault and Application Insights alongside it. Compute can be serverless (started for each job) or clusters that scale to zero.

A job runs your script on that compute and records it with MLflow, so the same train.py works with almost no change. Models go into the workspace registry or a shared registry across workspaces. Batch endpoints run scoring jobs on demand; managed online endpoints run a model behind an HTTPS address with authentication, scaling and blue-green deployments.

Azure ML pipelines chain components (prepare, train, evaluate) with caching, and can be started from GitHub Actions or Azure Pipelines. Use managed identities so jobs and endpoints reach data without stored keys.

Cost. The workspace is free but creates small billable resources; jobs cost while running; online endpoints cost every hour.

Use it when

How it works

Workspace
The project and its linked resources.
Compute
Serverless or clusters that scale to zero.
Jobs
Tracked runs using MLflow.
Registry
Versioned models, shareable across workspaces.
Endpoints
Batch for files, managed online for live calls.

Options

Serverless compute
Nothing to manage; pay per job.
Compute clusters
More control; set the minimum to 0 nodes.
Kubernetes (AKS)
Run endpoints on your own cluster.

Example. Larkfield Group runs its weekly training as an Azure ML pipeline on serverless compute, keeps models in a shared registry used by test and production workspaces, and serves the nightly forecast from a batch endpoint, so nothing runs between jobs.

Don't confuse it with

Batch endpoint
Pay while a scoring job runs.
Managed online endpoint
Pay every hour it exists.

Words to know

Workspace
The Azure ML resource for a project.
Managed online endpoint
An HTTPS address Azure runs a model behind.
Serverless compute
Compute started for a job and stopped after it.

Where to look

  1. Azure portal
  2. Azure Machine Learning
  3. Workspace
  4. Launch studio

Practise it

Read it in the guide, next to the tasks and labs.

Open in DevOps, Hands On

Keep going