Documentation
README
Ensure instances stopped for over 90 days are removed
Description
Enable this rule to help with the baseline configuration of Amazon Elastic Compute Cloud (Amazon EC2) instances by checking whether Amazon EC2 instances have been stopped for more than the allowed number of days, according to your organization's standards.
Rationale
Stopped instances that are no longer needed consume resources and may contain outdated configurations or unpatched software. Removing them reduces the attack surface and management overhead.
Impact
Terminating instances is irreversible. Ensure data on the instance is backed up or no longer needed before termination.
Audit Procedure
Using AWS CLI
No specific CLI audit command is provided for this control. Use the console method below.
This is the opening of the README. Read the full README on GitHub.