S3 bucket has versioning enabled
    • 24 Aug 2023
    • 1 Minute to read
    • Dark
      Light

    S3 bucket has versioning enabled

    • Dark
      Light

    Article summary

    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.