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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南