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 #97

Closed rkenmi closed 2 years ago

rkenmi commented 2 years ago

Why are these changes needed?

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. 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.