S3 Flashcards
What does S3 stand for?
Simple Storage Service
What is Amazon S3?
A secure, durable, highly scalable object storage for developers
What type of storage does S3 provide?
Object-based, where an object is a file
What is the size range for an S3 object?
0 bytes to 5 TB
What is the limit on S3 storage?
Unlimited
What are objects stored in?
Buckets
Can two S3 buckets from different users, in different regions, hold the same name?
Buckets must have globally unique names (S3 is a universal namespace)
Which code is received if the upload of a file to S3 is successful?
HTTP 200
What do objects consist of? (5)
- Key
- Value
- Version ID
- Metadata
- Subresources
What is the key of an object?
The name of the object
What is the value of an object?
The data, made up in a sequence of bytes
What is the metadata of an object?
Data about the data you’re storing
What are the subresources of an object? (3)
- Subordinates to objects
- Subresources do not exist on their own, must always be associated with another entity
- Subresources associated with S3 objects: access control lists & torrents
How do you control access to buckets? (2)
- A bucket access control list (ACL)
- Bucket policies
What is S3 not suitable for? (2)
- Installation of an operating system
- Hosting a database
How does data consistency work for S3? (2)
- Read after write consistency for PUTS of new objects
- Eventual consistency for overwrite PUTS and DELETES
What level of data consistency is achieved when uploading a new file?
Read after write consistency
What level of data consistency is achieved when overwriting/updating/deleting an existing file?
Eventual consistency
What does read after write consistency mean?
The file can be read straight after writing it
What does eventual consistency mean? (2)
- If you overwrite/update/delete an existing file, you might get v1 or v2 when you read it straight away
- But after waiting a period of time the file will be consistent and you’ll only get v2
What does it mean to PUT an object?
To upload, overwrite or update that object
What level of availability does Amazon S3 Standard guarantee?
99.9% availability
What level of durability does Amazon S3 Standard guarantee?
99.99999999999% durability (11 9s)
What are the features of S3 Standard? (2)
- Stored redundantly across multiple devices in multiple facilities
- Designed to sustain the loss of 2 facilities concurrently