ExaGridDba

ex1 basic i-0269ad6c61c8f8edf src-host

Oct 20th, 2022 (edited)
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.05 KB | None | 0 0
  1. [root@src-host ~]# aws ec2 describe-instances --instance-ids i-0269ad6c61c8f8edf
  2. {
  3. "Reservations": [
  4. {
  5. "Instances": [
  6. {
  7. "Monitoring": {
  8. "State": "disabled"
  9. },
  10. "PublicDnsName": "",
  11. "State": {
  12. "Code": 16,
  13. "Name": "running"
  14. },
  15. "EbsOptimized": false,
  16. "LaunchTime": "2022-10-21T01:22:40.000Z",
  17. "PublicIpAddress": "44.203.140.71",
  18. "PrivateIpAddress": "10.0.16.14",
  19. "ProductCodes": [],
  20. "VpcId": "vpc-0cc75d9eae4c906af",
  21. "CpuOptions": {
  22. "CoreCount": 1,
  23. "ThreadsPerCore": 1
  24. },
  25. "StateTransitionReason": "",
  26. "InstanceId": "i-0269ad6c61c8f8edf",
  27. "EnaSupport": true,
  28. "ImageId": "ami-09d3b3274b6c5d4aa",
  29. "PrivateDnsName": "ip-10-0-16-14.ec2.internal",
  30. "KeyName": "acme",
  31. "SecurityGroups": [
  32. {
  33. "GroupName": "ssh only",
  34. "GroupId": "sg-037e1cea7b7a623ef"
  35. },
  36. {
  37. "GroupName": "src-sg",
  38. "GroupId": "sg-06cd140165280acb6"
  39. }
  40. ],
  41. "ClientToken": "",
  42. "SubnetId": "subnet-0d9f5d6595973665e",
  43. "InstanceType": "t2.micro",
  44. "CapacityReservationSpecification": {
  45. "CapacityReservationPreference": "open"
  46. },
  47. "NetworkInterfaces": [
  48. {
  49. "Status": "in-use",
  50. "MacAddress": "12:5e:c5:88:fd:05",
  51. "SourceDestCheck": true,
  52. "VpcId": "vpc-0cc75d9eae4c906af",
  53. "Description": "",
  54. "NetworkInterfaceId": "eni-00775053d711c2382",
  55. "PrivateIpAddresses": [
  56. {
  57. "PrivateIpAddress": "10.0.16.14",
  58. "Primary": true,
  59. "Association": {
  60. "PublicIp": "44.203.140.71",
  61. "PublicDnsName": "",
  62. "IpOwnerId": "amazon"
  63. }
  64. }
  65. ],
  66. "SubnetId": "subnet-0d9f5d6595973665e",
  67. "InterfaceType": "interface",
  68. "Attachment": {
  69. "Status": "attached",
  70. "DeviceIndex": 0,
  71. "DeleteOnTermination": true,
  72. "AttachmentId": "eni-attach-056fce06a915e0631",
  73. "AttachTime": "2022-10-21T01:22:40.000Z"
  74. },
  75. "Groups": [
  76. {
  77. "GroupName": "ssh only",
  78. "GroupId": "sg-037e1cea7b7a623ef"
  79. },
  80. {
  81. "GroupName": "src-sg",
  82. "GroupId": "sg-06cd140165280acb6"
  83. }
  84. ],
  85. "Ipv6Addresses": [],
  86. "OwnerId": "531621538008",
  87. "PrivateIpAddress": "10.0.16.14",
  88. "Association": {
  89. "PublicIp": "44.203.140.71",
  90. "PublicDnsName": "",
  91. "IpOwnerId": "amazon"
  92. }
  93. }
  94. ],
  95. "SourceDestCheck": true,
  96. "Placement": {
  97. "Tenancy": "default",
  98. "GroupName": "",
  99. "AvailabilityZone": "us-east-1a"
  100. },
  101. "Hypervisor": "xen",
  102. "BlockDeviceMappings": [
  103. {
  104. "DeviceName": "/dev/xvda",
  105. "Ebs": {
  106. "Status": "attached",
  107. "DeleteOnTermination": true,
  108. "VolumeId": "vol-0fac21f7f386f7229",
  109. "AttachTime": "2022-10-21T01:22:42.000Z"
  110. }
  111. }
  112. ],
  113. "Architecture": "x86_64",
  114. "RootDeviceType": "ebs",
  115. "RootDeviceName": "/dev/xvda",
  116. "VirtualizationType": "hvm",
  117. "Tags": [
  118. {
  119. "Value": "src-host",
  120. "Key": "Name"
  121. }
  122. ],
  123. "HibernationOptions": {
  124. "Configured": false
  125. },
  126. "MetadataOptions": {
  127. "State": "applied",
  128. "HttpEndpoint": "enabled",
  129. "HttpTokens": "optional",
  130. "HttpPutResponseHopLimit": 1
  131. },
  132. "AmiLaunchIndex": 0
  133. }
  134. ],
  135. "ReservationId": "r-051521fc702e4809b",
  136. "Groups": [],
  137. "OwnerId": "531621538008"
  138. }
  139. ]
  140. }
Advertisement
Add Comment
Please, Sign In to add comment