Accessing SageMaker HyperPod cluster nodes - Amazon SageMaker AI
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Accessing SageMaker HyperPod cluster nodes

You can directly access the nodes of a SageMaker HyperPod cluster in service using the Amazon CLI commands for Amazon Systems Manager (SSM). Run aws ssm start-session with the host name of the node in format of sagemaker-cluster:[cluster-id]_[instance-group-name]-[instance-id]. You can retrieve the cluster ID, the instance ID, and the instance group name from the SageMaker HyperPod console or by running describe-cluster and list-cluster-nodes from the Amazon CLI commands for SageMaker HyperPod. For example, if your cluster ID is aa11bbbbb222, the cluster node name is controller-group, and the cluster node ID is i-111222333444555aa, the SSM start-session command should be the following.

Note

If you haven't set up Amazon Systems Manager, follow the instructions provided at Setting up Amazon Systems Manager and Run As for cluster user access control.

$ aws ssm start-session \ --target sagemaker-cluster:aa11bbbbb222_controller-group-i-111222333444555aa \ --region us-west-2 Starting session with SessionId: s0011223344aabbccdd root@ip-111-22-333-444:/usr/bin#