Advanced Amazon S3 Flashcards
LifeCycle Rules - Transition Actions
move obj to Standard IA 60 days after creation
move to Glacier for Archiving after 6 months etc
LifeCycle Rules - Expiration Actions
configure obj to expire (delete) after some time
Access log can be deleted after 365 days
Can be used to delete old version of files (if versioning enabled)
Can delete incomplete multi-part uploads
Can you create LifeCycle rules for certain prefix? - s3://mybucket/mp3/*
Yes
Can you create LifeCycle rules for certain object Tags? (e.g. Department: Finance)
yes
What can Amazon S3 Analytics do with Storage classes?
Help decide when to transition objects to right storage class
Which Storage classes does Amazon S3 Analytics work with?
Only Standard and Standard IA
S3 - Requester Pays
Option to enable for the requester to pay instead of the owner of the bucket
S3 general charging model?
Bucket owners pay for all S3 storage and data transfer costs associated with their bucket
When would you use Requester Pays?
If you have an object that is too big and you don’t want to be charged
Use cases for Requester Pays?
When you want to share large datasets with other accounts?
What does the requester must be in order to download objects from a bucket?
Authenticated in AWS (cannot be anonymous)
S3 Event Notification use cases
Generate thumbnails of images uploaded to S3
What are the 3 main destinations for S3 events notifications?
SNS
SQS
Lambda Function
S3 Event Notifications with Amazon EventBridge (architecture)
Events go into S3 bucket, then all of them are sent over to EventBridge.
EventBridge can then send events, depending on rules set, over to 18 AWS services as destinations
When is Multi-Part upload recommended?
For anything greater than 100MB
Mandatory for anything over 5GB