Difference between revisions of "AWS S3 versioning"
Jump to navigation
Jump to search
↑ https://docs.aws.amazon.com/AmazonS3/latest/userguide/Versioning.html
(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> | ||
− | * [[ | + | == Related == |
− | * [[Terraform resource]] | + | * [[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 == | |
− | == | + | * [[Using versioning in S3 buckets]] |
− | * | + | * 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 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:
Related[edit]
- AWS S3 lifecycle
- AWS backup:
aws backup list-backup-jobs
- Terraform resource: aws s3 bucket versioning
- AWS Config
- Terraform
noncurrent_version_expiration
property inaws_s3_bucket_lifecycle_configuration
resource. - Amazon S3 point-in-time recovery
- Object Versioning
- Data integrity
- AWS Cloudtail best practices
Activities[edit]
- Using versioning in S3 buckets
- 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[edit]
aws s3control
[get-bucket-lifecycle-configuration
|put-bucket-lifecycle-configuration
|delete-bucket-lifecycle-configuration
]- AWS S3:
s3api
|list-buckets
|get-bucket-website
|get-bucket-policy
|create-bucket
|put-bucket-encryption
|aws s3api put-bucket-policy
|get-bucket-acl
|get-bucket-versioning
|get-bucket-location
|put-bucket-versioning | get-bucket-tagging | head-bucket | put-object-lock-configuration
- AWS S3:
aws s3control
.aws s3
[cp | ls
|sync | presing
|mb | rm | rb
] - AWS S3,
aws s3, aws s3api, aws s3control, s3:
, Amazon S3 Storage Lens, AWS S3 replication, CRR, SSR, CAR, S3 Replication Time Control (S3 RTC), Website endpoint, Amazon Macie, Versioning, Lifecycle, Encryption, logging, Amazon S3 Inventory, Amazon S3 Batch Operations, Storage Classes, Amazon S3 clients, Terraform S3, AWS canned ACLs, Directory buckets, security,PutObject
Advertising: