Low
S3
S3 general purpose buckets should have Lifecycle configurations
NIST
Description
Checks if S3 buckets have lifecycle policies configured.
Remediation
To configure lifecycle policies for an S3 bucket, follow these steps:
Steps
- Sign in to the AWS Management Console and open the Amazon S3 console.
- In the Buckets list, choose the name of the bucket for which you want to configure a lifecycle policy.
- Choose the 'Management' tab.
- Under 'Lifecycle', choose 'Add lifecycle rule'.
- Provide a name for the lifecycle rule and set the rule scope. You can apply the rule to all objects in the bucket or filter to apply to specific objects.
- Specify the lifecycle rule actions, such as transitioning objects to another storage class, archiving them to Amazon Glacier, or permanently deleting them after a specified period.
- Review the rule configuration and choose 'Save'.
Compliance
NIST