AWS S3
Simple Storage Serviceobject storageserviceunlimited storage- defined at
regionlevel - max object size:
5TB(larger objects than 5GB can be stored usingmultipart upload) - key: full path
- value: body
- version ID: enabled at the bucket level
- metadata
- tags
security
- user-based
- IAM policies
- resource-based
- bucket policies: allows cross account
- bucket ACL(Access Control List)
- object ACL
- block public access
replication
CRR: Cross-Region ReplicationSRR: Same-Region Replicationversioningmust be enabled on both source and destination bucketsreplicationisasynchronousreplicationiscross-account
delete marker replication
delete markeris replicated- optional setting
S3 batch replication
- can replicate existing objects and failed replication
storage classes
S3 Standard:99.99%availability, general purpose #### infrequent access : for data that is less frequently accessed but requires rapid access when neededS3 Standard-IA:99.9%availabilityS3 One Zone-IA:99.5%availability #### Glacier : lower cost, for archive / backupS3 Glacier instant retrieval: milliseconds retrieval, 90 days minimum storageS3 Glacier flexible retireval: minutes to hours retrieval, 90 days minimum storageS3 Glacier Deep Archive: 12 hours to 48 hours retrieval, 180 days minimum storageS3 Intelligent-Tiering: auto pricing, auto move between IA and Standard
lifecycle rule
: automate moving objects between storage classes - transition action - expriation action
event notification
S3 event notification:SNS,SQS,Lambda
S3 baseline performance
3,500 PUT/COPY/POST/DELETEand5,500 GET/HEADrequests per secondper prefixin a bucket
S3 Transfer Acceleration
CloudFrontedge locationsmultipart uploadis compatible
S3 byte-range fetches

S3 select and Glacier select
S3 select: SQL query on S3 objectsGlacier select: SQL query on Glacier objects
S3 Batch Operations
S3 Batch Operations:S3operations onlarge numberof objects use cases: encrypt unencrypted objects, copy objects, …
storage lens
- multi-account, multi-region analyze dashboard
S3 encryption
- SSE
SSE-S3:S3managed keys, enabled by default, must set request headerx-amz-server-side-encryption: AES256SSE-KMS:KMSmanaged, must set request headerx-amz-server-side-encryption: aws:kms, request limitsSSE-C:customermanaged, must set request headerx-amz-server-side-encryption-customer-algorithm: AES256, must provide encryption key
- CSE
client-sideencryption
MFA
- permanently delete objects
- suspend versioning on bucket
- to enable, must enable versioning on bucket and only the bucket owner(root account) can enable MFA
S3 glacier vault lock
complianceandWORM(Write Once Read Many) model- bucket level lock
S3 Object Lock
complianceandWORM(Write Once Read Many) model- block object deletion for a specified retention period
- must set versioning
complianceandgovernancemode- legal hold: protect object from deletion indefinitely