AWS S3 101 Flashcards
S3 Description
Secure, durable, highly-scalable object storage.
Web service interface to store & retrieve any amount of data from anywhere on the web
Is S3 Object-Based?
Yes
Object-Based storage
S3 Storage
Not for file systems, booting
videos, flat-files, pictures, etc.
Flat files
Block-Based storage
EC2 storage
For file systems, booting
S3 File Size limits
0 bytes to 5 Terabytes
Is there unlimited storage?
yes
Amazon keeps adding storage
S3 is a universal namespace
names must be globally unique
Bucket Name Format
https: //s3-REGION.amazonaws.com/BUCKETNAME
https: //s3-eu-west-1.amazonaws.com/stevesbucket
HTTP response code for successful upload
HTTP 200
Data Consistency Model for S3 PUTS
Read after Write consistency for PUTS of new objects
S3 has atomic updates
You get new data or old data.
Don’t get partial or corrupted data
S3 is a key-value store
object based and objects consist of what?
Key - filename of object (salt if many files w/similar names)
Value - data of file
Version ID
Metadata
Subresources (2 types ACL’s and Torrent (bit torrent)
S3 Availability, as-built
Built for 99.99%
S3 Availability, guaranteed by Amazon (SLA)
99.9%
S3 Durability
eleven nines
99.999999999%
Lifecycle Management
Move data based on age to cheaper/slower/archival storage
Does S3 support versioning?
Yes
Does S3 support Encryption?
Yes
Multiple methods
Two ways to secure data in S3
Access Control Lists
Bucket Policies
S3 Storage Tier / Class: S3 Standard
99.99% Availability
eleven nines durability
stored redundantly across multiple devices in multiple facilities and can sustain loss of 2 facilities concurrently
S3 Storage Tier / Class: IA (infrequently accessed)
99.9% Availability eleven nines durability For data accessed infrequently but requires rapid access Cheaper than S3 Charged retrieval fee
S3 Storage Tier / Class: RRS (Reduced Redundancy Storage)
99.99% Availability
99.99% Durability
Use for data that can be regenerated (thumbnails)
S3 Storage Tier / Class: Glacier
99.9% Availability (after restore) eleven nines durability Archival only Takes 3-5 hours to restore Very cheap, has retrieval fee
What are you charged for with S3?
storage requests storage management pricing (tags) data transfer pricing (moving data within S3, inter-region) transfer acceleration
S3 Transfer Acceleration
enables fast, easy, secure transfer of files over long distances between users and an S3 bucket.
Utilizes global CLOUDFRONT edge locations, then gets routed to S3 over optimized path
Data consistency model for S3 overwrite puts and deletes
Eventual Consistency for OVERWRITE PUTS and DELETES
can take some time because changes propagate across the redundant storage
S3 Version, do you pay for each stored version?
Yes
What happens when you delete an object that has versioning enabled
It puts a delete marker on the object, but doesn’t remove it
Can versioning be disabled?
No. Only suspended. Have to delete bucket to fully remove versioning
Does versioning integrate with lifecycle rules?
yes
Does versioning integrate with lifecycle management?
yes
Does cross-region replication require versioning?
yes