Quickstart: Get Started with Azure Machine Learning
In this quickstart, you create the resources needed to start working with Azure Machine Learning and train your first model.This tutorial uses Azure Machine Learning studio for a streamlined getting-started experience. You can also use the SDK, CLI, or Azure portal.
Prerequisites
- An Azure account with an active subscription. Create an account for free
What You’ll Create
Workspace
Central resource to view and manage all ML artifacts
Compute Instance
Preconfigured cloud resource for development and training
Step 1: Create a Workspace
The workspace is the top-level resource for your machine learning activities, providing a centralized place to view and manage artifacts.Sign in to Azure ML Studio
Navigate to Azure Machine Learning studio and sign in with your Azure account.
Create Workspace
Select Create workspace and provide the following information:
| Field | Description |
|---|---|
| Workspace name | Enter a unique name (case-insensitive) |
| Friendly name | Optional display name with spaces/special characters |
| Hub | Leave blank if you don’t have access to a hub |
Configure Advanced Settings
If you didn’t select a hub, provide:
- Subscription: Your Azure subscription
- Resource group: Use existing or create new
- Region: Select closest to your users/data
Workspace creation automatically provisions Azure Storage, Container Registry, Key Vault, and Application Insights.
Step 2: Create a Compute Instance
A compute instance is a preconfigured cloud-based compute resource for running Jupyter notebooks and Python scripts.Configure Instance
- Name: Enter a unique compute instance name
- Virtual machine size: Keep default or select based on needs
- Settings: Keep defaults unless required by policy
Step 3: Explore Azure ML Studio
The studio provides a comprehensive interface for machine learning development:Authoring Section
- Notebooks
- Automated ML
- Designer
Create and run Jupyter notebooks with built-in compute integration
- Clone sample notebooks
- Create custom notebooks
- Run Python scripts
Assets Section
Track resources created during ML development:- Data: Registered datasets and data assets
- Models: Trained and registered models
- Environments: Software dependencies
- Components: Reusable pipeline steps
- Jobs: Training run history
Manage Section
Create and configure compute and external services:- Compute instances and clusters
- Datastores and connections
- Endpoints for deployment
- Data labeling projects
Step 4: Run Your First Notebook
Clone Example
- Open the SDK v2 folder
- Browse to a tutorial notebook
- Select Clone this notebook to copy to your workspace
Connect to Your Workspace Programmatically
After creating your workspace, connect using the SDK:Sample Training Job
Submit a simple training job using the Python SDK:Cost Management
Minimize Azure ML Costs
Minimize Azure ML Costs
To avoid charges when resources are idle:
- Compute clusters: Set minimum nodes to 0
- Compute instances: Enable idle shutdown
- Serverless compute: No configuration needed - automatically scales to zero
You still pay for disk, public IP, and load balancer when compute instance is stopped.
Next Steps
Train Your First Model
Learn how to train machine learning models
Workspace Concepts
Deep dive into workspace features
Compute Resources
Understand compute options
Deploy Models
Deploy models to production