Last active
August 11, 2021 13:46
-
-
Save edoakes/0f7f62b7d9aa5481482bca23be5f622a to your computer and use it in GitHub Desktop.
10-node AWS Ray cluster configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cluster_name: monte_carlo_pi | |
# The number of worker nodes to launch in addition to the head node. | |
min_workers: 9 | |
max_workers: 9 | |
provider: | |
type: aws | |
region: us-west-2 | |
availability_zone: us-west-2a | |
head_node: | |
InstanceType: m4.4xlarge | |
ImageId: ami-06d51e91cea0dac8d # Ubuntu 18.04 | |
worker_nodes: | |
InstanceType: m4.4xlarge | |
ImageId: ami-06d51e91cea0dac8d # Ubuntu 18.04 | |
# List of shell commands to run to set up nodes. | |
setup_commands: | |
- wget https://repo.continuum.io/archive/Anaconda3-5.0.1-Linux-x86_64.sh || true | |
- bash Anaconda3-5.0.1-Linux-x86_64.sh -b -p $HOME/anaconda3 || true | |
- echo 'export PATH="$HOME/anaconda3/bin:$PATH"' >> ~/.bashrc | |
- pip install -U https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.9.0.dev0-cp36-cp36m-manylinux1_x86_64.whl | |
- pip install -U ray[dashboard] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment