S3 Flashcards
The scenarios to use Transfer Acceleration
- You have a centralized bucket, the end user need to uploading data across from globe.
- regularly transfer GBs and TBs of data across continents.
- available bandwidth is underutilized.
Requester Pay Model
You only pay the cost of the data you store in S3.
When you want to share the data but do not want to get charged for the requests received, data downloads, or upload operations.
Do not support anonymous request, BitTorrent, and SOAP request.
does not allow you to enable end user logging on Requester Pays bucket.
Object elements
key, version ID, value, metadata, subresources, access control information.
Object keys
unique; a sequence of Unicode characters in UTF-8 encoding; maximum of 1024 bytes long;
Object Metadata types
System-metadata; user-defined metadata.
System-metadata
content-length; content-MD5; Date; Last-Modified; x-amz-delete-marker; x-amz-server-side-encryption; …
S3 Storage Classes
S3 standard storage; S3-infrequently Accessed(IA) storage; S3 Reduced Redundancy Storage(RRS); Glacier;
S3-IA storage
less frequently used but needs to be available immediately when needed. Suitable for long-term data storage, backups, and disaster recovery. minimum object size 128KB. minimum storage duration: 30 days
durability 11 9’s
availability 99.90%
S3 RRS
suitable for storing noncritical and reproducible data. ideal for storing thumbnails, transcoded media, and any other processed data that can be reproduced.
durability 99.99%
availability 99.99%
Glacier
very low-cost, secure, and durable data archival storage. 90 days; data retrieval time: 3 to 5 hours; Maximum size 40TB.
durability 11 9’s
Lifecycle Rules – action types
Transition actions and Expiration actions
Hosting static website on S3
can not support server side scripting. can host HTML pages, css, client-side scripts etc.
S3 Limits & Restrictions
an AWS account can own up to 100 S3 buckets
No Limit to the number of objects that can be stored in a bucket.
Bucket name restrictions
globally unique;
comply with DNS naming conventions;
3-63 characters long;
only lowercase, numbers, periods and hyphens;
periods and hyphens can not follow each other;
must not be an IP address format.
must start with a letter or number.
S3 Objects
basic entities stored in S3.
0-5TB;
larger than 5 GB require using the multipart Upload API;
>100MB recommended using multipart Upload.
URL: https://s3-.amazonaws.com//
Amazon S3 - URL
.s3-website-.amazonaws.com
S3
highly available and redundant object storage in the cloud; is a global service but buckets are region specific. Unlimited storage.
Bucket
a logic unit in S3, just like a folder. it is a container wherein you can store objects and also folders. buckets creates at root level. used for organizing objects in S3.
Data Consistency
Read-after-write consistency for puts of new objects
Eventual consistency for Overwrite PUTS and DELETES.
HTTP Error Codes
200 – successful,
300 – redirection,
400 – client-side error,
500 – server-side error