This post explains how to enable versioning on S3 buckets. Follow below
steps to enable versioning on S3 bucket.
Enable versioning on S3 bucket
1. Sign in to the AWS Management Console.
2. Navigate to S3 console
3. In the Buckets list, choose the name of the bucket that you want to
enable versioning for.
4. Click on properties.
5. Under Bucket Versioning, click on Edit.
6. Click on Enable and choose