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

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ