当实例为 replaced/terminated 时,自动缩放组启动的实例使用的 ebs 卷是否被删除?

Are the ebs volumes used by the instances launched by an autoscaling group deleted when the instances are replaced/terminated?

我有一个包含 2 个实例的自动缩放组。

每次启动实例时,都会附加一个 EBS 卷。当它是 replaced/terminated 时,是否删除了 EBS 卷?

我想在我的帐户上保持紧张的预算,我不想让数量挥之不去并为此付出代价。

您可以两种方式配置它。如果您使用 Web 界面配置启动配置,当您进入存储时,您将看到:

您只需勾选右边的"Delete on Termination"复选框,每当实例终止时,关联的EBS卷也将被删除。