What is an Azure Machine Learning Workspace?
Workspaces are places to collaborate with colleagues to create machine learning artifacts and group related work. They provide a centralized environment for experiments, jobs, datasets, models, components, and inference endpoints.The workspace is the top-level resource for Azure Machine Learning, keeping a history of all jobs, logs, metrics, output, and script snapshots.
Tasks Performed Within a Workspace
For machine learning teams, the workspace organizes the following activities:Create Jobs
Training runs to build models, grouped into experiments for metric comparison
Author Pipelines
Reusable workflows for training and retraining models
Register Data Assets
Manage data used for model training and pipeline creation
Register Models
Version and track models ready for deployment
Create Endpoints
Deploy registered models for real-time or batch inference
Manage Compute
Configure compute targets for running experiments
Workspace Components
Resource Configurations
Workspaces host the following resource configurations:- Compute Targets
- Datastores
- Security Settings
Run experiments and training jobs:
- Compute instances: Development workstations
- Compute clusters: Scalable training infrastructure
- Serverless compute: On-demand compute without management
- Inference clusters: AKS for model deployment
Organizing Workspaces
For team leads and administrators, workspaces serve as containers for access management, cost management, and data isolation.Best Practices
Use Role-Based Access Control
Use Role-Based Access Control
Manage permissions between users with predefined roles:
- Owner: Full workspace access including role assignment
- Contributor: Create and manage resources except role assignment
- Reader: View workspace resources only
- Custom roles: Define specific permissions for your needs
Assign Access to User Groups
Assign Access to User Groups
Use Microsoft Entra user groups instead of individual users:
- Simplifies permission management
- Consistent access across resources
- Easier onboarding/offboarding
One Workspace Per Project
One Workspace Per Project
Limit to one project per workspace for:
- Project-level cost reporting
- Scoped datastore configuration
- Better resource organization
- Clear ownership boundaries
Share Azure Resources
Share Azure Resources
Enable Self-Service
Enable Self-Service
IT admins can:
- Precreate and secure associated resources
- Grant appropriate RBAC roles to data scientists
- Allow teams to create workspaces independently
Use Hub Workspaces
Use Hub Workspaces
Group multiple project workspaces with shared:
- Security settings and connections
- Compute resources
- Centralized governance
Associated Azure Resources
When you create a workspace, Azure Machine Learning automatically provisions these resources:| Resource | Purpose |
|---|---|
| Azure Storage Account | Stores job logs, notebooks, and uploaded data. Default datastore for workspace. |
| Azure Container Registry | Stores Docker images for custom environments. Created on-demand when building images. |
| Azure Application Insights | Monitors and collects diagnostic information from inference endpoints. |
| Azure Key Vault | Stores secrets, connection strings, and keys used by compute and datastores. |
How Content is Stored
The workspace keeps a history of all training runs with:- Logs: Console output and error messages
- Metrics: Tracked numeric values and visualizations
- Output: Model files and artifacts
- Lineage metadata: Dataset versions and relationships
- Script snapshots: Code used for each run
Create a Workspace
Multiple methods are available for workspace creation:- Azure ML Studio
- Python SDK
- Azure CLI
- ARM Template
Quick creation with default settings:
- Navigate to ml.azure.com
- Select Create workspace
- Provide name, subscription, and resource group
- Select Create
Workspace Subresources
Compute clusters and instances create additional subresources:- Virtual Machines: Provide computing power
- Load Balancer: Manages traffic (even when stopped)
- Virtual Network: Enable resource communication
- Bandwidth: Charges for outbound data transfer
These subresources are managed automatically by Azure Machine Learning.
Management Tools
Interact with your workspace using:Azure Portal
Full Azure resource management
ML Studio
ML-specific interface at ml.azure.com
Python SDK
Programmatic workspace access
Azure CLI
Command-line automation
VS Code Extension
Integrated development experience
REST API
Direct API integration
Cost Management
Understanding Workspace Costs
Understanding Workspace Costs
Workspace costs come from:
- Compute resources: VMs for training and inference
- Storage: Blob storage for data and models
- Networking: Private Link, VNet integration
- Monitoring: Application Insights and Log Analytics
Next Steps
Create Your Workspace
Follow the quickstart guide
Compute Targets
Learn about compute resources
Security
Configure workspace security settings
Hub Workspaces
Explore enterprise workspace organization