How I troubleshoot when EC2 instance terminates unexpectedly

It’s a common issue in AWS environment. Your instance goes from the pending state to the terminated state without you doing anything. Below are my 5 tips to troubleshoot this issue. 1. Check CloudTrail Logs for Termination Events Go to AWS CloudTrail and filter for TerminateInstances API calls. Search for who or what initiated the […]