Documentation Index
Fetch the complete documentation index at: https://ray-preview.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Credentials
The launcher uses your active Azure subscription.
Cluster config
cluster_name: ray-azure
provider:
type: azure
location: westus2
resource_group: ray-rg
subscription_id: <subscription-id>
auth:
ssh_user: ubuntu
ssh_private_key: ~/.ssh/id_rsa
max_workers: 8
available_node_types:
head:
node_config:
azure_arm_parameters:
vmSize: Standard_D4s_v3
imagePublisher: Canonical
imageOffer: 0001-com-ubuntu-server-jammy
imageSku: 22_04-lts-gen2
imageVersion: latest
worker:
min_workers: 1
max_workers: 8
node_config:
azure_arm_parameters:
vmSize: Standard_D8s_v3
head_node_type: head
setup_commands:
- pip install -U "ray[default]==2.43.0"
Bring up
ray up azure-cluster.yaml
Spot instances
azure_arm_parameters:
priority: Spot
evictionPolicy: Deallocate
Next steps
On-premises
Run on your own hardware.
Best practices
Production tuning for VM clusters.