Difference between revisions of "AWS S3 versioning"

From wikieduonline
Jump to navigation Jump to search
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
Amazon S3 versioning is a means of keeping multiple variants of an object in the same bucket. It is disabled by default.
+
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.
* https://docs.aws.amazon.com/AmazonS3/latest/userguide/Versioning.html
+
* 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]]: [[Backend]]
 
* [[Terraform resource]]: <code>[[Terraform resource: aws_s3_bucket|aws_s3_bucket]]</code>
 
 
* [[Terraform resource]]: <code>[[Terraform resource: aws_s3_versioning|aws_s3_versioning]]</code>
 
* [[Terraform resource]]: <code>[[Terraform resource: aws_s3_versioning|aws_s3_versioning]]</code>
  
Line 16: Line 15:
 
* [[Terraform resource: aws s3 bucket versioning]]
 
* [[Terraform resource: aws s3 bucket versioning]]
 
* [[AWS Config]]
 
* [[AWS Config]]
* <code>[[noncurrent_version_expiration]]</code> in <code>[[aws_s3_bucket_lifecycle_configuration]]</code>
+
* 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 ==
 
== Activities ==
 +
* [[Using versioning in S3 buckets]]
 
* Read https://tech.trivago.com/post/2018-09-03-s3-versioning/
 
* Read https://tech.trivago.com/post/2018-09-03-s3-versioning/
 +
* 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 ==

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: