EC2 实例停用 - 只是从 AMI 重启或启动新实例?

EC2 Instance Retirement - Just restart or launch new instance from AMI?

我收到了一封关于 EC2 实例的电子邮件,该实例将于 2015 年 1 月 12 日停用。如果需要,我可以提供有关此案的更多详细信息。我以前(大约一年前)经历过这个过程,一切都很顺利。这次唯一的区别在于说明。上次,根据说明,我所要做的就是重启我的实例。现在,我必须从我的实例创建一个 AMI,并使用该 AMI 启动一个新实例。请注意,在这两种情况下,我的实例 were/are EBS 支持。

我真的需要创建一个 AMI 并启动一个新实例还是只需要重新启动实例就可以了?请记住,我需要保持我的 EBS 数据完整无缺。

干杯,
伊拉克利斯

来自AWS EC2 documentation

Managing Instances Scheduled for Retirement

You can perform one of the actions listed below in order to preserve the data on your retiring instance. It's important that you take this action before the instance retirement date, to prevent unforeseen downtime and data loss.

Warning If your instance store-backed instance passes its retirement date, it's terminated and you cannot recover the instance or any data that was stored on it. Regardless of the root device of your instance, the data on instance store volumes is lost when the instance is retired, even if they are attached to an EBS-backed instance.

An instance is scheduled to be retired when AWS detects irreparable failure of the underlying hardware hosting the instance. When an instance reaches its scheduled retirement date, it is stopped or terminated by AWS. If your instance root device is an Amazon EBS volume, the instance is stopped, and you can start it again at any time. Starting the stopped instance migrates it to new hardware. If your instance root device is an instance store volume, the instance is terminated, and cannot be used again.

Instance Root Device Type: EBS

Action: Wait for the scheduled retirement date - when the instance is stopped - or stop the instance yourself before the retirement date. You can start the instance again at any time. For more information about stopping and starting your instance, and what to expect when your instance is stopped, such as the effect on public, private and Elastic IP addresses associated with your instance, see Stop and Start Your Instance.

Instance Root Device Type: EBS

Action: Create an EBS-backed AMI from your instance, and launch a replacement instance. For more information, see Creating an Amazon EBS-Backed Linux AMI.

Instance Root Device Type: Instance store

Action: Create an instance store-backed AMI from your instance using the AMI tools, and launch a replacement instance. For more information, see Creating an Instance Store-Backed Linux AMI.

Instance Root Device Type: Instance store

Action: Convert your instance to an EBS-backed instance by transferring your data to an EBS volume, taking a snapshot of the volume, and then creating an AMI from the snapshot. You can launch a replacement instance from your new AMI. For more information, see Converting your Instance Store-Backed AMI to an Amazon EBS-Backed AMI.