亚马逊aws 服务器删除_如何删除amazon EC2里面的实例?

从amazon客服得到的回答,我的情况是因为实例有active Elastic Beanstalk environment

I've researched your account, and the instance is being launched by an active Elastic Beanstalk environment. Terminating the instance will trigger a new one to launch, as each application has by default at least one instance.

If you'd like to delete your environment, follow these instructions:

1. Log into the Management Console, then select the region your environment is in from the drop-down menu in the upper right of the page. Your environment is located in the US East(Ohio) region.

2. Navigate to the Elastic Beanstalk Console here:

3. Select the environment and choose "Terminate this environment" from the "Actions" menu.

This will delete the Elastic Beanstalk environment, as well as its associated resources. If you'd like help with this, feel free to request a call from us by using the "Phone" contact option on this case.

I hope that helps, but please let me know if you have any other questions.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
SSM(Systems Manager)是一个 AWS 服务,可以帮助您轻松地管理 EC2 实例、虚拟机和本地服务器等资源。您可以使用 SSM 连接到 EC2 实例,然后在实例上运行命令、更新软件、查看日志等。 以下是使用 SSM 连接 EC2 实例的步骤: 1. 确认您的 EC2 实例已经启用 SSM。您可以在 EC2 控制台中选择实例,然后查看“状态检查”标签以确保 SSM Agent 已经安装并且正在运行。 2. 授予 SSM 执行命令的权限。在 EC2 控制台中,选择您的实例,然后在“操作”下拉菜单中选择“连接”,接着选择“SSM 控制台”。 3. 在 SSM 控制台中,选择“管理实例”,然后选择您的实例。 4. 在“实例设置”中,选择“安全”选项卡,然后选择“编辑”按钮。 5. 授权 SSM 执行命令。您可以将“AmazonSSMManagedInstanceCore”策略附加到 EC2 实例上的 IAM 角色,以便 SSM Agent 可以执行命令。在“安全组”下,确保端口 443 是开放的,这是 SSM 连接所需的端口。 6. 确认您的本地计算机上已安装 AWS CLI。您可以在终端窗口中输入以下命令来检查 AWS CLI 是否已安装: ```python aws --version ``` 7. 在本地计算机上,运行以下命令以连接 EC2 实例: ```python aws ssm start-session --target instance-id ``` 其中,instance-id 是您要连接的 EC2 实例的 ID。 8. 您现在已连接到 EC2 实例。您可以在终端窗口中输入命令来运行软件更新、查看日志等。 希望这可以帮助您使用 SSM 连接到 EC2 实例

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值