View a markdown version of this page

删除组 - Amazon Elastic Compute Cloud
Amazon Web Services 文档中描述的 Amazon Web Services 服务或功能可能因区域而异。要查看适用于中国区域的差异,请参阅 中国的 Amazon Web Services 服务入门 (PDF)

删除组

如果不再需要您的组,可以随时将其删除。将具有正在运行的实例和处于活动状态的容量预留的组删除时,定位到该组的实例将在组删除后继续在其当前容量预留中运行。当您终止实例时,Amazon EC2 会将容量恢复到容量预留中。

Console
删除组

  1. 通过以下网址打开 Amazon EC2 控制台:https://console.aws.amazon.com/ec2/

  2. 在导航窗格中,选择容量预留

  3. 选择容量预留资源组

  4. 选择要删除的组,选择操作,然后选择删除

  5. 当系统提示进行确认时,选择删除

Amazon CLI
删除组

使用 delete-group 命令。

aws resource-groups delete-group --group MyCRGroup
PowerShell
删除组

使用 Remove-RGGroup cmdlet。

Remove-RGGroup -GroupName MyCRGroup