This documentation references AWS ParallelCluster. For running HPC and AI workloads, we recommend AWS Parallel Computing Service (AWS PCS)
awsbhosts
Shows the hosts that belong to the cluster’s compute environment.
awsbhosts [-h] [-cCLUSTER] [-d] [instance_ids[instance_ids... ]]
Positional Arguments
instance_ids-
Specifies a space-separated list of instances IDs. If a single instance is requested, it is shown in a detailed version.
Named Arguments
-cCLUSTER, --clusterCLUSTER-
Specifies the name of the cluster to use.
-d, --details-
Indicates whether to show the details of the hosts.
Default: False