AWS EC2 instance stopped record logged in AWS cloudtrail

0

Hi Team,

Someone or any other way EC2 instance stopped in our production account. I have checked in cloud trail with event name "StopInstances" but i am not seeing this the specific stopped event in cloud trail.

So could you please suggest and let me know any other way to track the stopped event.

Regards, Rajesh B

已提问 1 年前343 查看次数
1 回答
0

Did you execute the EC2 shutdown from the API?
CloudTrail is a service that records API calls to AWS.
Therefore, shutdown from the OS (shutdown -h now), etc., will probably not be recorded in CloudTrail.
To be notified when the EC2 status changes, you may want to use the following SNS settings or other methods.
When notified that the EC2 status has changed, check the logs and other information inside the OS and troubleshoot.
https://repost.aws/knowledge-center/ec2-email-instance-state-change

profile picture
专家
已回答 1 年前
profile picture
专家
已审核 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则