Compare commits
2 Commits
eafb62aee9
...
c8cba54fe0
Author | SHA1 | Date | |
---|---|---|---|
c8cba54fe0 | |||
6d3e820bd1 |
60
src/aws.zig
60
src/aws.zig
|
@ -1785,3 +1785,63 @@ test "rest_json_1_query_no_input: lambda listFunctions runtime" {
|
|||
call.response.functions.?[12].function_name.?,
|
||||
);
|
||||
}
|
||||
test "rest_json_1_work_with_lambda: lambda multiple functions (blank test)" {
|
||||
// Replicating this test would not provide additional coverage. It is
|
||||
// here for completeness only
|
||||
}
|
||||
test "ec2_query_no_input: EC2 describe regions" {
|
||||
const allocator = std.testing.allocator;
|
||||
var test_harness = TestSetup.init(allocator, .{
|
||||
.allocator = allocator,
|
||||
.server_response = @embedFile("test_ec2_query_no_input.response"),
|
||||
.server_response_headers = @constCast(&[_][2][]const u8{
|
||||
.{ "Content-Type", "text/xml;charset=UTF-8" },
|
||||
.{ "x-amzn-RequestId", "4cdbdd69-800c-49b5-8474-ae4c17709782" },
|
||||
}),
|
||||
});
|
||||
defer test_harness.deinit();
|
||||
const options = try test_harness.start();
|
||||
const ec2 = (Services(.{.ec2}){}).ec2;
|
||||
const call = try test_harness.client.call(ec2.describe_regions.Request{}, options);
|
||||
defer call.deinit();
|
||||
test_harness.stop();
|
||||
// Request expectations
|
||||
try std.testing.expectEqual(std.http.Method.POST, test_harness.request_options.request_method);
|
||||
try std.testing.expectEqualStrings("/?Action=DescribeRegions&Version=2016-11-15", test_harness.request_options.request_target);
|
||||
try std.testing.expectEqualStrings(
|
||||
\\Action=DescribeRegions&Version=2016-11-15
|
||||
, test_harness.request_options.request_body);
|
||||
// Response expectations
|
||||
try std.testing.expectEqualStrings("4cdbdd69-800c-49b5-8474-ae4c17709782", call.response_metadata.request_id);
|
||||
try std.testing.expectEqual(@as(usize, 17), call.response.regions.?.len);
|
||||
}
|
||||
test "ec2_query_with_input: EC2 describe instances" {
|
||||
const allocator = std.testing.allocator;
|
||||
var test_harness = TestSetup.init(allocator, .{
|
||||
.allocator = allocator,
|
||||
.server_response = @embedFile("test_ec2_query_with_input.response"),
|
||||
.server_response_headers = @constCast(&[_][2][]const u8{
|
||||
.{ "Content-Type", "text/xml;charset=UTF-8" },
|
||||
.{ "x-amzn-RequestId", "150a14cc-785d-476f-a4c9-2aa4d03b14e2" },
|
||||
}),
|
||||
});
|
||||
defer test_harness.deinit();
|
||||
const options = try test_harness.start();
|
||||
const ec2 = (Services(.{.ec2}){}).ec2;
|
||||
const call = try test_harness.client.call(ec2.describe_instances.Request{
|
||||
.max_results = 6,
|
||||
}, options);
|
||||
defer call.deinit();
|
||||
test_harness.stop();
|
||||
// Request expectations
|
||||
try std.testing.expectEqual(std.http.Method.POST, test_harness.request_options.request_method);
|
||||
try std.testing.expectEqualStrings("/?Action=DescribeInstances&Version=2016-11-15", test_harness.request_options.request_target);
|
||||
try std.testing.expectEqualStrings(
|
||||
\\Action=DescribeInstances&Version=2016-11-15&MaxResults=6
|
||||
, test_harness.request_options.request_body);
|
||||
// Response expectations
|
||||
try std.testing.expectEqualStrings("150a14cc-785d-476f-a4c9-2aa4d03b14e2", call.response_metadata.request_id);
|
||||
try std.testing.expectEqual(@as(usize, 6), call.response.reservations.?.len);
|
||||
try std.testing.expectEqualStrings("i-0212d7d1f62b96676", call.response.reservations.?[1].instances.?[0].instance_id.?);
|
||||
try std.testing.expectEqualStrings("123456789012:found-me", call.response.reservations.?[1].instances.?[0].tags.?[0].value.?);
|
||||
}
|
||||
|
|
|
@ -137,8 +137,6 @@ pub fn main() anyerror!void {
|
|||
std.log.info("request id: {any}", .{call.response_metadata.request_id});
|
||||
std.log.info("account has clusters: {}", .{call.response.cluster_arns.?.len > 0});
|
||||
},
|
||||
// ^^ under test. vv stil in progress
|
||||
// This has an issue with json.zig
|
||||
.rest_json_1_query_with_input => {
|
||||
const call = try client.call(services.lambda.list_functions.Request{
|
||||
.max_items = 1,
|
||||
|
@ -147,7 +145,6 @@ pub fn main() anyerror!void {
|
|||
std.log.info("request id: {any}", .{call.response_metadata.request_id});
|
||||
std.log.info("account has functions: {}", .{call.response.functions.?.len > 0});
|
||||
},
|
||||
// This is skipped
|
||||
.rest_json_1_query_no_input => {
|
||||
const call = try client.call(services.lambda.list_functions.Request{}, options);
|
||||
defer call.deinit();
|
||||
|
@ -183,15 +180,13 @@ pub fn main() anyerror!void {
|
|||
}
|
||||
},
|
||||
.ec2_query_no_input => {
|
||||
std.log.err("EC2 functions not yet working in 0.11", .{});
|
||||
// // Describe regions is a simpler request and easier to debug
|
||||
// Describe regions is a simpler request and easier to debug
|
||||
const result = try client.call(services.ec2.describe_regions.Request{}, options);
|
||||
defer result.deinit();
|
||||
std.log.info("request id: {any}", .{result.response_metadata.request_id});
|
||||
std.log.info("region count: {d}", .{result.response.regions.?.len});
|
||||
},
|
||||
.ec2_query_with_input => {
|
||||
std.log.err("EC2 functions not yet working in 0.11", .{});
|
||||
// Describe instances is more interesting
|
||||
const result = try client.call(services.ec2.describe_instances.Request{ .max_results = 6 }, options);
|
||||
defer result.deinit();
|
||||
|
@ -222,6 +217,7 @@ pub fn main() anyerror!void {
|
|||
next = more.response.next_token;
|
||||
}
|
||||
},
|
||||
// ^^ under test. vv still in progress
|
||||
.rest_xml_no_input => {
|
||||
const result = try client.call(services.s3.list_buckets.Request{}, options);
|
||||
defer result.deinit();
|
||||
|
|
91
src/test_ec2_query_no_input.response
Normal file
91
src/test_ec2_query_no_input.response
Normal file
|
@ -0,0 +1,91 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<DescribeRegionsResponse xmlns="http://ec2.amazonaws.com/doc/2016-11-15/">
|
||||
<requestId>4cdbdd69-800c-49b5-8474-ae4c17709782</requestId>
|
||||
<regionInfo>
|
||||
<item>
|
||||
<regionName>ap-south-1</regionName>
|
||||
<regionEndpoint>ec2.ap-south-1.amazonaws.com</regionEndpoint>
|
||||
<optInStatus>opt-in-not-required</optInStatus>
|
||||
</item>
|
||||
<item>
|
||||
<regionName>eu-north-1</regionName>
|
||||
<regionEndpoint>ec2.eu-north-1.amazonaws.com</regionEndpoint>
|
||||
<optInStatus>opt-in-not-required</optInStatus>
|
||||
</item>
|
||||
<item>
|
||||
<regionName>eu-west-3</regionName>
|
||||
<regionEndpoint>ec2.eu-west-3.amazonaws.com</regionEndpoint>
|
||||
<optInStatus>opt-in-not-required</optInStatus>
|
||||
</item>
|
||||
<item>
|
||||
<regionName>eu-west-2</regionName>
|
||||
<regionEndpoint>ec2.eu-west-2.amazonaws.com</regionEndpoint>
|
||||
<optInStatus>opt-in-not-required</optInStatus>
|
||||
</item>
|
||||
<item>
|
||||
<regionName>eu-west-1</regionName>
|
||||
<regionEndpoint>ec2.eu-west-1.amazonaws.com</regionEndpoint>
|
||||
<optInStatus>opt-in-not-required</optInStatus>
|
||||
</item>
|
||||
<item>
|
||||
<regionName>ap-northeast-3</regionName>
|
||||
<regionEndpoint>ec2.ap-northeast-3.amazonaws.com</regionEndpoint>
|
||||
<optInStatus>opt-in-not-required</optInStatus>
|
||||
</item>
|
||||
<item>
|
||||
<regionName>ap-northeast-2</regionName>
|
||||
<regionEndpoint>ec2.ap-northeast-2.amazonaws.com</regionEndpoint>
|
||||
<optInStatus>opt-in-not-required</optInStatus>
|
||||
</item>
|
||||
<item>
|
||||
<regionName>ap-northeast-1</regionName>
|
||||
<regionEndpoint>ec2.ap-northeast-1.amazonaws.com</regionEndpoint>
|
||||
<optInStatus>opt-in-not-required</optInStatus>
|
||||
</item>
|
||||
<item>
|
||||
<regionName>ca-central-1</regionName>
|
||||
<regionEndpoint>ec2.ca-central-1.amazonaws.com</regionEndpoint>
|
||||
<optInStatus>opt-in-not-required</optInStatus>
|
||||
</item>
|
||||
<item>
|
||||
<regionName>sa-east-1</regionName>
|
||||
<regionEndpoint>ec2.sa-east-1.amazonaws.com</regionEndpoint>
|
||||
<optInStatus>opt-in-not-required</optInStatus>
|
||||
</item>
|
||||
<item>
|
||||
<regionName>ap-southeast-1</regionName>
|
||||
<regionEndpoint>ec2.ap-southeast-1.amazonaws.com</regionEndpoint>
|
||||
<optInStatus>opt-in-not-required</optInStatus>
|
||||
</item>
|
||||
<item>
|
||||
<regionName>ap-southeast-2</regionName>
|
||||
<regionEndpoint>ec2.ap-southeast-2.amazonaws.com</regionEndpoint>
|
||||
<optInStatus>opt-in-not-required</optInStatus>
|
||||
</item>
|
||||
<item>
|
||||
<regionName>eu-central-1</regionName>
|
||||
<regionEndpoint>ec2.eu-central-1.amazonaws.com</regionEndpoint>
|
||||
<optInStatus>opt-in-not-required</optInStatus>
|
||||
</item>
|
||||
<item>
|
||||
<regionName>us-east-1</regionName>
|
||||
<regionEndpoint>ec2.us-east-1.amazonaws.com</regionEndpoint>
|
||||
<optInStatus>opt-in-not-required</optInStatus>
|
||||
</item>
|
||||
<item>
|
||||
<regionName>us-east-2</regionName>
|
||||
<regionEndpoint>ec2.us-east-2.amazonaws.com</regionEndpoint>
|
||||
<optInStatus>opt-in-not-required</optInStatus>
|
||||
</item>
|
||||
<item>
|
||||
<regionName>us-west-1</regionName>
|
||||
<regionEndpoint>ec2.us-west-1.amazonaws.com</regionEndpoint>
|
||||
<optInStatus>opt-in-not-required</optInStatus>
|
||||
</item>
|
||||
<item>
|
||||
<regionName>us-west-2</regionName>
|
||||
<regionEndpoint>ec2.us-west-2.amazonaws.com</regionEndpoint>
|
||||
<optInStatus>opt-in-not-required</optInStatus>
|
||||
</item>
|
||||
</regionInfo>
|
||||
</DescribeRegionsResponse>
|
955
src/test_ec2_query_with_input.response
Normal file
955
src/test_ec2_query_with_input.response
Normal file
|
@ -0,0 +1,955 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<DescribeInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2016-11-15/">
|
||||
<requestId>150a14cc-785d-476f-a4c9-2aa4d03b14e2</requestId>
|
||||
<reservationSet>
|
||||
<item>
|
||||
<reservationId>r-0aa8dc779a7a3a76a</reservationId>
|
||||
<ownerId>550620852718</ownerId>
|
||||
<groupSet/>
|
||||
<instancesSet>
|
||||
<item>
|
||||
<instanceId>i-07d9a800b9cf6cb02</instanceId>
|
||||
<imageId>ami-0e9dbfecae1768f17</imageId>
|
||||
<instanceState>
|
||||
<code>80</code>
|
||||
<name>stopped</name>
|
||||
</instanceState>
|
||||
<privateDnsName>ip-172-31-28-124.us-west-2.compute.internal</privateDnsName>
|
||||
<dnsName/>
|
||||
<reason>User initiated</reason>
|
||||
<amiLaunchIndex>0</amiLaunchIndex>
|
||||
<productCodes/>
|
||||
<instanceType>t3.small</instanceType>
|
||||
<launchTime>2023-02-10T22:15:05.000Z</launchTime>
|
||||
<placement>
|
||||
<availabilityZone>us-west-2b</availabilityZone>
|
||||
<groupName/>
|
||||
<tenancy>default</tenancy>
|
||||
</placement>
|
||||
<monitoring>
|
||||
<state>disabled</state>
|
||||
</monitoring>
|
||||
<subnetId>subnet-1f3f4278</subnetId>
|
||||
<vpcId>vpc-dc2402bb</vpcId>
|
||||
<privateIpAddress>172.31.28.124</privateIpAddress>
|
||||
<sourceDestCheck>true</sourceDestCheck>
|
||||
<groupSet>
|
||||
<item>
|
||||
<groupId>sg-08f08fa2f77bc26f4</groupId>
|
||||
<groupName>aws-cloud9-foo-394ec61bf1ca40188ec0701578b99e68-InstanceSecurityGroup-X63389OZJE9A</groupName>
|
||||
</item>
|
||||
</groupSet>
|
||||
<stateReason>
|
||||
<code>Client.InstanceInitiatedShutdown</code>
|
||||
<message>Client.InstanceInitiatedShutdown: Instance initiated shutdown</message>
|
||||
</stateReason>
|
||||
<architecture>x86_64</architecture>
|
||||
<rootDeviceType>ebs</rootDeviceType>
|
||||
<rootDeviceName>/dev/xvda</rootDeviceName>
|
||||
<blockDeviceMapping>
|
||||
<item>
|
||||
<deviceName>/dev/xvda</deviceName>
|
||||
<ebs>
|
||||
<volumeId>vol-00f20d00c3e7793db</volumeId>
|
||||
<status>attached</status>
|
||||
<attachTime>2021-07-14T16:56:39.000Z</attachTime>
|
||||
<deleteOnTermination>true</deleteOnTermination>
|
||||
</ebs>
|
||||
</item>
|
||||
</blockDeviceMapping>
|
||||
<virtualizationType>hvm</virtualizationType>
|
||||
<clientToken>aws-c-Insta-13W4473LX3CZH</clientToken>
|
||||
<tagSet>
|
||||
<item>
|
||||
<key>aws:cloud9:environment</key>
|
||||
<value>394ec61bf1ca40188ec0701578b99e68</value>
|
||||
</item>
|
||||
<item>
|
||||
<key>aws:cloudformation:logical-id</key>
|
||||
<value>Instance</value>
|
||||
</item>
|
||||
<item>
|
||||
<key>Name</key>
|
||||
<value>aws-cloud9-foo-394ec61bf1ca40188ec0701578b99e68</value>
|
||||
</item>
|
||||
<item>
|
||||
<key>aws:cloud9:owner</key>
|
||||
<value>550620852718:admin-nucman</value>
|
||||
</item>
|
||||
<item>
|
||||
<key>aws:cloudformation:stack-name</key>
|
||||
<value>aws-cloud9-foo-394ec61bf1ca40188ec0701578b99e68</value>
|
||||
</item>
|
||||
<item>
|
||||
<key>aws:cloudformation:stack-id</key>
|
||||
<value>arn:aws:cloudformation:us-west-2:550620852718:stack/aws-cloud9-foo-394ec61bf1ca40188ec0701578b99e68/6c4bec10-e4c4-11eb-8338-0266575e789f</value>
|
||||
</item>
|
||||
</tagSet>
|
||||
<hypervisor>xen</hypervisor>
|
||||
<networkInterfaceSet>
|
||||
<item>
|
||||
<networkInterfaceId>eni-0aea22ab476c131e8</networkInterfaceId>
|
||||
<subnetId>subnet-1f3f4278</subnetId>
|
||||
<vpcId>vpc-dc2402bb</vpcId>
|
||||
<description/>
|
||||
<ownerId>550620852718</ownerId>
|
||||
<status>in-use</status>
|
||||
<macAddress>02:e4:fe:61:88:ad</macAddress>
|
||||
<privateIpAddress>172.31.28.124</privateIpAddress>
|
||||
<privateDnsName>ip-172-31-28-124.us-west-2.compute.internal</privateDnsName>
|
||||
<sourceDestCheck>true</sourceDestCheck>
|
||||
<groupSet>
|
||||
<item>
|
||||
<groupId>sg-08f08fa2f77bc26f4</groupId>
|
||||
<groupName>aws-cloud9-foo-394ec61bf1ca40188ec0701578b99e68-InstanceSecurityGroup-X63389OZJE9A</groupName>
|
||||
</item>
|
||||
</groupSet>
|
||||
<attachment>
|
||||
<attachmentId>eni-attach-031a23d21bd9a9675</attachmentId>
|
||||
<deviceIndex>0</deviceIndex>
|
||||
<status>attached</status>
|
||||
<attachTime>2021-07-14T16:56:38.000Z</attachTime>
|
||||
<deleteOnTermination>true</deleteOnTermination>
|
||||
<networkCardIndex>0</networkCardIndex>
|
||||
</attachment>
|
||||
<privateIpAddressesSet>
|
||||
<item>
|
||||
<privateIpAddress>172.31.28.124</privateIpAddress>
|
||||
<privateDnsName>ip-172-31-28-124.us-west-2.compute.internal</privateDnsName>
|
||||
<primary>true</primary>
|
||||
</item>
|
||||
</privateIpAddressesSet>
|
||||
<ipv6AddressesSet/>
|
||||
<interfaceType>interface</interfaceType>
|
||||
</item>
|
||||
</networkInterfaceSet>
|
||||
<ebsOptimized>false</ebsOptimized>
|
||||
<enaSupport>true</enaSupport>
|
||||
<cpuOptions>
|
||||
<coreCount>1</coreCount>
|
||||
<threadsPerCore>2</threadsPerCore>
|
||||
</cpuOptions>
|
||||
<capacityReservationSpecification>
|
||||
<capacityReservationPreference>open</capacityReservationPreference>
|
||||
</capacityReservationSpecification>
|
||||
<hibernationOptions>
|
||||
<configured>false</configured>
|
||||
</hibernationOptions>
|
||||
<enclaveOptions>
|
||||
<enabled>false</enabled>
|
||||
</enclaveOptions>
|
||||
<metadataOptions>
|
||||
<state>applied</state>
|
||||
<httpTokens>optional</httpTokens>
|
||||
<httpPutResponseHopLimit>1</httpPutResponseHopLimit>
|
||||
<httpEndpoint>enabled</httpEndpoint>
|
||||
<httpProtocolIpv4>enabled</httpProtocolIpv4>
|
||||
<httpProtocolIpv6>disabled</httpProtocolIpv6>
|
||||
<instanceMetadataTags>disabled</instanceMetadataTags>
|
||||
</metadataOptions>
|
||||
<maintenanceOptions>
|
||||
<autoRecovery>default</autoRecovery>
|
||||
</maintenanceOptions>
|
||||
<platformDetails>Linux/UNIX</platformDetails>
|
||||
<usageOperation>RunInstances</usageOperation>
|
||||
<usageOperationUpdateTime>2021-07-14T16:56:38.000Z</usageOperationUpdateTime>
|
||||
<privateDnsNameOptions/>
|
||||
</item>
|
||||
</instancesSet>
|
||||
<requesterId>658754138699</requesterId>
|
||||
</item>
|
||||
<item>
|
||||
<reservationId>r-0940490b7bdb0836c</reservationId>
|
||||
<ownerId>550620852718</ownerId>
|
||||
<groupSet/>
|
||||
<instancesSet>
|
||||
<item>
|
||||
<instanceId>i-0212d7d1f62b96676</instanceId>
|
||||
<imageId>ami-070f8ba3a2c0afce0</imageId>
|
||||
<instanceState>
|
||||
<code>80</code>
|
||||
<name>stopped</name>
|
||||
</instanceState>
|
||||
<privateDnsName>ip-172-31-30-83.us-west-2.compute.internal</privateDnsName>
|
||||
<dnsName/>
|
||||
<reason>User initiated</reason>
|
||||
<amiLaunchIndex>0</amiLaunchIndex>
|
||||
<productCodes/>
|
||||
<instanceType>t2.micro</instanceType>
|
||||
<launchTime>2023-02-11T21:53:47.000Z</launchTime>
|
||||
<placement>
|
||||
<availabilityZone>us-west-2b</availabilityZone>
|
||||
<groupName/>
|
||||
<tenancy>default</tenancy>
|
||||
</placement>
|
||||
<monitoring>
|
||||
<state>disabled</state>
|
||||
</monitoring>
|
||||
<subnetId>subnet-1f3f4278</subnetId>
|
||||
<vpcId>vpc-dc2402bb</vpcId>
|
||||
<privateIpAddress>172.31.30.83</privateIpAddress>
|
||||
<sourceDestCheck>true</sourceDestCheck>
|
||||
<groupSet>
|
||||
<item>
|
||||
<groupId>sg-0e3ac4cfe81bc1c2b</groupId>
|
||||
<groupName>aws-cloud9-bar-d504651a56f2445b8982d417aafd085a-InstanceSecurityGroup-1OZKQYO8KIOME</groupName>
|
||||
</item>
|
||||
</groupSet>
|
||||
<stateReason>
|
||||
<code>Client.InstanceInitiatedShutdown</code>
|
||||
<message>Client.InstanceInitiatedShutdown: Instance initiated shutdown</message>
|
||||
</stateReason>
|
||||
<architecture>x86_64</architecture>
|
||||
<rootDeviceType>ebs</rootDeviceType>
|
||||
<rootDeviceName>/dev/xvda</rootDeviceName>
|
||||
<blockDeviceMapping>
|
||||
<item>
|
||||
<deviceName>/dev/xvda</deviceName>
|
||||
<ebs>
|
||||
<volumeId>vol-0cc762b2f841ecaf4</volumeId>
|
||||
<status>attached</status>
|
||||
<attachTime>2021-10-05T19:33:33.000Z</attachTime>
|
||||
<deleteOnTermination>true</deleteOnTermination>
|
||||
</ebs>
|
||||
</item>
|
||||
</blockDeviceMapping>
|
||||
<virtualizationType>hvm</virtualizationType>
|
||||
<clientToken>aws-c-Insta-35XWJJQHYLPT</clientToken>
|
||||
<tagSet>
|
||||
<item>
|
||||
<key>aws:cloud9:owner</key>
|
||||
<value>123456789012:found-me</value>
|
||||
</item>
|
||||
<item>
|
||||
<key>aws:cloudformation:stack-id</key>
|
||||
<value>arn:aws:cloudformation:us-west-2:550620852718:stack/aws-cloud9-bar-d504651a56f2445b8982d417aafd085a/17dff4b0-2613-11ec-9c03-06b5f025c307</value>
|
||||
</item>
|
||||
<item>
|
||||
<key>Name</key>
|
||||
<value>aws-cloud9-bar-d504651a56f2445b8982d417aafd085a</value>
|
||||
</item>
|
||||
<item>
|
||||
<key>aws:cloudformation:stack-name</key>
|
||||
<value>aws-cloud9-bar-d504651a56f2445b8982d417aafd085a</value>
|
||||
</item>
|
||||
<item>
|
||||
<key>aws:cloud9:environment</key>
|
||||
<value>d504651a56f2445b8982d417aafd085a</value>
|
||||
</item>
|
||||
<item>
|
||||
<key>aws:cloudformation:logical-id</key>
|
||||
<value>Instance</value>
|
||||
</item>
|
||||
</tagSet>
|
||||
<hypervisor>xen</hypervisor>
|
||||
<networkInterfaceSet>
|
||||
<item>
|
||||
<networkInterfaceId>eni-06d01abe13a5a46bd</networkInterfaceId>
|
||||
<subnetId>subnet-1f3f4278</subnetId>
|
||||
<vpcId>vpc-dc2402bb</vpcId>
|
||||
<description/>
|
||||
<ownerId>550620852718</ownerId>
|
||||
<status>in-use</status>
|
||||
<macAddress>02:74:c8:f4:85:15</macAddress>
|
||||
<privateIpAddress>172.31.30.83</privateIpAddress>
|
||||
<privateDnsName>ip-172-31-30-83.us-west-2.compute.internal</privateDnsName>
|
||||
<sourceDestCheck>true</sourceDestCheck>
|
||||
<groupSet>
|
||||
<item>
|
||||
<groupId>sg-0e3ac4cfe81bc1c2b</groupId>
|
||||
<groupName>aws-cloud9-bar-d504651a56f2445b8982d417aafd085a-InstanceSecurityGroup-1OZKQYO8KIOME</groupName>
|
||||
</item>
|
||||
</groupSet>
|
||||
<attachment>
|
||||
<attachmentId>eni-attach-00f488a53bae93f93</attachmentId>
|
||||
<deviceIndex>0</deviceIndex>
|
||||
<status>attached</status>
|
||||
<attachTime>2021-10-05T19:33:32.000Z</attachTime>
|
||||
<deleteOnTermination>true</deleteOnTermination>
|
||||
<networkCardIndex>0</networkCardIndex>
|
||||
</attachment>
|
||||
<privateIpAddressesSet>
|
||||
<item>
|
||||
<privateIpAddress>172.31.30.83</privateIpAddress>
|
||||
<privateDnsName>ip-172-31-30-83.us-west-2.compute.internal</privateDnsName>
|
||||
<primary>true</primary>
|
||||
</item>
|
||||
</privateIpAddressesSet>
|
||||
<ipv6AddressesSet/>
|
||||
<interfaceType>interface</interfaceType>
|
||||
</item>
|
||||
</networkInterfaceSet>
|
||||
<iamInstanceProfile>
|
||||
<arn>arn:aws:iam::550620852718:instance-profile/cloud9/AWSCloud9SSMInstanceProfile</arn>
|
||||
<id>AIPAYAM4POHXJTV7DRBSG</id>
|
||||
</iamInstanceProfile>
|
||||
<ebsOptimized>false</ebsOptimized>
|
||||
<enaSupport>true</enaSupport>
|
||||
<cpuOptions>
|
||||
<coreCount>1</coreCount>
|
||||
<threadsPerCore>1</threadsPerCore>
|
||||
</cpuOptions>
|
||||
<capacityReservationSpecification>
|
||||
<capacityReservationPreference>open</capacityReservationPreference>
|
||||
</capacityReservationSpecification>
|
||||
<hibernationOptions>
|
||||
<configured>false</configured>
|
||||
</hibernationOptions>
|
||||
<enclaveOptions>
|
||||
<enabled>false</enabled>
|
||||
</enclaveOptions>
|
||||
<metadataOptions>
|
||||
<state>applied</state>
|
||||
<httpTokens>optional</httpTokens>
|
||||
<httpPutResponseHopLimit>1</httpPutResponseHopLimit>
|
||||
<httpEndpoint>enabled</httpEndpoint>
|
||||
<httpProtocolIpv4>enabled</httpProtocolIpv4>
|
||||
<httpProtocolIpv6>disabled</httpProtocolIpv6>
|
||||
<instanceMetadataTags>disabled</instanceMetadataTags>
|
||||
</metadataOptions>
|
||||
<maintenanceOptions>
|
||||
<autoRecovery>default</autoRecovery>
|
||||
</maintenanceOptions>
|
||||
<platformDetails>Linux/UNIX</platformDetails>
|
||||
<usageOperation>RunInstances</usageOperation>
|
||||
<usageOperationUpdateTime>2021-10-05T19:33:32.000Z</usageOperationUpdateTime>
|
||||
<privateDnsNameOptions>
|
||||
<hostnameType>ip-name</hostnameType>
|
||||
<enableResourceNameDnsARecord>false</enableResourceNameDnsARecord>
|
||||
<enableResourceNameDnsAAAARecord>false</enableResourceNameDnsAAAARecord>
|
||||
</privateDnsNameOptions>
|
||||
</item>
|
||||
</instancesSet>
|
||||
<requesterId>658754138699</requesterId>
|
||||
</item>
|
||||
<item>
|
||||
<reservationId>r-048a68824329ee47a</reservationId>
|
||||
<ownerId>550620852718</ownerId>
|
||||
<groupSet/>
|
||||
<instancesSet>
|
||||
<item>
|
||||
<instanceId>i-09bbf88c328330f55</instanceId>
|
||||
<imageId>ami-0d70650c3afa9cf54</imageId>
|
||||
<instanceState>
|
||||
<code>16</code>
|
||||
<name>running</name>
|
||||
</instanceState>
|
||||
<privateDnsName>ip-172-31-48-236.us-west-2.compute.internal</privateDnsName>
|
||||
<dnsName>ec2-44-234-48-55.us-west-2.compute.amazonaws.com</dnsName>
|
||||
<reason/>
|
||||
<keyName>_gpg</keyName>
|
||||
<amiLaunchIndex>0</amiLaunchIndex>
|
||||
<productCodes/>
|
||||
<instanceType>c7g.2xlarge</instanceType>
|
||||
<launchTime>2022-10-19T15:37:09.000Z</launchTime>
|
||||
<placement>
|
||||
<availabilityZone>us-west-2d</availabilityZone>
|
||||
<groupName/>
|
||||
<tenancy>default</tenancy>
|
||||
</placement>
|
||||
<monitoring>
|
||||
<state>disabled</state>
|
||||
</monitoring>
|
||||
<subnetId>subnet-7ba0e853</subnetId>
|
||||
<vpcId>vpc-dc2402bb</vpcId>
|
||||
<privateIpAddress>172.31.48.236</privateIpAddress>
|
||||
<ipAddress>44.234.48.55</ipAddress>
|
||||
<sourceDestCheck>true</sourceDestCheck>
|
||||
<groupSet>
|
||||
<item>
|
||||
<groupId>sg-03741fd6a7596690b</groupId>
|
||||
<groupName>ssh</groupName>
|
||||
</item>
|
||||
<item>
|
||||
<groupId>sg-0aab58c6b2bde2105</groupId>
|
||||
<groupName>outbound</groupName>
|
||||
</item>
|
||||
</groupSet>
|
||||
<architecture>arm64</architecture>
|
||||
<rootDeviceType>ebs</rootDeviceType>
|
||||
<rootDeviceName>/dev/xvda</rootDeviceName>
|
||||
<blockDeviceMapping>
|
||||
<item>
|
||||
<deviceName>/dev/xvda</deviceName>
|
||||
<ebs>
|
||||
<volumeId>vol-0a323996268256b3e</volumeId>
|
||||
<status>attached</status>
|
||||
<attachTime>2022-10-19T15:37:10.000Z</attachTime>
|
||||
<deleteOnTermination>true</deleteOnTermination>
|
||||
</ebs>
|
||||
</item>
|
||||
</blockDeviceMapping>
|
||||
<virtualizationType>hvm</virtualizationType>
|
||||
<clientToken/>
|
||||
<tagSet>
|
||||
<item>
|
||||
<key>Name</key>
|
||||
<value>arm-me</value>
|
||||
</item>
|
||||
</tagSet>
|
||||
<hypervisor>xen</hypervisor>
|
||||
<networkInterfaceSet>
|
||||
<item>
|
||||
<networkInterfaceId>eni-0f4c43dfaa43f064b</networkInterfaceId>
|
||||
<subnetId>subnet-7ba0e853</subnetId>
|
||||
<vpcId>vpc-dc2402bb</vpcId>
|
||||
<description/>
|
||||
<ownerId>550620852718</ownerId>
|
||||
<status>in-use</status>
|
||||
<macAddress>0e:21:01:2e:ef:c5</macAddress>
|
||||
<privateIpAddress>172.31.48.236</privateIpAddress>
|
||||
<privateDnsName>ip-172-31-48-236.us-west-2.compute.internal</privateDnsName>
|
||||
<sourceDestCheck>true</sourceDestCheck>
|
||||
<groupSet>
|
||||
<item>
|
||||
<groupId>sg-03741fd6a7596690b</groupId>
|
||||
<groupName>ssh</groupName>
|
||||
</item>
|
||||
<item>
|
||||
<groupId>sg-0aab58c6b2bde2105</groupId>
|
||||
<groupName>outbound</groupName>
|
||||
</item>
|
||||
</groupSet>
|
||||
<attachment>
|
||||
<attachmentId>eni-attach-080d7f5a8d0357389</attachmentId>
|
||||
<deviceIndex>0</deviceIndex>
|
||||
<status>attached</status>
|
||||
<attachTime>2022-10-19T15:37:09.000Z</attachTime>
|
||||
<deleteOnTermination>true</deleteOnTermination>
|
||||
<networkCardIndex>0</networkCardIndex>
|
||||
</attachment>
|
||||
<association>
|
||||
<publicIp>44.234.48.55</publicIp>
|
||||
<publicDnsName>ec2-44-234-48-55.us-west-2.compute.amazonaws.com</publicDnsName>
|
||||
<ipOwnerId>amazon</ipOwnerId>
|
||||
</association>
|
||||
<privateIpAddressesSet>
|
||||
<item>
|
||||
<privateIpAddress>172.31.48.236</privateIpAddress>
|
||||
<privateDnsName>ip-172-31-48-236.us-west-2.compute.internal</privateDnsName>
|
||||
<primary>true</primary>
|
||||
<association>
|
||||
<publicIp>44.234.48.55</publicIp>
|
||||
<publicDnsName>ec2-44-234-48-55.us-west-2.compute.amazonaws.com</publicDnsName>
|
||||
<ipOwnerId>amazon</ipOwnerId>
|
||||
</association>
|
||||
</item>
|
||||
</privateIpAddressesSet>
|
||||
<ipv6AddressesSet/>
|
||||
<interfaceType>interface</interfaceType>
|
||||
</item>
|
||||
</networkInterfaceSet>
|
||||
<iamInstanceProfile>
|
||||
<arn>arn:aws:iam::550620852718:instance-profile/ec2-dev</arn>
|
||||
<id>AIPAYAM4POHXCFNKZ7HU2</id>
|
||||
</iamInstanceProfile>
|
||||
<ebsOptimized>true</ebsOptimized>
|
||||
<enaSupport>true</enaSupport>
|
||||
<cpuOptions>
|
||||
<coreCount>8</coreCount>
|
||||
<threadsPerCore>1</threadsPerCore>
|
||||
</cpuOptions>
|
||||
<capacityReservationSpecification>
|
||||
<capacityReservationPreference>open</capacityReservationPreference>
|
||||
</capacityReservationSpecification>
|
||||
<hibernationOptions>
|
||||
<configured>false</configured>
|
||||
</hibernationOptions>
|
||||
<enclaveOptions>
|
||||
<enabled>false</enabled>
|
||||
</enclaveOptions>
|
||||
<metadataOptions>
|
||||
<state>applied</state>
|
||||
<httpTokens>optional</httpTokens>
|
||||
<httpPutResponseHopLimit>1</httpPutResponseHopLimit>
|
||||
<httpEndpoint>enabled</httpEndpoint>
|
||||
<httpProtocolIpv4>enabled</httpProtocolIpv4>
|
||||
<httpProtocolIpv6>disabled</httpProtocolIpv6>
|
||||
<instanceMetadataTags>disabled</instanceMetadataTags>
|
||||
</metadataOptions>
|
||||
<maintenanceOptions>
|
||||
<autoRecovery>default</autoRecovery>
|
||||
</maintenanceOptions>
|
||||
<bootMode>uefi</bootMode>
|
||||
<currentInstanceBootMode>uefi</currentInstanceBootMode>
|
||||
<platformDetails>Linux/UNIX</platformDetails>
|
||||
<usageOperation>RunInstances</usageOperation>
|
||||
<usageOperationUpdateTime>2022-10-19T15:37:09.000Z</usageOperationUpdateTime>
|
||||
<privateDnsNameOptions>
|
||||
<hostnameType>ip-name</hostnameType>
|
||||
<enableResourceNameDnsARecord>true</enableResourceNameDnsARecord>
|
||||
<enableResourceNameDnsAAAARecord>false</enableResourceNameDnsAAAARecord>
|
||||
</privateDnsNameOptions>
|
||||
</item>
|
||||
</instancesSet>
|
||||
</item>
|
||||
<item>
|
||||
<reservationId>r-0cfdc8df25b50065c</reservationId>
|
||||
<ownerId>550620852718</ownerId>
|
||||
<groupSet/>
|
||||
<instancesSet>
|
||||
<item>
|
||||
<instanceId>i-0e434844bd11cfb89</instanceId>
|
||||
<imageId>ami-0530ca8899fac469f</imageId>
|
||||
<instanceState>
|
||||
<code>80</code>
|
||||
<name>stopped</name>
|
||||
</instanceState>
|
||||
<privateDnsName>ip-172-31-2-86.us-west-2.compute.internal</privateDnsName>
|
||||
<dnsName/>
|
||||
<reason>User initiated (2023-04-24 18:22:48 GMT)</reason>
|
||||
<keyName>_gpg</keyName>
|
||||
<amiLaunchIndex>0</amiLaunchIndex>
|
||||
<productCodes/>
|
||||
<instanceType>m6id.8xlarge</instanceType>
|
||||
<launchTime>2023-04-24T18:18:57.000Z</launchTime>
|
||||
<placement>
|
||||
<availabilityZone>us-west-2c</availabilityZone>
|
||||
<groupName/>
|
||||
<tenancy>default</tenancy>
|
||||
</placement>
|
||||
<monitoring>
|
||||
<state>disabled</state>
|
||||
</monitoring>
|
||||
<subnetId>subnet-278b697c</subnetId>
|
||||
<vpcId>vpc-dc2402bb</vpcId>
|
||||
<privateIpAddress>172.31.2.86</privateIpAddress>
|
||||
<sourceDestCheck>true</sourceDestCheck>
|
||||
<groupSet>
|
||||
<item>
|
||||
<groupId>sg-03741fd6a7596690b</groupId>
|
||||
<groupName>ssh</groupName>
|
||||
</item>
|
||||
<item>
|
||||
<groupId>sg-0aab58c6b2bde2105</groupId>
|
||||
<groupName>outbound</groupName>
|
||||
</item>
|
||||
</groupSet>
|
||||
<stateReason>
|
||||
<code>Client.UserInitiatedShutdown</code>
|
||||
<message>Client.UserInitiatedShutdown: User initiated shutdown</message>
|
||||
</stateReason>
|
||||
<architecture>x86_64</architecture>
|
||||
<rootDeviceType>ebs</rootDeviceType>
|
||||
<rootDeviceName>/dev/sda1</rootDeviceName>
|
||||
<blockDeviceMapping>
|
||||
<item>
|
||||
<deviceName>/dev/sda1</deviceName>
|
||||
<ebs>
|
||||
<volumeId>vol-0572331907eba7cac</volumeId>
|
||||
<status>attached</status>
|
||||
<attachTime>2022-12-19T22:47:27.000Z</attachTime>
|
||||
<deleteOnTermination>true</deleteOnTermination>
|
||||
</ebs>
|
||||
</item>
|
||||
</blockDeviceMapping>
|
||||
<virtualizationType>hvm</virtualizationType>
|
||||
<clientToken>764d0ed4-c07c-4a2b-ad47-f7898e22679f</clientToken>
|
||||
<tagSet>
|
||||
<item>
|
||||
<key>Name</key>
|
||||
<value>builder (ubuntu)</value>
|
||||
</item>
|
||||
</tagSet>
|
||||
<hypervisor>xen</hypervisor>
|
||||
<networkInterfaceSet>
|
||||
<item>
|
||||
<networkInterfaceId>eni-04535f1fa4ad08d3b</networkInterfaceId>
|
||||
<subnetId>subnet-278b697c</subnetId>
|
||||
<vpcId>vpc-dc2402bb</vpcId>
|
||||
<description/>
|
||||
<ownerId>550620852718</ownerId>
|
||||
<status>in-use</status>
|
||||
<macAddress>0a:b1:ac:e1:ff:7b</macAddress>
|
||||
<privateIpAddress>172.31.2.86</privateIpAddress>
|
||||
<privateDnsName>ip-172-31-2-86.us-west-2.compute.internal</privateDnsName>
|
||||
<sourceDestCheck>true</sourceDestCheck>
|
||||
<groupSet>
|
||||
<item>
|
||||
<groupId>sg-03741fd6a7596690b</groupId>
|
||||
<groupName>ssh</groupName>
|
||||
</item>
|
||||
<item>
|
||||
<groupId>sg-0aab58c6b2bde2105</groupId>
|
||||
<groupName>outbound</groupName>
|
||||
</item>
|
||||
</groupSet>
|
||||
<attachment>
|
||||
<attachmentId>eni-attach-00a2004472baad6f5</attachmentId>
|
||||
<deviceIndex>0</deviceIndex>
|
||||
<status>attached</status>
|
||||
<attachTime>2022-12-19T22:47:26.000Z</attachTime>
|
||||
<deleteOnTermination>true</deleteOnTermination>
|
||||
<networkCardIndex>0</networkCardIndex>
|
||||
</attachment>
|
||||
<privateIpAddressesSet>
|
||||
<item>
|
||||
<privateIpAddress>172.31.2.86</privateIpAddress>
|
||||
<privateDnsName>ip-172-31-2-86.us-west-2.compute.internal</privateDnsName>
|
||||
<primary>true</primary>
|
||||
</item>
|
||||
</privateIpAddressesSet>
|
||||
<ipv6AddressesSet/>
|
||||
<interfaceType>interface</interfaceType>
|
||||
</item>
|
||||
</networkInterfaceSet>
|
||||
<iamInstanceProfile>
|
||||
<arn>arn:aws:iam::550620852718:instance-profile/ec2-dev</arn>
|
||||
<id>AIPAYAM4POHXCFNKZ7HU2</id>
|
||||
</iamInstanceProfile>
|
||||
<ebsOptimized>true</ebsOptimized>
|
||||
<enaSupport>true</enaSupport>
|
||||
<cpuOptions>
|
||||
<coreCount>16</coreCount>
|
||||
<threadsPerCore>2</threadsPerCore>
|
||||
</cpuOptions>
|
||||
<capacityReservationSpecification>
|
||||
<capacityReservationPreference>open</capacityReservationPreference>
|
||||
</capacityReservationSpecification>
|
||||
<hibernationOptions>
|
||||
<configured>false</configured>
|
||||
</hibernationOptions>
|
||||
<enclaveOptions>
|
||||
<enabled>false</enabled>
|
||||
</enclaveOptions>
|
||||
<metadataOptions>
|
||||
<state>applied</state>
|
||||
<httpTokens>optional</httpTokens>
|
||||
<httpPutResponseHopLimit>1</httpPutResponseHopLimit>
|
||||
<httpEndpoint>enabled</httpEndpoint>
|
||||
<httpProtocolIpv4>enabled</httpProtocolIpv4>
|
||||
<httpProtocolIpv6>disabled</httpProtocolIpv6>
|
||||
<instanceMetadataTags>disabled</instanceMetadataTags>
|
||||
</metadataOptions>
|
||||
<maintenanceOptions>
|
||||
<autoRecovery>default</autoRecovery>
|
||||
</maintenanceOptions>
|
||||
<currentInstanceBootMode>legacy-bios</currentInstanceBootMode>
|
||||
<platformDetails>Linux/UNIX</platformDetails>
|
||||
<usageOperation>RunInstances</usageOperation>
|
||||
<usageOperationUpdateTime>2022-12-19T22:47:26.000Z</usageOperationUpdateTime>
|
||||
<privateDnsNameOptions>
|
||||
<hostnameType>ip-name</hostnameType>
|
||||
<enableResourceNameDnsARecord>true</enableResourceNameDnsARecord>
|
||||
<enableResourceNameDnsAAAARecord>false</enableResourceNameDnsAAAARecord>
|
||||
</privateDnsNameOptions>
|
||||
</item>
|
||||
</instancesSet>
|
||||
</item>
|
||||
<item>
|
||||
<reservationId>r-02704dc87c670d484</reservationId>
|
||||
<ownerId>550620852718</ownerId>
|
||||
<groupSet/>
|
||||
<instancesSet>
|
||||
<item>
|
||||
<instanceId>i-0db69c8b15bd5e14c</instanceId>
|
||||
<imageId>ami-039965e18092d85cb</imageId>
|
||||
<instanceState>
|
||||
<code>16</code>
|
||||
<name>running</name>
|
||||
</instanceState>
|
||||
<privateDnsName>ip-172-31-6-203.us-west-2.compute.internal</privateDnsName>
|
||||
<dnsName>ec2-34-221-53-125.us-west-2.compute.amazonaws.com</dnsName>
|
||||
<reason/>
|
||||
<keyName>nucman</keyName>
|
||||
<amiLaunchIndex>0</amiLaunchIndex>
|
||||
<productCodes/>
|
||||
<instanceType>t2.xlarge</instanceType>
|
||||
<launchTime>2023-03-04T01:13:26.000Z</launchTime>
|
||||
<placement>
|
||||
<availabilityZone>us-west-2c</availabilityZone>
|
||||
<groupName/>
|
||||
<tenancy>default</tenancy>
|
||||
</placement>
|
||||
<platform>windows</platform>
|
||||
<monitoring>
|
||||
<state>disabled</state>
|
||||
</monitoring>
|
||||
<subnetId>subnet-278b697c</subnetId>
|
||||
<vpcId>vpc-dc2402bb</vpcId>
|
||||
<privateIpAddress>172.31.6.203</privateIpAddress>
|
||||
<ipAddress>34.221.53.125</ipAddress>
|
||||
<sourceDestCheck>true</sourceDestCheck>
|
||||
<groupSet>
|
||||
<item>
|
||||
<groupId>sg-00ffec335f6c35ce3</groupId>
|
||||
<groupName>rdp</groupName>
|
||||
</item>
|
||||
<item>
|
||||
<groupId>sg-0aab58c6b2bde2105</groupId>
|
||||
<groupName>outbound</groupName>
|
||||
</item>
|
||||
</groupSet>
|
||||
<architecture>x86_64</architecture>
|
||||
<rootDeviceType>ebs</rootDeviceType>
|
||||
<rootDeviceName>/dev/sda1</rootDeviceName>
|
||||
<blockDeviceMapping>
|
||||
<item>
|
||||
<deviceName>/dev/sda1</deviceName>
|
||||
<ebs>
|
||||
<volumeId>vol-00fbf5327243f6ca5</volumeId>
|
||||
<status>attached</status>
|
||||
<attachTime>2023-03-04T01:13:27.000Z</attachTime>
|
||||
<deleteOnTermination>true</deleteOnTermination>
|
||||
</ebs>
|
||||
</item>
|
||||
</blockDeviceMapping>
|
||||
<virtualizationType>hvm</virtualizationType>
|
||||
<clientToken>1677892442146</clientToken>
|
||||
<tagSet>
|
||||
<item>
|
||||
<key>Name</key>
|
||||
<value>VS/Windows 2022</value>
|
||||
</item>
|
||||
</tagSet>
|
||||
<hypervisor>xen</hypervisor>
|
||||
<networkInterfaceSet>
|
||||
<item>
|
||||
<networkInterfaceId>eni-00a01409b0642d384</networkInterfaceId>
|
||||
<subnetId>subnet-278b697c</subnetId>
|
||||
<vpcId>vpc-dc2402bb</vpcId>
|
||||
<description/>
|
||||
<ownerId>550620852718</ownerId>
|
||||
<status>in-use</status>
|
||||
<macAddress>0a:0d:5d:1b:3e:e3</macAddress>
|
||||
<privateIpAddress>172.31.6.203</privateIpAddress>
|
||||
<privateDnsName>ip-172-31-6-203.us-west-2.compute.internal</privateDnsName>
|
||||
<sourceDestCheck>true</sourceDestCheck>
|
||||
<groupSet>
|
||||
<item>
|
||||
<groupId>sg-00ffec335f6c35ce3</groupId>
|
||||
<groupName>rdp</groupName>
|
||||
</item>
|
||||
<item>
|
||||
<groupId>sg-0aab58c6b2bde2105</groupId>
|
||||
<groupName>outbound</groupName>
|
||||
</item>
|
||||
</groupSet>
|
||||
<attachment>
|
||||
<attachmentId>eni-attach-0c7227ad746fb2e90</attachmentId>
|
||||
<deviceIndex>0</deviceIndex>
|
||||
<status>attached</status>
|
||||
<attachTime>2023-03-04T01:13:26.000Z</attachTime>
|
||||
<deleteOnTermination>true</deleteOnTermination>
|
||||
<networkCardIndex>0</networkCardIndex>
|
||||
</attachment>
|
||||
<association>
|
||||
<publicIp>34.221.53.125</publicIp>
|
||||
<publicDnsName>ec2-34-221-53-125.us-west-2.compute.amazonaws.com</publicDnsName>
|
||||
<ipOwnerId>amazon</ipOwnerId>
|
||||
</association>
|
||||
<privateIpAddressesSet>
|
||||
<item>
|
||||
<privateIpAddress>172.31.6.203</privateIpAddress>
|
||||
<privateDnsName>ip-172-31-6-203.us-west-2.compute.internal</privateDnsName>
|
||||
<primary>true</primary>
|
||||
<association>
|
||||
<publicIp>34.221.53.125</publicIp>
|
||||
<publicDnsName>ec2-34-221-53-125.us-west-2.compute.amazonaws.com</publicDnsName>
|
||||
<ipOwnerId>amazon</ipOwnerId>
|
||||
</association>
|
||||
</item>
|
||||
</privateIpAddressesSet>
|
||||
<ipv6AddressesSet/>
|
||||
<interfaceType>interface</interfaceType>
|
||||
</item>
|
||||
</networkInterfaceSet>
|
||||
<ebsOptimized>false</ebsOptimized>
|
||||
<enaSupport>true</enaSupport>
|
||||
<cpuOptions>
|
||||
<coreCount>4</coreCount>
|
||||
<threadsPerCore>1</threadsPerCore>
|
||||
</cpuOptions>
|
||||
<capacityReservationSpecification>
|
||||
<capacityReservationPreference>open</capacityReservationPreference>
|
||||
</capacityReservationSpecification>
|
||||
<hibernationOptions>
|
||||
<configured>false</configured>
|
||||
</hibernationOptions>
|
||||
<enclaveOptions>
|
||||
<enabled>false</enabled>
|
||||
</enclaveOptions>
|
||||
<metadataOptions>
|
||||
<state>applied</state>
|
||||
<httpTokens>optional</httpTokens>
|
||||
<httpPutResponseHopLimit>1</httpPutResponseHopLimit>
|
||||
<httpEndpoint>enabled</httpEndpoint>
|
||||
<httpProtocolIpv4>enabled</httpProtocolIpv4>
|
||||
<httpProtocolIpv6>disabled</httpProtocolIpv6>
|
||||
<instanceMetadataTags>disabled</instanceMetadataTags>
|
||||
</metadataOptions>
|
||||
<maintenanceOptions>
|
||||
<autoRecovery>default</autoRecovery>
|
||||
</maintenanceOptions>
|
||||
<currentInstanceBootMode>legacy-bios</currentInstanceBootMode>
|
||||
<platformDetails>Windows</platformDetails>
|
||||
<usageOperation>RunInstances:0002</usageOperation>
|
||||
<usageOperationUpdateTime>2023-03-04T01:13:26.000Z</usageOperationUpdateTime>
|
||||
<privateDnsNameOptions>
|
||||
<hostnameType>ip-name</hostnameType>
|
||||
<enableResourceNameDnsARecord>true</enableResourceNameDnsARecord>
|
||||
<enableResourceNameDnsAAAARecord>false</enableResourceNameDnsAAAARecord>
|
||||
</privateDnsNameOptions>
|
||||
</item>
|
||||
</instancesSet>
|
||||
</item>
|
||||
<item>
|
||||
<reservationId>r-0b8580eb880225667</reservationId>
|
||||
<ownerId>550620852718</ownerId>
|
||||
<groupSet/>
|
||||
<instancesSet>
|
||||
<item>
|
||||
<instanceId>i-08528bc380ebf5766</instanceId>
|
||||
<imageId>ami-009c5f630e96948cb</imageId>
|
||||
<instanceState>
|
||||
<code>16</code>
|
||||
<name>running</name>
|
||||
</instanceState>
|
||||
<privateDnsName>ip-172-31-4-86.us-west-2.compute.internal</privateDnsName>
|
||||
<dnsName>ec2-18-236-210-164.us-west-2.compute.amazonaws.com</dnsName>
|
||||
<reason/>
|
||||
<keyName>_gpg</keyName>
|
||||
<amiLaunchIndex>0</amiLaunchIndex>
|
||||
<productCodes/>
|
||||
<instanceType>m6id.4xlarge</instanceType>
|
||||
<launchTime>2023-04-24T18:14:17.000Z</launchTime>
|
||||
<placement>
|
||||
<availabilityZone>us-west-2c</availabilityZone>
|
||||
<groupName/>
|
||||
<tenancy>default</tenancy>
|
||||
</placement>
|
||||
<monitoring>
|
||||
<state>disabled</state>
|
||||
</monitoring>
|
||||
<subnetId>subnet-278b697c</subnetId>
|
||||
<vpcId>vpc-dc2402bb</vpcId>
|
||||
<privateIpAddress>172.31.4.86</privateIpAddress>
|
||||
<ipAddress>18.236.210.164</ipAddress>
|
||||
<sourceDestCheck>true</sourceDestCheck>
|
||||
<groupSet>
|
||||
<item>
|
||||
<groupId>sg-03741fd6a7596690b</groupId>
|
||||
<groupName>ssh</groupName>
|
||||
</item>
|
||||
<item>
|
||||
<groupId>sg-0aab58c6b2bde2105</groupId>
|
||||
<groupName>outbound</groupName>
|
||||
</item>
|
||||
</groupSet>
|
||||
<architecture>x86_64</architecture>
|
||||
<rootDeviceType>ebs</rootDeviceType>
|
||||
<rootDeviceName>/dev/xvda</rootDeviceName>
|
||||
<blockDeviceMapping>
|
||||
<item>
|
||||
<deviceName>/dev/xvda</deviceName>
|
||||
<ebs>
|
||||
<volumeId>vol-0fe4f59bf6294fd80</volumeId>
|
||||
<status>attached</status>
|
||||
<attachTime>2023-04-24T18:14:18.000Z</attachTime>
|
||||
<deleteOnTermination>true</deleteOnTermination>
|
||||
</ebs>
|
||||
</item>
|
||||
</blockDeviceMapping>
|
||||
<virtualizationType>hvm</virtualizationType>
|
||||
<clientToken>bf82a221-c1eb-42ac-9df8-e2da9f7863d3</clientToken>
|
||||
<tagSet>
|
||||
<item>
|
||||
<key>Name</key>
|
||||
<value>compiler</value>
|
||||
</item>
|
||||
</tagSet>
|
||||
<hypervisor>xen</hypervisor>
|
||||
<networkInterfaceSet>
|
||||
<item>
|
||||
<networkInterfaceId>eni-0ae047a5c7a7b761e</networkInterfaceId>
|
||||
<subnetId>subnet-278b697c</subnetId>
|
||||
<vpcId>vpc-dc2402bb</vpcId>
|
||||
<description/>
|
||||
<ownerId>550620852718</ownerId>
|
||||
<status>in-use</status>
|
||||
<macAddress>0a:02:ae:5b:83:a9</macAddress>
|
||||
<privateIpAddress>172.31.4.86</privateIpAddress>
|
||||
<privateDnsName>ip-172-31-4-86.us-west-2.compute.internal</privateDnsName>
|
||||
<sourceDestCheck>true</sourceDestCheck>
|
||||
<groupSet>
|
||||
<item>
|
||||
<groupId>sg-03741fd6a7596690b</groupId>
|
||||
<groupName>ssh</groupName>
|
||||
</item>
|
||||
<item>
|
||||
<groupId>sg-0aab58c6b2bde2105</groupId>
|
||||
<groupName>outbound</groupName>
|
||||
</item>
|
||||
</groupSet>
|
||||
<attachment>
|
||||
<attachmentId>eni-attach-0b6794ae623825c42</attachmentId>
|
||||
<deviceIndex>0</deviceIndex>
|
||||
<status>attached</status>
|
||||
<attachTime>2023-04-24T18:14:17.000Z</attachTime>
|
||||
<deleteOnTermination>true</deleteOnTermination>
|
||||
<networkCardIndex>0</networkCardIndex>
|
||||
</attachment>
|
||||
<association>
|
||||
<publicIp>18.236.210.164</publicIp>
|
||||
<publicDnsName>ec2-18-236-210-164.us-west-2.compute.amazonaws.com</publicDnsName>
|
||||
<ipOwnerId>amazon</ipOwnerId>
|
||||
</association>
|
||||
<privateIpAddressesSet>
|
||||
<item>
|
||||
<privateIpAddress>172.31.4.86</privateIpAddress>
|
||||
<privateDnsName>ip-172-31-4-86.us-west-2.compute.internal</privateDnsName>
|
||||
<primary>true</primary>
|
||||
<association>
|
||||
<publicIp>18.236.210.164</publicIp>
|
||||
<publicDnsName>ec2-18-236-210-164.us-west-2.compute.amazonaws.com</publicDnsName>
|
||||
<ipOwnerId>amazon</ipOwnerId>
|
||||
</association>
|
||||
</item>
|
||||
</privateIpAddressesSet>
|
||||
<ipv6AddressesSet/>
|
||||
<interfaceType>interface</interfaceType>
|
||||
</item>
|
||||
</networkInterfaceSet>
|
||||
<ebsOptimized>true</ebsOptimized>
|
||||
<enaSupport>true</enaSupport>
|
||||
<cpuOptions>
|
||||
<coreCount>8</coreCount>
|
||||
<threadsPerCore>2</threadsPerCore>
|
||||
</cpuOptions>
|
||||
<capacityReservationSpecification>
|
||||
<capacityReservationPreference>open</capacityReservationPreference>
|
||||
</capacityReservationSpecification>
|
||||
<hibernationOptions>
|
||||
<configured>false</configured>
|
||||
</hibernationOptions>
|
||||
<enclaveOptions>
|
||||
<enabled>false</enabled>
|
||||
</enclaveOptions>
|
||||
<metadataOptions>
|
||||
<state>applied</state>
|
||||
<httpTokens>required</httpTokens>
|
||||
<httpPutResponseHopLimit>2</httpPutResponseHopLimit>
|
||||
<httpEndpoint>enabled</httpEndpoint>
|
||||
<httpProtocolIpv4>enabled</httpProtocolIpv4>
|
||||
<httpProtocolIpv6>disabled</httpProtocolIpv6>
|
||||
<instanceMetadataTags>disabled</instanceMetadataTags>
|
||||
</metadataOptions>
|
||||
<maintenanceOptions>
|
||||
<autoRecovery>default</autoRecovery>
|
||||
</maintenanceOptions>
|
||||
<bootMode>uefi-preferred</bootMode>
|
||||
<currentInstanceBootMode>uefi</currentInstanceBootMode>
|
||||
<platformDetails>Linux/UNIX</platformDetails>
|
||||
<usageOperation>RunInstances</usageOperation>
|
||||
<usageOperationUpdateTime>2023-04-24T18:14:17.000Z</usageOperationUpdateTime>
|
||||
<privateDnsNameOptions>
|
||||
<hostnameType>ip-name</hostnameType>
|
||||
<enableResourceNameDnsARecord>true</enableResourceNameDnsARecord>
|
||||
<enableResourceNameDnsAAAARecord>false</enableResourceNameDnsAAAARecord>
|
||||
</privateDnsNameOptions>
|
||||
</item>
|
||||
</instancesSet>
|
||||
</item>
|
||||
</reservationSet>
|
||||
<nextToken>eyJ2IjoiMiIsImMiOiJCRjVLT1ROL2FKOWQ1TDA1alpya1hrK2pIdTZqRUdQVlVOUDg2aUduQVdYRzZQRE5nZzhhTS9GNUNJNFVXK29MNFFOVThLS2o5aDNYVjNqbEJ0Z0tSK013Q3kzTGNPZlFCSEVsUUgzblg0SUtmZEtIY096dTZrM1ZCUzNLUTk2TWZEN2kvU1Bjb3pscWR5YVdsY3plYVlSY3JSVlplSTFvdXNnNnZmVzhoemdwTEMwUSs3UkZGa3RESGtFL085cUI0TU4wZjhJaE02STBOdS9BZTQxeEd1b1NGQ08xZ3h1dUVyVDR1aWs9IiwicyI6IjEifQ==</nextToken>
|
||||
</DescribeInstancesResponse>
|
Loading…
Reference in New Issue
Block a user