Getting started
Ray on HyperPod runs on the open source KubeRay operator and its custom resources, unchanged. To get started you need only a HyperPod cluster orchestrated by Amazon EKS and the KubeRay operator installed on it. HyperPod then adds features around Ray that you adopt in one of two ways.
Get started
These two steps are all you need to run Ray on HyperPod.
-
Create a HyperPod cluster orchestrated by Amazon EKS. For more information, see Creating a SageMaker HyperPod cluster with Amazon EKS orchestration.
-
Install the KubeRay operator on the cluster. It manages every Ray custom resource. For more information, see Installing KubeRay on HyperPod Amazon EKS.
Ray features on HyperPod
HyperPod adds features around Ray, and there are two ways to adopt them. The setup is the same either way, and both run the same open source Ray and the same KubeRay custom resources. What differs is how your teams consume the features, and you can start with one and add the other later.
Purpose-built data scientist experience. Amazon SageMaker Studio brings these features together in one interface. You create and manage Ray clusters, develop interactively in an attached space, reach the Ray Dashboard through a browser link, and open Grafana dashboards, without writing Kubernetes manifests. Set up Amazon SageMaker Studio for Ray first. For more information, see Setting up Studio for Ray. You can then opt in to each feature individually, such as the SageMaker AI Spaces add-on for interactive development and the HyperPod Observability add-on for dashboards.
Integrating capabilities into your existing internal ML platform. Choose this if you run your own internal ML platform on Amazon EKS and want to keep your tooling and workflows. You attach HyperPod compute to your Amazon EKS cluster and adopt only the capabilities you are missing. Nothing requires Amazon SageMaker Studio. Each capability is a separate add-on or a Python package, so you can adopt one and stop.
Every feature is available both ways. The purpose-built experience wraps each one in a
web interface, and on your own platform you drive the same features with
kubectl.
| Feature | Purpose-built experience in Amazon SageMaker Studio | Your own platform |
|---|---|---|
| Managing Ray workloads | Create and manage Ray clusters in the Amazon SageMaker Studio web interface | kubectl and your own RayCluster
manifests |
| IDE and notebooks | Web UI to create Ray development environments | Attach a space with kubectl |
| Ray Dashboard access and job submission | One-click authenticated access and remote job submission from Studio space notebooks and Code Editor | kubectl commands to generate Ray Dashboard links |
| Observability | Grafana dashboards from the HyperPod Observability add-on | The same add-on, or your own Prometheus |
| Resource sharing and job queueing with Task governance | View resource allocation metrics during Ray workload creation and submit to a queue from the UI | via kubectl |
| Resilient training (node auto recovery, hung job detection, tiered checkpointing) | Supported at the infrastructure layer | Supported at the infrastructure layer |
| Accelerated inference (Ray Serve, managed tiered KV cache, autoscaling) | Supported at the infrastructure layer | Supported at the infrastructure layer |