Professional Documents
Culture Documents
S3
S3
S3
Empty bucket
$ aws s3 rm s3://bucket-name/doc –recursive
To enable
Go to bucket properties – encryption – enable
Lock an S3 Object
Amazon S3 object lock enables you to store
objects using a "Write Once Read Many"
(WORM) model. When using object lock you
can prevent an object from being deleted or
overwritten
**Object lock can be enabled only when a
bucket is created ( not work for existing
buckets)
**versioning need to be enabled before lock
Versioning
Versioning is a means of keeping multiple variants of an object in the same
bucket. You can use versioning to preserve, retrieve, and restore every
version of every object stored in your Amazon S3 bucket
you can recover objects from accidental deletion or overwrite if you have
versioning enabled
To enable versioning
Go to bucket – properties – enable versioning
Standard
Reduced Redundancy
Storage Classes
Storage Class That Automatically Optimizes
Frequently and Infrequently Accessed Objects
INTELLIGENT_TIERING
Long-lived data with changing or unknown access
patterns
Storage Classes
Storage Classes for Infrequently Accessed
Objects
STANDARD_IA
Amazon S3 stores the object data redundantly
across multiple geographically separated
Availability Zones
ONEZONE_IA
Amazon S3 stores the object data in only one
Availability Zone
Storage Classes
Storage Classes for Archiving Objects
GLACIER
Use for archives where portions of the data might need to be
retrieved in minutes. Data stored in the GLACIER storage class has a
minimum storage duration period of 90 days and can be accessed in
as little as 1-5 minutes using expedited retrieval. If you delete an
object before the 90-day minimum, you are charged for 90 days
DEEP_ARCHIVE
Use for archiving data that rarely needs to be accessed. Data stored in
the DEEP_ARCHIVE storage class has a minimum storage duration
period of 180 days and a default retrieval time of 12 hours. If you
delete an object before the 180-day minimum, you are charged for
180 days.