S3 Flashcards
What is S3?
-S3 stores data as objects within buckets.
-An object consists of a file and optionally any metadata that describes that file.
-A key is a unique identifier for an object within a bucket.
-Storage capacity is virtually unlimited.
Bucket specifics.
-Control access to it (create, delete, and list objects in the bucket)
-View access logs for it and its objects
-Choose the geographical region where to store the bucket and its contents.
Bucket Name Specifics
-The name must be unique across all existing bucket names in Amazon S3.
-After you create the bucket you cannot change the name.
-The bucket name is visible in the URL that points to the objects that you’re going to put in your bucket.
Default limit for max Buckets.
By default, you can create up to 100 buckets in each of your AWS accounts.
True/False. You can change a Bucket region after its creation.
False. You can’t change its Region after creation.
True/False. You can host static websites by configuring your bucket for website hosting.
True.
True/False. You can’t delete an S3 bucket using the Amazon S3 console if the bucket contains 100,000 or more objects. You can’t delete an S3 bucket using the AWS CLI if versioning is enabled.
True.
Data Consistency Model
-read-after-write consistency for PUTS of new objects in your S3 bucket in all regions
-strong consistency for read-after-write HEAD or GET requests
-strong consistency for overwrite PUTS and DELETES in all regions
-strong read-after-write consistency for any storage request
-eventual consistency for listing all buckets after deleting a bucket (deleted bucket might still show up)
-eventual consistency on propagation of enabling versioning on a bucket for the first time.
S3 Storage Classes
-Standard
-Standard_IA
-ONEZONE_IA
-Intelligent Tiering
-Glacier Instant Retrieval
-Glacier Flexible Retrieval
-Glacier Deep Archive
S3 Standard
S3 STANDARD for general-purpose storage of frequently accessed data.
S3 Standard Infrequent Access
for long-lived, but less frequently accessed data. It stores the object data redundantly across multiple geographically separated AZs.
S3 Onezone Infrequent Access
stores the object data in only one AZ. Less expensive than STANDARD_IA, but data is not resilient to the physical loss of the AZ.
What storage class is suitable for Infrequent Access?
These two storage classes are suitable for objects larger than 128 KB that you plan to store for at least 30 days. If an object is less than 128 KB, Amazon S3 charges you for 128 KB. If you delete an object before the 30-day minimum, you are charged for 30 days.
S3 Intelligent-Tiering
S3 Intelligent-Tiering is a storage class designed for customers who want to optimize storage costs automatically when data access patterns change, without performance impact or operational overhead.
What storage class delivers automatic cost savings by moving data between two classes automatically
S3 Intelligent-Tiering is the first cloud object storage class that delivers automatic cost savings by moving data between two access tiers — frequent access and infrequent access — when access patterns change, and is ideal for data with unknown or changing access patterns.
How does Intelligent Tiering work?
S3 Intelligent-Tiering monitors access patterns and moves objects that have not been accessed for 30 consecutive days to the infrequent access tier. If an object in the infrequent access tier is accessed later, it is automatically moved back to the frequent access tier.
True/False. Intelligent-Tiering does not support the archive tier.
False. S3 Intelligent-Tiering supports the archive access tier. If the objects haven’t been accessed for 90 consecutive days, it will be moved to the archive access tier. After 180 consecutive days of no access, it is automatically moved to the deep archive access tier.
True/False. There are no retrieval fees in S3 Intelligent-Tiering.
True.
Glacier
-For long-term archive
-S3 Glacier provides the following storage classes: S3 Glacier Instant Retrieval, S3 Glacier Flexible Retrieval, and S3 Glacier Deep Archive.
-Archived objects are not available for real-time access. You must first restore the objects before you can access them.
Can Glacier be used for an object at the time the object is create?
You cannot specify GLACIER as the storage class at the time that you create an object.
How are Glacier objects visible?
Glacier objects are visible through S3 only.
Glacier Retrieval Options
-Expedited
-Standard
-Bulk
What is the expedited Glacier Retrieval?
allows you to quickly access your data when occasional urgent requests for a subset of archives are required. For all but the largest archived objects, data accessed are typically made available within 1–5 minutes. There are two types of Expedited retrievals: On-Demand requests are similar to EC2 On-Demand instances and are available most of the time. Provisioned requests are guaranteed to be available when you need them.
What is the standard Glacier Retrieval?
allows you to access any of your archived objects within several hours. Standard retrievals typically complete within 3–5 hours. This is the default option for retrieval requests that do not specify the retrieval option.