S3 buckets should have versioning enabled

This page is not yet available in Spanish. We are working on its translation.
If you have any questions or feedback about our current translation project, feel free to reach out to us!

Description

Enable versioning on S3 buckets to keep multiple versions of an object in one bucket.

Rationale

Versioning-enabled buckets help recover objects in the case of accidental deletion or overwriting.

Remediation

From the console

Follow the Enabling versioning on buckets AWS documentation to enable bucket versioning within the S3 console.

From the command line

Follow the Enabling versioning on buckets AWS documentation to enable bucket versioning with the AWS CLI.