如何将AWS EC2实例类型t2.medium升级到t3.medium?

问题描述 投票:0回答:1

我想将实例类型 T2.Medium 升级到 T3.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.**

如何在不丢失任何数据的情况下解决此问题?

javascript node.js amazon-web-services amazon-ec2 upgrade
1个回答
0
投票

显然,当您切换实例类型时,它禁用了 ENA,可能是因为您无法从控制台管理 ENA。您需要使用“aws”命令通过以下方式在实例上启用 ENA:

aws ec2 --instance-id <ID> --ena-support

当然将

<ID>
替换为您的实例 ID。

如果您没有在任何 EC2 实例上安装 aws 命令,则应将其安装在可从控制台访问的 CloudShell 上。

© www.soinside.com 2019 - 2024. All rights reserved.