:doc:`Instance <index>` / Attribute / boot_mode

*********
boot_mode
*********



.. py:attribute:: EC2.Instance.boot_mode

  

  - *(string) --* 

    The boot mode that was specified by the AMI. If the value is ``uefi-preferred``, the AMI supports both UEFI and Legacy BIOS. The ``currentInstanceBootMode`` parameter is the boot mode that is used to boot the instance at launch or start.

     

    .. note::

      

      The operating system contained in the AMI must be configured to support the specified boot mode.

      

     

    For more information, see `Boot modes <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html>`__ in the *Amazon EC2 User Guide*.

    