Difference between revisions of "AWS S3 versioning"

From wikieduonline
Jump to navigation Jump to search
 
(29 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
Amazon S3 versioning  <ref>https://docs.aws.amazon.com/AmazonS3/latest/userguide/Versioning.html</ref> is a means of keeping multiple variants of an object in the same bucket. It is disabled by default.
 +
* Each version of an object is the entire object; it is not just a diff from the previous version
 +
* Use [[AWS S3 lifecycle]] to manage retention periods
  
 +
Terraform:
 +
* [[Terraform resource]]: <code>[[Terraform resource: aws_s3_versioning|aws_s3_versioning]]</code>
  
 +
[[AWS CLI]]:
 +
* <code>[[aws s3api get-bucket-versioning]]</code>
 +
* <code>[[aws s3api put-bucket-versioning]]</code>
  
* [[Terraform]]: [[Backend]]
+
== Related ==
* [[Terraform resource]]: <code>[[Terraform resource: aws_s3_bucket|aws_s3_bucket]]</code>
+
* [[AWS S3 lifecycle]]
 +
* [[AWS backup]]: <code>[[aws backup list-backup-jobs]]</code>
 +
* [[Terraform resource: aws s3 bucket versioning]]
 +
* [[AWS Config]]
 +
* Terraform <code>[[noncurrent_version_expiration]]</code> property in <code>[[aws_s3_bucket_lifecycle_configuration]]</code> resource.
 +
* [[Amazon S3 point-in-time recovery]]
 +
* [[Object Versioning]]
 +
* [[Data integrity]]
 +
* [[AWS Cloudtail best practices]]
  
 
+
== Activities ==
== Related ==  
+
* [[Using versioning in S3 buckets]]
* <code>[[aws s3api get-bucket-versioning]]</code>
+
* Read https://tech.trivago.com/post/2018-09-03-s3-versioning/
* <code>[[aws s3api put-bucket-versioning]]</code>
+
* Read how to recover an object in a versioning-enabled bucket: https://aws.amazon.com/premiumsupport/knowledge-center/s3-undelete-configuration/
  
 
== See also ==
 
== See also ==
 +
* {{aws s3control lifecycle}}
 
* {{aws s3api}}
 
* {{aws s3api}}
 
* {{aws s3}}
 
* {{aws s3}}

Latest revision as of 04:41, 11 July 2024

Amazon S3 versioning [1] is a means of keeping multiple variants of an object in the same bucket. It is disabled by default.

  • Each version of an object is the entire object; it is not just a diff from the previous version
  • Use AWS S3 lifecycle to manage retention periods

Terraform:

AWS CLI:

Related[edit]

Activities[edit]

See also[edit]

  • https://docs.aws.amazon.com/AmazonS3/latest/userguide/Versioning.html
  • Advertising: