Issue
This might feel like a silly question but I ran into some issue where my EC2 instance was going down once in a while, now i have made some alternate to it, so that another instance will take over to this instance when this happens but i want to test this before i productionize the change.
I did some basic research on AWS blog post but don't see any relevant answer.
Thanks in advance for the help!
Solution
The instance status check tries to connect to the instance and fails if it can't.
An easy way to trigger an instance status check failure is to disable the default NIC in the instance. For Linux instances, run the following on startup:
sudo ifconfig eth0 down
Answered By - Dennis Traub Answer Checked By - Timothy Miller (WPSolving Admin)