aws.ec2.describe_instance_topology
Example SQL Queries
SELECT * FROMaws.ec2.describe_instance_topology;Description
Describes a tree-based hierarchy that represents the physical host placement of your EC2 instances within an Availability Zone or Local Zone. You can use this information to determine the relative proximity of your EC2 instances within the Amazon Web Services network to support your tightly coupled workloads.
Limitations
Supported zones
Availability Zone
Local Zone
Supported instance types
hpc6a.48xlarge | hpc6id.32xlarge | hpc7a.12xlarge | hpc7a.24xlarge | hpc7a.48xlarge | hpc7a.96xlarge | hpc7g.4xlarge | hpc7g.8xlarge | hpc7g.16xlarge
p3dn.24xlarge | p4d.24xlarge | p4de.24xlarge | p5.48xlarge
trn1.2xlarge | trn1.32xlarge | trn1n.32xlarge
For more information, see Amazon EC2 instance topology in the Amazon EC2 User Guide.
Table Definition
| Column Name | Column Data Type |
|---|---|
| dry_run Input Column Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. | BOOLEAN |
| filters Input Column The filters.
| STRUCT( |
Show child fields
| |
| group_names Input Column The name of the placement group that each instance is in. Constraints: Maximum 100 explicitly specified placement group names. | VARCHAR[] |
Show child fields
| |
| instance_ids Input Column The instance IDs. Default: Describes all your instances. Constraints: Maximum 100 explicitly specified instance IDs. | VARCHAR[] |
Show child fields
| |
| _aws_profile Input Column The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role. | STRUCT( |
Show child fields
| |
| _aws_region Input Column The AWS region to use. | VARCHAR |
| availability_zone The name of the Availability Zone or Local Zone that the instance is in. | VARCHAR |
| group_name The name of the placement group that the instance is in. | VARCHAR |
| instance_id The instance ID. | VARCHAR |
| instance_type The instance type. | VARCHAR |
| network_nodes The network nodes. The nodes are hashed based on your account. Instances from different accounts running under the same server will return a different hashed list of strings. | VARCHAR[] |
Show child fields
| |
| zone_id The ID of the Availability Zone or Local Zone that the instance is in. | VARCHAR |