Orchestrating SageMaker HyperPod clusters with Amazon EKS - Amazon SageMaker AI

Orchestrating SageMaker HyperPod clusters with Amazon EKS

SageMaker HyperPod is a SageMaker AI-managed service that enables large-scale training of foundation models on long-running and resilient compute clusters, integrating with Amazon EKS for orchestrating the HyperPod compute resources. You can run uninterrupted training jobs spanning weeks or months at scale using Amazon EKS clusters with HyperPod resiliency features that check for various hardware failures and automatically recover faulty nodes.

Key features for cluster admin users include the following.

For data scientist users, EKS support in HyperPod enables the following.

  • Running containerized workloads for training foundation models on the HyperPod cluster

  • Running inference on the EKS cluster, leveraging the integration between HyperPod and EKS

  • Leveraging the job auto-resume capability for Kubeflow PyTorch training (PyTorchJob)

Note

Amazon EKS enables user-managed orchestration of tasks and infrastructure on SageMaker HyperPod through the Amazon EKS Control Plane. Ensure that user access to the cluster through the Kubernetes API Server endpoint follows the principle of least-privilege, and that network egress from the HyperPod cluster is secured.

To learn more about securing access to the Amazon EKS API Server, see Control network access to cluster API server endpoint.

To learn more about securing network access on HyperPod, see Setting up SageMaker HyperPod with your Amazon VPC.

The high-level architecture of Amazon EKS support in HyperPod involves a 1-to-1 mapping between an EKS cluster (control plane) and a HyperPod cluster (worker nodes) within a VPC, as shown in the following diagram.

EKS and HyperPod VPC architecture with control plane, cluster nodes, and AWS services.