How can I programmatically determine which instance types support IO2 block express without scraping support pages?

0

The list of types is available here: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/provisioned-iops.html#io2-block-express However, DescribeInstanceTypes does not indicate whether a given type supports block express so we either need to scrape that web page or hardcode the set of instance families. Is there any programmatic way to determine this?

已提問 7 個月前檢視次數 166 次
1 個回答
0

Hi, Yes, you're right: DescribeInstanceTypes does not allow exactly what you are looking for but helps you finding some hints toward our questions with some of its filters:

See https://docs.aws.amazon.com/cli/latest/reference/ec2/describe-instance-types.html

ebs-info.ebs-optimized-info.baseline-bandwidth-in-mbps - The baseline bandwidth performance for an EBS-optimized instance type, in Mbps.
ebs-info.ebs-optimized-info.baseline-iops - The baseline input/output storage operations per second for an EBS-optimized instance type.
ebs-info.ebs-optimized-info.baseline-throughput-in-mbps - The baseline throughput performance for an EBS-optimized instance type, in MB/s.
ebs-info.ebs-optimized-info.maximum-bandwidth-in-mbps - The maximum bandwidth performance for an EBS-optimized instance type, in Mbps.
ebs-info.ebs-optimized-info.maximum-iops - The maximum input/output storage operations per second for an EBS-optimized instance type.
ebs-info.ebs-optimized-info.maximum-throughput-in-mbps - The maximum throughput performance for an EBS-optimized instance type, in MB/s.
ebs-info.ebs-optimized-support - Indicates whether the instance type is EBS-optimized (supported | unsupported | default ).
ebs-info.encryption-support - Indicates whether EBS encryption is supported (supported | unsupported ).
ebs-info.nvme-support - Indicates whether non-volatile memory express (NVMe) is supported for EBS volumes (required | supported | unsupported ).

Max iops and max throughput help in defining if IO2 block express is supported by a given instance type based on the perf of IO2 itself.

Best,

Didier

profile pictureAWS
專家
已回答 7 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南