1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113
| ➜ bin git:(master) ✗ aws ec2 describe-instances --filters "Name=instance-id,Values=i-0f34e210bdf46cf93" { "Reservations": [ { "OwnerId": "624990436890", "ReservationId": "r-081d903479e0a8659", "Groups": [], "Instances": [ { "Monitoring": { "State": "disabled" }, "PublicDnsName": "ec2-52-207-16-176.compute-1.amazonaws.com", "State": { "Code": 16, "Name": "running" }, "EbsOptimized": false, "LaunchTime": "2017-01-30T04:40:43.000Z", "PublicIpAddress": "52.207.16.176", "PrivateIpAddress": "172.31.25.111", "ProductCodes": [], "VpcId": "vpc-adb325cb", "StateTransitionReason": "", "InstanceId": "i-0f34e210bdf46cf93", "EnaSupport": true, "ImageId": "ami-0b33d91d", "PrivateDnsName": "ip-172-31-25-111.ec2.internal", "KeyName": "keypair3", "SecurityGroups": [ { "GroupName": "mysg", "GroupId": "sg-a364e4df" } ], "ClientToken": "", "SubnetId": "subnet-09dda752", "InstanceType": "t2.micro", "NetworkInterfaces": [ { "Status": "in-use", "MacAddress": "0e:7e:53:40:0a:26", "SourceDestCheck": true, "VpcId": "vpc-adb325cb", "Description": "", "Association": { "PublicIp": "52.207.16.176", "PublicDnsName": "ec2-52-207-16-176.compute-1.amazonaws.com", "IpOwnerId": "amazon" }, "NetworkInterfaceId": "eni-274dd2e2", "PrivateIpAddresses": [ { "PrivateDnsName": "ip-172-31-25-111.ec2.internal", "Association": { "PublicIp": "52.207.16.176", "PublicDnsName": "ec2-52-207-16-176.compute-1.amazonaws.com", "IpOwnerId": "amazon" }, "Primary": true, "PrivateIpAddress": "172.31.25.111" } ], "PrivateDnsName": "ip-172-31-25-111.ec2.internal", "Attachment": { "Status": "attached", "DeviceIndex": 0, "DeleteOnTermination": true, "AttachmentId": "eni-attach-7eccda21", "AttachTime": "2017-01-30T04:40:43.000Z" }, "Groups": [ { "GroupName": "mysg", "GroupId": "sg-a364e4df" } ], "Ipv6Addresses": [], "SubnetId": "subnet-09dda752", "OwnerId": "624990436890", "PrivateIpAddress": "172.31.25.111" } ], "SourceDestCheck": true, "Placement": { "Tenancy": "default", "GroupName": "", "AvailabilityZone": "us-east-1b" }, "Hypervisor": "xen", "BlockDeviceMappings": [ { "DeviceName": "/dev/xvda", "Ebs": { "Status": "attached", "DeleteOnTermination": true, "VolumeId": "vol-049fb7df3a019542f", "AttachTime": "2017-01-30T04:40:44.000Z" } } ], "Architecture": "x86_64", "RootDeviceType": "ebs", "RootDeviceName": "/dev/xvda", "VirtualizationType": "hvm", "AmiLaunchIndex": 0 } ] } ] }
|