Skip to content

'Power key pressed.' reported in server logs

0

While looking into the logs on our EC2 instance "i-0fac1dba16000deb9" - we've noted that when the server went last week around 04:08:16 on Sep 10th, it was due to 'Power key pressed.'

Did someone physically turn the server off, and is there any explanation around why or how this happened? We don't see any emails warning of maintenance for around that time, that we can find.

log screenshot

Any help would be appreciated!

asked 2 years ago691 views

1 Answer
2

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.

You could also contact AWS support team for more info by opening a ticket to them and attaching your log file and cloudTrail logs

EXPERT

answered 2 years ago

EXPERT

reviewed 2 years ago

EXPERT

reviewed 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.