amzn / amazon-ray

Staging area for ongoing enhancements to Ray focused on improving integration with AWS and other Amazon technologies.
Apache License 2.0
66 stars 28 forks source link

Add AWS SNS event callback during cluster setup (Ray 1.11.0) #101

Closed rkenmi closed 1 year ago

rkenmi commented 2 years ago

This PR adds a SNS event callback for each Ray cluster setup event. Tested with ray up, ray exec.

To configure, the events field must be added to the cluster config YAML

events takes the following arguments:

This PR is rebased off of the experimental branch with 1.11.0. Old PR: https://github.com/amzn/amazon-ray/pull/96

Related issue number

Checks

License

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

rkenmi commented 2 years ago

There will definitely be examples, for sure 🙂 . This would be something to include into the Ray docs as well.