Determine the supported boot modes of an instance type - Amazon Elastic Compute Cloud
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China.

Determine the supported boot modes of an instance type

To determine the supported boot modes of an instance type (Amazon CLI version 1.19.34 and later and version 2.1.32 and later)

Use the describe-instance-types command to determine the supported boot modes of an instance type. By including the --query parameter, you can filter the output. In this example, the output is filtered to return only the supported boot modes.

The following example shows that m5.2xlarge supports both UEFI and Legacy BIOS boot modes.

aws ec2 --region us-east-1 describe-instance-types --instance-types m5.2xlarge --query "InstanceTypes[*].SupportedBootModes"

Expected output

[ [ "legacy-bios", "uefi" ] ]

The following example shows that t2.xlarge supports only Legacy BIOS.

aws ec2 --region us-east-1 describe-instance-types --instance-types t2.xlarge --query "InstanceTypes[*].SupportedBootModes"

Expected output

[ [ "legacy-bios" ] ]