清理堆栈 SpotBot

清理 Spotbot 整个堆栈

清理 Spotbot Bastion

假设您在宁夏 Region 创建SpotBot,那么请登录 Cloudformation Console. https://cn-northwest-1.console.amazonaws.cn/cloudformation/home?region=cn-northwest-1#/ 选择 【堆栈】,在过滤条件中输入 “spotbot” 作为关键字。如下图所示

  1. 选择 “spotbot-bastion”, 点击 【删除】按钮。
  2. 选择 【删除堆栈】确认按钮。
  3. 等待大概 2 分钟,spotbot-bastion 堆栈删除。

清理 Spotbot 堆栈

  1. 选择 “spot-bot”, 点击 【删除】按钮。
  2. 堆栈开始删除,状态已经更改为 “DELETE_IN_PROCESS”
  3. 由于是嵌套堆栈,所以 spot-bot 的堆栈删除的同时,spot-bot-spotbotVPC 也会跟随删除。 由于堆栈中包含 Elasticsearch 资源,该资源删除时间比较长。
  4. 等待大概 15 分钟后,所有资源清理干净。