Private
Server IP : 195.201.23.43  /  Your IP : 3.15.0.42
Web Server : Apache
System : Linux webserver2.vercom.be 5.4.0-192-generic #212-Ubuntu SMP Fri Jul 5 09:47:39 UTC 2024 x86_64
User : kdecoratie ( 1041)
PHP Version : 7.1.33-63+ubuntu20.04.1+deb.sury.org+1
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3/dist-packages/awscli/examples/emr/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /lib/python3/dist-packages/awscli/examples/emr/list-instances.rst
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"
            }
        ]
    }
Private