Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Ec2 1/2 checks passed

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.

Any help ?

like image 600
TheShun Avatar asked Feb 10 '17 13:02

TheShun


People also ask

What are 2 2 checks in AWS EC2?

If status checks shows status 2/2 checked passed, then the instance is in healthy state. AWS EC2 provides status checks that detect the problems with the underlying EC2 system used by the individual system.

How do you solve 1 2 check passes?

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.

What is EC2 status checks?

These status checks are the results of automated tests performed by EC2 on every running instance that detect hardware and software issues. Whether you are running applications on AWS or elsewhere, diagnosing problems quickly and accurately can be difficult.

Why is my EC2 Linux instance unreachable and failing one or both of its status checks?

An EC2 instance becomes unreachable if a status check fails. A system status check failure indicates a problem with the AWS systems that your instance runs on. When a problem with an underlying host impacts your production, you can stop and start your instance to migrate from the current underlying host.


1 Answers

The status checks automatically performed on Amazon EC2 instances are:

  • 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

See documentation: Status Checks for Your Instances

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.

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.

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.

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.

like image 97
John Rotenstein Avatar answered Oct 13 '22 07:10

John Rotenstein