The following command lists all of the instances in a cluster with the cluster ID ``j-3C6XNQ39VR9WL``:: aws emr list-instances --cluster-id j-3C6XNQ39VR9WL Output:: For a uniform instance group based cluster { "Instances": [ { "Status": { "Timeline": { "ReadyDateTime": 1433200400.03, "CreationDateTime": 1433199960.152 }, "State": "RUNNING", "StateChangeReason": {} }, "Ec2InstanceId": "i-f19ecfee", "PublicDnsName": "ec2-52-52-41-150.us-west-2.compute.amazonaws.com", "PrivateDnsName": "ip-172-21-11-216.us-west-2.compute.internal", "PublicIpAddress": "52.52.41.150", "Id": "ci-3NNHQUQ2TWB6Y", "PrivateIpAddress": "172.21.11.216" }, { "Status": { "Timeline": { "ReadyDateTime": 1433200400.031, "CreationDateTime": 1433199949.102 }, "State": "RUNNING", "StateChangeReason": {} }, "Ec2InstanceId": "i-1feee4c2", "PublicDnsName": "ec2-52-63-246-32.us-west-2.compute.amazonaws.com", "PrivateDnsName": "ip-172-31-24-130.us-west-2.compute.internal", "PublicIpAddress": "52.63.246.32", "Id": "ci-GAOCMKNKDCV7", "PrivateIpAddress": "172.21.11.215" }, { "Status": { "Timeline": { "ReadyDateTime": 1433200400.031, "CreationDateTime": 1433199949.102 }, "State": "RUNNING", "StateChangeReason": {} }, "Ec2InstanceId": "i-15cfeee3", "PublicDnsName": "ec2-52-25-246-63.us-west-2.compute.amazonaws.com", "PrivateDnsName": "ip-172-31-24-129.us-west-2.compute.internal", "PublicIpAddress": "52.25.246.63", "Id": "ci-2W3TDFFB47UAD", "PrivateIpAddress": "172.21.11.214" } ] } For a fleet based cluster: { "Instances": [ { "Status": { "Timeline": { "ReadyDateTime": 1487810810.878, "CreationDateTime": 1487810588.367, "EndDateTime": 1488022990.924 }, "State": "TERMINATED", "StateChangeReason": { "Message": "Instance was terminated." } }, "Ec2InstanceId": "i-xxxxx", "InstanceFleetId": "if-xxxxx", "EbsVolumes": [], "PublicDnsName": "ec2-xx-xxx-xxx-xxx.compute-1.amazonaws.com", "InstanceType": "m3.xlarge", "PrivateDnsName": "ip-xx-xx-xxx-xx.ec2.internal", "Market": "SPOT", "PublicIpAddress": "xx.xx.xxx.xxx", "Id": "ci-xxxxx", "PrivateIpAddress": "10.47.191.80" } ] }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
add-instance-fleet.rst | File | 521 B | 0644 |
|
add-steps.rst | File | 4.37 KB | 0644 |
|
add-tags.rst | File | 648 B | 0644 |
|
create-cluster-examples.rst | File | 29.94 KB | 0644 |
|
create-cluster-synopsis.txt | File | 1.17 KB | 0644 |
|
create-default-roles.rst | File | 5.55 KB | 0644 |
|
create-security-configuration.rst | File | 3.91 KB | 0644 |
|
delete-security-configuration.rst | File | 173 B | 0644 |
|
describe-cluster.rst | File | 9.37 KB | 0644 |
|
describe-step.rst | File | 1.12 KB | 0644 |
|
get.rst | File | 258 B | 0644 |
|
list-clusters.rst | File | 670 B | 0644 |
|
list-instance-fleets.rst | File | 1.98 KB | 0644 |
|
list-instances.rst | File | 3.19 KB | 0644 |
|
list-security-configurations.rst | File | 437 B | 0644 |
|
list-steps.rst | File | 151 B | 0644 |
|
modify-cluster-attributes.rst | File | 196 B | 0644 |
|
modify-instance-fleet.rst | File | 333 B | 0644 |
|
put.rst | File | 287 B | 0644 |
|
remove-tags.rst | File | 184 B | 0644 |
|
schedule-hbase-backup.rst | File | 678 B | 0644 |
|
socks.rst | File | 273 B | 0644 |
|
ssh.rst | File | 1.43 KB | 0644 |
|
wait.rst | File | 165 B | 0644 |
|