-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathexample.yaml
50 lines (41 loc) · 1.45 KB
/
example.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
cluster_name: hoplite
min_workers: 15
max_workers: 15
initial_workers: 15
provider:
type: aws
region: us-east-1
# Availability zone(s), comma-separated, that nodes may be launched in.
# Nodes are currently spread between zones by a round-robin approach,
# however this implementation detail should not be relied upon.
availability_zone: us-east-1f
cache_stopped_nodes: False
auth:
ssh_user: ubuntu
head_node:
InstanceType: m5.4xlarge
ImageId: ami-0e9f764f786728984 # hoplite-artifact-rllib-2
SecurityGroupIds:
- "sg-092b10044bcf1f37e"
Placement:
GroupName: hoplite-group
InstanceMarketOptions:
MarketType: spot
worker_nodes:
InstanceType: m5.4xlarge
ImageId: ami-0e9f764f786728984 # hoplite-artifact-rllib-2
SecurityGroupIds:
- "sg-092b10044bcf1f37e"
Placement:
GroupName: hoplite-group
InstanceMarketOptions:
MarketType: spot
setup_commands: []
# Command to start ray on the head node. You don't need to change this.
head_start_ray_commands:
- ray stop
- "ulimit -n 65536; ray start --head --redis-port=6379 --object-manager-port=8076 --autoscaling-config=~/ray_bootstrap_config.yaml --resources='{\"machine\": 1}'"
# Command to start ray on worker nodes. You don't need to change this.
worker_start_ray_commands:
- ray stop
- "ulimit -n 65536; ray start --address=$RAY_HEAD_IP:6379 --object-manager-port=8076 --resources='{\"machine\": 1}'"