Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@src-host ~]# aws ec2 describe-instances --instance-ids i-0273fc27080b8d564
- {
- "Reservations": [
- {
- "Instances": [
- {
- "Monitoring": {
- "State": "disabled"
- },
- "PublicDnsName": "",
- "State": {
- "Code": 16,
- "Name": "running"
- },
- "EbsOptimized": false,
- "LaunchTime": "2022-10-21T01:32:48.000Z",
- "PublicIpAddress": "52.91.77.147",
- "PrivateIpAddress": "10.0.16.132",
- "ProductCodes": [],
- "VpcId": "vpc-0cc75d9eae4c906af",
- "CpuOptions": {
- "CoreCount": 1,
- "ThreadsPerCore": 1
- },
- "StateTransitionReason": "",
- "InstanceId": "i-0273fc27080b8d564",
- "EnaSupport": true,
- "ImageId": "ami-09d3b3274b6c5d4aa",
- "PrivateDnsName": "ip-10-0-16-132.ec2.internal",
- "KeyName": "acme",
- "SecurityGroups": [
- {
- "GroupName": "dest-sg",
- "GroupId": "sg-0d86f9996252af4bb"
- }
- ],
- "ClientToken": "",
- "SubnetId": "subnet-0d9f5d6595973665e",
- "InstanceType": "t2.micro",
- "CapacityReservationSpecification": {
- "CapacityReservationPreference": "open"
- },
- "NetworkInterfaces": [
- {
- "Status": "in-use",
- "MacAddress": "12:02:1c:03:c0:87",
- "SourceDestCheck": true,
- "VpcId": "vpc-0cc75d9eae4c906af",
- "Description": "",
- "NetworkInterfaceId": "eni-0d2b1a0fa66ad97bc",
- "PrivateIpAddresses": [
- {
- "PrivateIpAddress": "10.0.16.132",
- "Primary": true,
- "Association": {
- "PublicIp": "52.91.77.147",
- "PublicDnsName": "",
- "IpOwnerId": "amazon"
- }
- }
- ],
- "SubnetId": "subnet-0d9f5d6595973665e",
- "InterfaceType": "interface",
- "Attachment": {
- "Status": "attached",
- "DeviceIndex": 0,
- "DeleteOnTermination": true,
- "AttachmentId": "eni-attach-06e8c68c356ef38b6",
- "AttachTime": "2022-10-21T01:32:48.000Z"
- },
- "Groups": [
- {
- "GroupName": "dest-sg",
- "GroupId": "sg-0d86f9996252af4bb"
- }
- ],
- "Ipv6Addresses": [],
- "OwnerId": "531621538008",
- "PrivateIpAddress": "10.0.16.132",
- "Association": {
- "PublicIp": "52.91.77.147",
- "PublicDnsName": "",
- "IpOwnerId": "amazon"
- }
- }
- ],
- "SourceDestCheck": true,
- "Placement": {
- "Tenancy": "default",
- "GroupName": "",
- "AvailabilityZone": "us-east-1a"
- },
- "Hypervisor": "xen",
- "BlockDeviceMappings": [
- {
- "DeviceName": "/dev/xvda",
- "Ebs": {
- "Status": "attached",
- "DeleteOnTermination": true,
- "VolumeId": "vol-0a518f1e3adf96e32",
- "AttachTime": "2022-10-21T01:32:49.000Z"
- }
- }
- ],
- "Architecture": "x86_64",
- "RootDeviceType": "ebs",
- "RootDeviceName": "/dev/xvda",
- "VirtualizationType": "hvm",
- "Tags": [
- {
- "Value": "dest-host",
- "Key": "Name"
- }
- ],
- "HibernationOptions": {
- "Configured": false
- },
- "MetadataOptions": {
- "State": "applied",
- "HttpEndpoint": "enabled",
- "HttpTokens": "optional",
- "HttpPutResponseHopLimit": 1
- },
- "AmiLaunchIndex": 0
- }
- ],
- "ReservationId": "r-0c036ad94e618f4ed",
- "Groups": [],
- "OwnerId": "531621538008"
- }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment