
Hyperpod Ssm
If you're working with SageMaker HyperPod, this is how you actually get onto the cluster nodes since direct SSH isn't available. It wraps AWS Systems Manager to execute commands, transfer files, and run diagnostics on instances. The implementation handles the awkward SSM target format and includes unbuffer to work around an intermittent empty output bug in the session manager plugin. Watch the 3 TPS rate limit when running commands across many nodes. The three shell scripts cover the common pattern: resolve cluster info once, then execute per node. Runs as root by default, uses JSON files for parameters to avoid quoting nightmares.
- skills.sh installs
- 150
- GitHub stars
- 938
- last updated
- Jun 11, 2026
Install
$ npx -y skills add awslabs/agent-plugins --skill hyperpod-ssm --agent claude-codeInstalls into .claude/skills of the current project.
Files
HyperPod SSM Access
Prerequisites
awsCLI v2, authenticated for the target account/Region.session-manager-plugin— installed alongside the AWS CLI.jq— the scripts build JSON payloads with it.unbuffer(from theexpectpackage) — wrapsaws ssm start-sessionwith a PTY so the session-manager-plugin flushes stdout instead of racing to close. Without it, calls intermittently return empty output withCannot perform start session: EOFeven when the command ran. Install withsudo yum install expect,sudo apt install expect, orbrew install expect.ssm-exec.shdetects and uses it automatically; falls back with a warning if missing.
SSM Target Format
Target: sagemaker-cluster:<CLUSTER_ID>_<GROUP_NAME>-<INSTANCE_ID>
CLUSTER_ID: Last segment of cluster ARN (NOT the cluster name). Extract viaget-cluster-info.sh.GROUP_NAME: Instance group name — retrieve vialist-nodes.sh.INSTANCE_ID: EC2 instance ID (e.g.,i-0123456789abcdef0)
Scripts
Three scripts under scripts/. Resolve cluster info and nodes once, then execute per node.
get-cluster-info.sh — Resolve cluster name → ID (call once)
Sponsors
Details
- Repository
- github.com/awslabs/agent-plugins
- Categories
- AI & Agent Building, Automation & Workflows, Cloud & Infrastructure, CLI & Terminal
- License
- Apache-2.0
- First seen
- Jun 11, 2026
More from awslabs/agent-plugins
All 32- Hyperpod Version Checker149
- Hyperpod Issue Report147
- Model Evaluation140
- Amplify Workflow101
- Amazon Location Service
- Api Gateway
- Aws Lambda Durable Functions
- Aws Lambda Managed Instances
- Aws Transform
- Document Service
- Dsql
- Elastic Beanstalk
- Finetuning Technique
- Hyperpod Cluster Debugger
- Hyperpod Nccl
- Hyperpod Node Debugger
- Hyperpod Performance Debugger
- Hyperpod Slurm Debugger
- Model Selection
- Sdk Getting Started
- Aws Architecture Diagram358
- Aws Lambda260
- Deploy240
- Directory Management183