- Newest
- Most votes
- Most comments
The log message “Power key pressed” in the context of an AWS EC2 instance is unusual because physical access to EC2 instances is generally not possible. EC2 instances are virtual machines hosted in Amazon's data centers, so there’s no physical power button to press The most likely causes include:
Someone may have manually stopped or rebooted the instance via the AWS Console or CLI. An automated script or service (e.g., Auto Scaling, Lambda) may have triggered the shutdown. Check the AWS Personal Health Dashboard for any scheduled maintenance. System Failure: Kernel panics, hardware issues, or OS-level crashes may have triggered an unexpected shutdown. CloudTrail Logs: Review CloudTrail for any API actions related to stopping, restarting, or terminating the instance.
Relevant content
- asked a year ago
- asked 6 months ago
- AWS OFFICIALUpdated 8 months ago
