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.
What is the bulk Glacier Retrieval?
Glacier’s lowest-cost retrieval option, enabling you to retrieve large amounts, even petabytes, of data inexpensively in a day. Bulk retrievals typically complete within 5–12 hours.
How are objects stored across multiple devices?
For S3 Standard, S3 Standard-IA, and Glacier storage classes, your objects are automatically stored across multiple devices spanning a minimum of three Availability Zones.
What is Glacier Instant Retrieval?
-A storage class for long-lived data that are rarely accessed and must be retrieved in milliseconds.
-When your data is accessed only once every quarter, you can save costs on storage compared to using S3 Standard-IA.
-The data stored in S3 Glacier Instant Retrieval storage class is resilient in the event of the destruction of one entire Availability Zone.
What is Glacier Flexible Retrieval?
-A storage class for storing archive data that is accessed once or twice per year.
-S3 Glacier Flexible Retrieval provides the most cost-effective retrieval options, with access times ranging from minutes to hours and free bulk retrievals.
What is Glacier Deep Archival?
-An Amazon S3 storage class that provides secure and durable object storage for long-term retention of data that is accessed rarely in a year.
-S3 Glacier Deep Archive offers the lowest cost storage in the cloud, at prices lower than storing and maintaining data in on-premises magnetic tape libraries or archiving data offsite.
-All objects stored in the S3 Glacier Deep Archive storage class are replicated and stored across at least three geographically-dispersed Availability Zones, protected by 99.999999999% durability, and can be restored within 12 hours or less.
-S3 Glacier Deep Archive also offers a bulk retrieval option, where you can retrieve petabytes of data within 48 hours.
What is S3 on Outposts?
-Amazon S3 on Outposts uses S3 APIs to deliver object storage to an on-premises AWS Outposts environment.
-The data is encrypted with SSE-C and SSE-S3 and redundantly stored across Outposts servers.
-With AWS DataSync, you can automate data transfer between Outposts and AWS Regions.
-You can use access points to access any object in an Outposts bucket.
-Supports S3 lifecycle rules.
S3 API Options
-REST – use standard HTTP requests to create, fetch, and delete buckets and objects. You can use S3 virtual hosting to address a bucket in a REST API call by using the HTTP Host header.
-SOAP – support for SOAP over HTTP is deprecated, but it is still available over HTTPS. However, new Amazon S3 features will not be supported for SOAP. AWS recommends using either the REST API or the AWS SDKs.
Bucket configuration for location?
Specify the AWS Region where you want S3 to create the bucket.
Bucket configuration for policies and ACLs?
All your resources are private by default. Use bucket policy and ACL options to grant and manage bucket-level permissions.
Bucket configuration for CORS?
You can configure your bucket to allow cross-origin requests. CORS defines a way for client web applications that are loaded in one domain to interact with resources in a different domain.
Bucket configuration for website?
You can configure your bucket for static website hosting.