Hi THere you mentioned that
I tried modifying it through the CLI and the console, but nothing seems to be working.
Could you provide a little more detail here? Are there any error messages when you try to disable stop protection? If your account credentials were compromised, its possible that your permissions were removed or there is some automated process that is re-enabling stop protection. Can you check your account for any lambda functions or other services like SNS topics or EventBridge Event Busses that might look unfamiliar?
For information about disabling stop protection ('disableApiStop'), please see https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Stop_Start.html#disable-stop-protection-on-running-or-stopped-instance.
Kind regards, Marilyn
The instance has not stopped after force to stop by action menu.asked 2 years ago
Cannot terminate/stop degraded instanceasked 4 years ago
Unable to stop an instanceasked 6 months ago
AWS EC2 Instance will not stop or terminate - Instance ID does not existasked 2 years ago
Spot Fleet Instance could not be stoppedasked 6 months ago
Trying to stop and terminate an instance, but it has a warning: "The instance 'i-0e571b9423e63be86' may not be stopped. Modify its 'disableApiStop' instance attribute and try again."asked 3 months ago
I am not able to stop or terminate the serverasked 5 months ago
How to get value of the disableApiStop (stop protection) instance attribute via the AWS API/CLI/boto3?asked 5 months ago
Linux instance has failed its instance check and I cannot connect to itAccepted Answerasked 10 months ago
EC2 instance unresponsive and won't stopasked 4 years ago