cluster_name: default
min_workers: 5
max_workers: 5
initial_workers: 5
autoscaling_mode: default
docker:
    image: 'anyscale/ray-ml:latest'
    container_name: ray_container
    pull_before_run: true
target_utilization_fraction: 0.8
idle_timeout_minutes: 5
provider:
    type: aws
    region: us-west-2
    availability_zone: us-west-2a
auth:
    ssh_user: ubuntu
head_node:
    InstanceType: m5.xlarge
    BlockDeviceMappings:
        -
            DeviceName: /dev/sda1
            Ebs:
                VolumeSize: 100
worker_nodes:
    InstanceType: m5.xlarge
initialization_commands: []
setup_commands:
    - sudo apt-get install build-essential libssl-dev git -y
    - 'rm -r wrk || true && git clone https://github.com/wg/wrk.git wrk && cd wrk && make -j && cp wrk /usr/local/bin'
    - ray install-nightly
head_setup_commands: []
worker_setup_commands: []
head_start_ray_commands:
    - ray stop
    - ulimit -n 65536; ray start --head --port=6379 --object-manager-port=8076 --autoscaling-config=~/ray_bootstrap_config.yaml
worker_start_ray_commands:
    - ray stop
    - 'ulimit -n 65536; ray start --address=$RAY_HEAD_IP:6379 --object-manager-port=8076'
