Compute configs
A description of compute resources for a Ray cluster
{
"name": "my_cluster_compute_config",
"config": {
"cloud_id": "<Your-Cloud-ID-here>",
"region": "us-west-2",
"allowed_azs": ["us-west-2a"],
"head_node_type": {
"name": "head_node_type",
"instance_type": "m4.16xlarge"
}
},
"worker_node_types": [{
"name": "worker_node_1",
"instance_type": "m4.16xlarge",
"use_spot": true,
"min_workers": 2,
"max_workers": 10,
}],
"aws": {
"BlockDeviceMappings": [{
"DeviceName": "/dev/sda1",
"Ebs": { "VolumeSize": 50 }
}],
"IamInstanceProfile": { "Arn": "arn:aws:iam:..." },
"NetworkInterfaces": [{
"SubnetId": "subnet-...",
"Groups": [ "sg-...", "sg-..." ],
"AssociatePublicIpAddress": true,
}],
"TagSpecifications": [{ "ResourceType": "instance", "Tags": [
{ "Key": "my-key", "Value": "my-value" },
{ "Key": "my-key-2", "Value": "my-value-2" }
]}]
}
}
Last updated
Was this helpful?
