Difference between revisions of "AWS S3 versioning"

From wikieduonline
Jump to navigation Jump to search
 
(20 intermediate revisions by the same user not shown)
Line 1: Line 1:
* https://docs.aws.amazon.com/AmazonS3/latest/userguide/Versioning.html
+
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>
  
* [[Terraform]]: [[Backend]]
+
[[AWS CLI]]:
* [[Terraform resource]]: <code>[[Terraform resource: aws_s3_bucket|aws_s3_bucket]]</code>
+
* <code>[[aws s3api get-bucket-versioning]]</code>
 
+
* <code>[[aws s3api put-bucket-versioning]]</code>
  
 
== Related ==  
 
== Related ==  
* <code>[[aws s3api get-bucket-versioning]]</code>
+
* [[AWS S3 lifecycle]]
* <code>[[aws s3api put-bucket-versioning]]</code>
 
* [[Lifecycle]]
 
 
* [[AWS backup]]: <code>[[aws backup list-backup-jobs]]</code>
 
* [[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]]
  
 
== Activities ==
 
== Activities ==
 
* 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 ==
 +
* {{aws s3control lifecycle}}
 
* {{aws s3api}}
 
* {{aws s3api}}
 
* {{aws s3}}
 
* {{aws s3}}

Latest revision as of 09:54, 3 September 2023

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: