|
46 | 46 | "\n", |
47 | 47 | "#### Build Prerequisite Infrastructure\n", |
48 | 48 | "\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", |
50 | 50 | "\n", |
51 | 51 | "[<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", |
52 | 52 | "\n", |
|
77 | 77 | "source": [ |
78 | 78 | "Replace all values to match your desired region, account number and name of resources deployed by the above CloudFormation Stack.\n", |
79 | 79 | "\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", |
81 | 81 | "\n", |
82 | 82 | "Then edit `config.yml` file with your custom configuration." |
83 | 83 | ] |
|
114 | 114 | " Arn: arn:aws:iam::{ACCOUNT ID}:instance-profile/ray-cluster\n", |
115 | 115 | " # Replace ImageId if using a different region / python version\n", |
116 | 116 | " ImageId: ami-0ea510fcb67686b48\n", |
| 117 | + " TagSpecifications: # Optional tags\n", |
| 118 | + " - ResourceType: \"instance\"\n", |
| 119 | + " Tags:\n", |
| 120 | + " - Key: Platform\n", |
| 121 | + " Value: \"ray\"\n", |
117 | 122 | "\n", |
118 | 123 | " ray.worker.default:\n", |
119 | 124 | " min_workers: 2\n", |
|
125 | 130 | " Arn: arn:aws:iam::{ACCOUNT ID}:instance-profile/ray-cluster\n", |
126 | 131 | " # Replace ImageId if using a different region / python version\n", |
127 | 132 | " ImageId: ami-0ea510fcb67686b48\n", |
| 133 | + " TagSpecifications: # Optional tags\n", |
| 134 | + " - ResourceType: \"instance\"\n", |
| 135 | + " Tags:\n", |
| 136 | + " - Key: Platform\n", |
| 137 | + " Value: \"ray\"\n", |
128 | 138 | "\n", |
129 | 139 | "\n", |
130 | 140 | "setup_commands:\n", |
|
141 | 151 | "source": [ |
142 | 152 | "#### Provision Ray Cluster\n", |
143 | 153 | "\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." |
145 | 155 | ] |
146 | 156 | }, |
147 | 157 | { |
|
0 commit comments