我想将实例类型 T2.Medium 升级到 T3.Medium,并按照以下步骤操作。
但是它给了我这种类型的错误消息 -
**Failed to start the instance --instance-id--
Enhanced networking with the Elastic Network Adapter (ENA) is required for the 't3.medium' instance type. Ensure that your instance '--instance-id--' is enabled for ENA.**
**Failed to start the instance --instance-id--
Enhanced networking with the Elastic Network Adapter (ENA) is required for the 't3.medium' instance type. Ensure that your instance '--instance-id--' is enabled for ENA.**
如何在不丢失任何数据的情况下解决此问题?
显然,当您切换实例类型时,它禁用了 ENA,可能是因为您无法从控制台管理 ENA。您需要使用“aws”命令通过以下方式在实例上启用 ENA:
aws ec2 --instance-id <ID> --ena-support
当然将
<ID>
替换为您的实例 ID。
如果您没有在任何 EC2 实例上安装 aws 命令,则应将其安装在可从控制台访问的 CloudShell 上。