Determine the boot mode parameter of an AMI - 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 boot mode parameter of an AMI

The AMI boot mode parameter is optional. An AMI can have one of the following boot mode parameter values: uefi and legacy-bios.

Some AMIs do not have a boot mode parameter. When an AMI has no boot mode parameter, the instances launched from the AMI use the default value of the instance type, which is uefi on Graviton, and legacy-bios on Intel and AMD instance types.

To determine the boot mode parameter of an AMI (console)

  1. Open the Amazon EC2 console at https://console.amazonaws.cn/ec2/.

  2. In the navigation pane, choose AMIs, and then select the AMI.

  3. On the Details tab, inspect the Boot mode field.

To determine the boot mode parameter of an AMI when launching an instance (console)

When launching an instance using the launch instance wizard, at the step to select an AMI, inspect the Boot mode field. For more information, see Application and OS Images (Amazon Machine Image).

To determine the boot mode parameter of an AMI (Amazon CLI version 1.19.34 and later and version 2.1.32 and later)

Use the describe-images command to determine the boot mode of an AMI.

aws ec2 --region us-east-1 describe-images --image-id ami-0abcdef1234567890

Expected output – The "BootMode" field indicates that the boot mode of the AMI. A value of uefi indicates that the AMI supports UEFI.

{ "Images": [ { ... ], "EnaSupport": true, "Hypervisor": "xen", "ImageOwnerAlias": "amazon", "Name": "UEFI_Boot_Mode_Enabled-Windows_Server-2016-English-Full-Base-2020.09.30", "RootDeviceName": "/dev/sda1", "RootDeviceType": "ebs", "SriovNetSupport": "simple", "VirtualizationType": "hvm", "BootMode": "uefi" } ] }