通过EC2 1/2检查 [英] Ec2 1/2 checks passed
问题描述
自从今天我无法访问我的实例以来,我尝试停止并重新启动了几次,但状态始终是:已通过1/2次检查
Since today i can't access my instance, i tried stop and restart several times but the status is always : "1/2 checks passed"
创建快照,分离并重新附加新卷,但结果是相同的。
I tried to create a snapshot, detach and reattach new volume but the result is the same.
我还尝试创建另一个实例并附加该卷,但它也没有启动。
I also tried to create another instance and attach the volume and it's not starting either.
有帮助吗?
推荐答案
在亚马逊上自动执行状态检查EC2实例是:
The status checks automatically performed on Amazon EC2 instances are:
- 系统状态检查:这些检查Amazon EC2实例使用的基础系统
- 实例状态检查:这些检查特定实例的配置
- System Status Checks: These check the underlying systems used by the Amazon EC2 instance
- Instance Status Checks: These check the configuration of the specific instance
请参阅文档:您的实例的状态检查
通常,在这些检查完成之前,一个实例可用并且可以使用-Linux实例尤其如此,因为它们启动非常快。
Often, an instance is available and ready to be used before these checks are complete -- this is especially the case for Linux instances because they boot very quickly.
如果您收到通过 1/2支票的消息
,请稍等一下或停止并启动实例。执行停止/启动将在另一个主机上启动实例,这可能会解决遇到的任何问题。
If you receive a 1/2 checks passed
message, either wait a little longer or Stop and Start the instance. Performing a Stop/Start will launch the instance on a different host, which will probably fix whatever problem was being experienced.
如果 1/2停止/启动后,检查通过
消息继续出现,这可能是AMI的配置错误。当从快照创建的AMI选择了错误的虚拟化类型时,我已经看到了这一点。
If the 1/2 checks passed
message continues to appear after a Stop/Start, it is probably a misconfiguration of the AMI. I have seen this when the wrong virtualization type was selected for an AMI that was created from a Snapshot.
您可以通过使用操作菜单中的获取系统日志 命令,该命令在实例启动时显示日志。
You might be able to get a hint about the problem by using the Get System Log command in the Actions menu, which shows the log while the instance is booting.
最糟糕的情况是,从实例启动新实例。已知良好的AMI,将非引导卷作为附加磁盘附加,并将文件复制到新磁盘。即使文件无法启动,您仍然可以访问您的文件。
Worst case, launch a new instance from a known-good AMI, attach the non-booting volume as an additional disk and copy files to the new disk. You will still have access to your files even if it will not boot.
这篇关于通过EC2 1/2检查的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!