2 Answers
- Newest
- Most votes
- Most comments
1
I would take a look at the CloudTrail logs ASAP to determine which principal disabled termination protection. If you don't have additional security tooling setup, can you view CloudTrail events in the Console: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/view-cloudtrail-events-console.html
answered a year ago
0
Termination protection in AWS EC2 instances helps prevent accidental deletions but doesn't cover all scenarios. It doesn't shield against scheduled maintenance, Auto Scaling actions, or terminations of Spot Instances. In your case, if your instance was undergoing maintenance or part of an Auto Scaling group, termination could still occur despite protection being enabled.
So I guess you instance were under scheduled maintenance.
Resources:
Relevant content
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 10 months ago