Skip to content

Commit 27afa26

Browse files
committed
[skip ci] - Igor feedback
1 parent 3359474 commit 27afa26

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

tutorials/035 - Distributing Calls on Ray Remote Cluster.ipynb

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"\n",
4747
"#### Build Prerequisite Infrastructure\n",
4848
"\n",
49-
"Click on the button below to provision an AWS CloudFormation stack. It builds a security group and IAM instance profile for the Ray Cluster to use. A valid CIDR range (encompassing your local machine IP) and a VPC ID are required.\n",
49+
"Click on the link below to provision an AWS CloudFormation stack. It builds a security group and IAM instance profile for the Ray Cluster to use. A valid CIDR range (encompassing your local machine IP) and a VPC ID are required.\n",
5050
"\n",
5151
"[<img src=\"https://s3.amazonaws.com/cloudformation-examples/cloudformation-launch-stack.png\">](https://console.aws.amazon.com/cloudformation/home#/stacks/new?stackName=RayPrerequisiteInfra&templateURL=https://aws-data-wrangler-public-artifacts.s3.amazonaws.com/cloudformation/ray-prerequisite-infra.json)\n",
5252
"\n",
@@ -77,7 +77,7 @@
7777
"source": [
7878
"Replace all values to match your desired region, account number and name of resources deployed by the above CloudFormation Stack.\n",
7979
"\n",
80-
"[Click here](https://console.aws.amazon.com/ec2/home?region=us-east-1#Images:visibility=public-images;search=:ray-amzn-wheels_latest_amzn_ray-1.9.2-cp38;v=3;$case=tags:false%5C,client:false;$regex=tags:false%5C,client:false) to find the correct Ray AMI by switching to your desired region. The example configuration below uses the AMI for `us-east-1`\n",
80+
"A limited set of AWS regions is currently supported (Python 3.8 and above). Find the corresponding Ray AMI IDs [here](https://github.com/amzn/amazon-ray/#amazon-ray-imagese). The example configuration below uses the AMI for `us-east-1`.\n",
8181
"\n",
8282
"Then edit `config.yml` file with your custom configuration."
8383
]
@@ -114,6 +114,11 @@
114114
" Arn: arn:aws:iam::{ACCOUNT ID}:instance-profile/ray-cluster\n",
115115
" # Replace ImageId if using a different region / python version\n",
116116
" ImageId: ami-0ea510fcb67686b48\n",
117+
" TagSpecifications: # Optional tags\n",
118+
" - ResourceType: \"instance\"\n",
119+
" Tags:\n",
120+
" - Key: Platform\n",
121+
" Value: \"ray\"\n",
117122
"\n",
118123
" ray.worker.default:\n",
119124
" min_workers: 2\n",
@@ -125,6 +130,11 @@
125130
" Arn: arn:aws:iam::{ACCOUNT ID}:instance-profile/ray-cluster\n",
126131
" # Replace ImageId if using a different region / python version\n",
127132
" ImageId: ami-0ea510fcb67686b48\n",
133+
" TagSpecifications: # Optional tags\n",
134+
" - ResourceType: \"instance\"\n",
135+
" Tags:\n",
136+
" - Key: Platform\n",
137+
" Value: \"ray\"\n",
128138
"\n",
129139
"\n",
130140
"setup_commands:\n",
@@ -141,7 +151,7 @@
141151
"source": [
142152
"#### Provision Ray Cluster\n",
143153
"\n",
144-
"The command below creates a Ray cluster in your account based on the aforementioned config file. It consists of one head node and 2 workers (m4xlarge EC2s)."
154+
"The command below creates a Ray cluster in your account based on the aforementioned config file. It consists of one head node and 2 workers (m4xlarge EC2s). The command takes a few minutes to complete."
145155
]
146156
},
147157
{

0 commit comments

Comments
 (0)