Chapter 5 - S3 Flashcards
What does S3 stand for?
Simple Storage Service
What type of storage is S3?
Object-based storage.
“Flat files” that don’t change, such as text documents, videos, websites, etc.
Databases are NOT flat files.
What are the basic characteristics of S3?
- Object-based
- File size of 0 Bytes to 5 TB
- Unlimited storage
- Files stored in Buckets (aka Folder, Directory, etc)
- Uses “Universal Namespace”. The name must be unique globally.
- Successful upload of a file will result in a “HTTP 200 code”
How are S3 Objects identified?
S3 Objects are identified by Key:Value Pairs with the Key being the name of the object and the Value being the data in a sequence of bytes.
They will also contain a Version ID, Metadata and Subresources such as Access Control Lists and Torrents.
How is Data Consistency handled for S3?
Read after Write consistency for PUTS of NEW Objects is:
Immediate Read after Write
Eventual Consistency for OVERWRITE PUTS and DELETES:
Can take some time to propagate (few seconds)
May NOT be able to Read immediately after Write.
May STILL be able to Read after Delete.
What are the basic features of S3?
- Tiered Storage Available
- Lifecycle Management
- Versioning
- Encryption
- Secure data using Server-Side Encryption, Access Control Lists and Bucket Policies
*Data Consistency Model
*After a successful write of a new object (PUT) or an overwrite of an existing object, any subsequent read request immediately
receives the latest version of the object.
Strong consistency for list operations, so after a write, you can immediately perform a listing of the objects in a bucket with all changes reflected.
What are the basic features of S3?
- Tiered Storage Available
- Lifecycle Management
- Versioning
- Encryption
- Secure data using Server-Side Encryption, Access Control Lists and Bucket Policies
*Data Consistency Model- After a successful write of a new object (PUT) or an overwrite of an existing object, any subsequent read request immediately
receives the latest version of the object. - Strong consistency for list operations, so after a write, you can immediately perform a listing of the objects in a bucket with all
changes reflected.
- After a successful write of a new object (PUT) or an overwrite of an existing object, any subsequent read request immediately
Are Buckets public or private by default?
Private
How do Object ACLs and Bucket Policies differ?
Object ACLs (Access Control Lists) are for individual objects. Bucket policies are for entire buckets.
How do you know if an upload of a file has been successful?
An HTTP 200 status code is received as a result of a successful upload (PUT).
Are Buckets public or private by default?
Private
How do Object ACLs and Bucket Policies differ?
Object ACLs (Access Control Lists) are for individual objects. Bucket policies are for entire buckets.
How do you know if an upload of a file has been successful?
An HTTP 200 status code is received as a result of a successful upload (PUT).
What type of websites can be hosted on S3?
You can use S3 to host static websites, such as .html sites.
Dynamic websites, such as those that require database connections, cannot be hosted on S3.
How does S3 handle scaling of websites?
S3 scales automatically to meet demand. Many enterprises will put static websites on S3 when they think there is going to be a large number of requests.
What is Versioning?
Version control of your objects or files.
What are the advantages of Versioning?
- All versions of an object are stored in S3. This includes all writes and even if you delete an object.
- Can be a great backup tool.
- Once enabled, versioning cannot be disabled, only suspended.
- Can be integrated with lifecycle rules.
- Can support multi-factor authentication.
How are versions of objects or files listed in AWS?
In a reverse chronological file tree. Example: * Delete Marker * Version 3 * Version 2 * Version 1
Are old versions public by default?
No.
Even when you have a policy that enables all objects in a bucket to be public, it doesn’t apply to previous versions of those objects. You must manually make older versions public.
With Versioning enabled, what happens when you delete an object in AWS?
The system does not actually delete the object but rather inserts a Delete Marker at the top of the file tree making the object inaccessible
With Versioning enabled, how do you make a deleted object accessible again?
You must delete the Delete Marker.
List the S3 storage classes:
- S3 Standard
- S3 Standard - IA (Infrequent Access)
- S3 One Zone - IA (Infrequent Access)
- Glacier
- Glacier Deep Archive
- S3 - Intelligent Tiering
- S3 Outposts
What are the characteristics of S3 Standard?
Availability 99.99% Durability 11 9’s Availability Zones (AZs) >= 3 Use Case Suitable for most workloads (e.g. websites, content distribution, mobile and gaming applications, and big data analytics)
What are the characteristics of S3 Standard - IA (Infrequent Access)?
Availability 99.9% Durability 11 9’s Availability Zones (AZs) >= 3 Use Case Long term, infrequently accessed critical data (e.g. backups, data store for disaster recovery files, etc)
What are the characteristics of S3 One Zone - IA (Infrequent Access)?
Availability 99.5% Durability 11 9’s Availability Zones (AZs) >= 1 Use Case Long-term, infrequently accessed, non-critical data
What are the characteristics of Glacier?
Availability 99.99% Durability 11 9’s Availability Zones (AZs) >= 3 Use Case Long-term data archiving that occasionally needs to be accessed within a few hours or minutes
What are the characteristics of Glacier Deep Archive?
Availability 99.99% Durability 11 9’s Availability Zones (AZs) >= 3 Use Case Rarely accessed data archiving with a default retrieval time of 12 hours (e.g. financial records for regulatory purposes)
What are the characteristics of S3 - Intelligent Tiering?
Availability 99.9% Durability 11 9’s Availability Zones (AZs) >= 3 Use Case Unknown or unpredictable access patterns
What are the characteristics of S3 Outposts?
Amazon S3 on Outposts delivers object storage to your on-premises AWS Outposts environment to meet local data processing and data residency needs.
Mentioned in the Cloud Practitioner course as a new service.
Not mentioned in Solutions Architect Associate course.
What are the 3 advantages / benefits of Lifecycle Management?
- Automates moving your object between the different storage tiers thereby maximizing your cost effectiveness.
- Can be combined with Versioning to move different versions of objects to different storage tiers.
- Can be applied to current versions or previous versions.