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 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则