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
What are the features of S3 - IA (Infrequently Accessed)? (3)
- Data accessed less frequently, but requires rapid access when needed
- Lower fee than S3
- Charged a retrieval fee
What are the features of S3 One Zone - IA? (2)
- Low cost option for infrequently accessed data
- Data that does not require multiple availability zone resilience
What are the features of S3 - Intelligent Tiering? (2)
- Cost-effective option
- Uses machine learning to automatically move data to the most cost-effective tier without performance impact
What are the features of S3 Glacier? (2)
- Secure, durable, low-cost storage for data archiving
- Configure retrieval time from minutes to hours
What are the features of S3 Glacier Deep Archive? (2)
- S3’s lowest cost storage class
- A retrieval time of 12 hours is acceptable
How many availability zones is the data stored on for all S3 storage classes bar S3 One Zone - IA?
At least three
Which storage classes charge a retrieval fee?
S3 Standard - IA, S3 One Zone - IA, S3 Glacier, S3 Glacier Deep Archive
What is first byte latency?
How quickly you’ll be able to access your data
What factors affect the charge for S3 storage? (7)
- Storage volume
- Region
- Requests
- Storage management
- Data transfer
- Transfer acceleration
- Cross region replication
How does transfer acceleration work? (3)
- Users upload files to the edge location rather than the bucket itself
- As data arrives at an edge location, it is routed to the S3 bucket over an optimised network plan
- Takes advantage of Amazon’s CloudFront globally distributed edge locations
What are the permissions on a bucket by default?
Private