S3 Flashcards
What is the total volume of data and the number of objects that can be stored in S3?
Unlimited
What is the maximum size per object that can be stored in s3?
S3 objects can range in size from a minimum of 0 bytes to a maximum
of 5 terabytes.
S3 basics.
- Universal Namespace
All AWS accounts share the S3 namespace.
Each S3 bucket name is globally unique. - Example S3 URLs
https://bucket-name.s3.Region.amazonaws.com/key-name
https://acloudguru.s3.us-east-1.amazonaws.com/Ralphie.jpg - Uploading Files
When you upload a file to an S3 bucket, you will receive an
HTTP 200 code if the upload was successful
what are the attributes of an object in S3?
- Key: The name of the object(e.g., Ralphie.jpg)
- Value: The data itself, which is made up of a sequence of bytes
- Version ID: Important for storing multiple versions of the same object
- Metadata: Data about the data you are storing (e.g., content-type, last-modified, etc.)
What is Strong Read-AfterWrite Consistency?
- 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.
Object ACLs vs. Bucket Policies
Object ACLs work on an individual object level.
Bucket policies work on an entire bucket level.
What are the 5 advantages of versioning?
- All Versions: All versions of an object are stored in S3. This includes all writes and even if you delete an object.
- Backup: Can be a great backup tool.Cannot Be Disabled: Once enabled,
versioning cannot be disabled — only suspended. - Lifecycle Rules: Can be integrated with lifecycle rules.
- Supports MFA: Can support multi-factor authentication.
Describe S3 Standard.
- High Availability and Durability
Data is stored redundantly across multiple
devices in multiple facilities ( >=3 AZs):
* 99.99% availability
* 99.999999999% durability (11 9’s) - Designed for Frequent Access
- Suitable for Most Workloads
* The default storage class.
* Use cases include websites, content distribution, mobile
and gaming applications, and big data analytics.
Describe S3 Standard-IA
S3 Standard-Infrequent Access
- Used for data that is accessed less frequently but requires rapid access
when needed.
- There is a low per-GB storage price and a per-GB retrieval fee.
- Great for long-term storage, backups, and as a data store for disaster recovery files.
99.9% Availability
99.999999999% 11 9’s) Durability
Describe S3 ONE ZONE- IA
Like S3 Standard-IA, but data is stored redundantly
within a single AZ.
* Costs 20% less than regular S3 Standard-IA
* Great for long-lived, infrequently accessed, non-critical data
99.5% Availability
99.999999999% 11 9’s) Durability
Describe S3 Intelligent-Tiering
Frequent and Infrequent Access
Automatically moves your data to the most cost-effective tier based on how frequently you access each object.
Monthly fee of $0.0025 per 1,000 objects
99.99% Availability
99.999999999% 11 9’s) Durability
What are 3 Glacier Options?
OPTION 1
Glacier Instant Retrieval
Provides long-term data archiving with instant
retrieval time for your data.
OPTION 2
Glacier Flexible Retrieval
Ideal storage class for archive data that does not require immediate access but need the flexibility to retrieve large sets of data at no cost, such as backup or disaster recovery use cases.
Can be minutes or up to 12 hours.
OPTION 3
Glacier Deep Archive
Cheapest storage class and is designed for customers that retain data sets for 7-10 years or longer to meet customer needs and regulatory compliance requirements. The standard retrieval time is 12 hours, and the bulk retrieval time is 48 hours.
ALL
99.99% Availability
99.999999999% 11 9’s) Durability
What Is Lifecycle Management?
Lifecycle management automates moving your objects between the
different storage tiers, thereby maximizing cost effectiveness.
How can be Combined Lifecycle Management with Versioning?
You can use lifecycle management to move different
versions of objects to different storage tiers.
What is S3 Object Lock?
You can use S3 Object Lock to store objects using a write once, read
many (WORM model. It can help prevent objects from being deleted or modified for a fixed amount of time or indefinitely.
You can use S3 Object Lock to meet regulatory requirements that require WORM storage, or add an extra layer of protection against object changes and deletion.