Soru

Zorluk: Çok zorCost-Optimized Storage Tiering and Lifecycle Management

A financial analytics platform generates daily transaction ledger snapshots for audit validation. The platform produces approximately 50 million files monthly, with an average file size of 90 KB90\text{ KB}. These files are stored in an Amazon S3 bucket. They are frequently accessed during the first 10 days after creation. From day 11 to day 25, they are accessed occasionally (less than once per week) but must remain available for immediate retrieval. After exactly 25 days, the files are no longer needed and can be safely deleted. Which storage strategy is the most cost-effective for these files?

  1. A
    Configure an S3 Lifecycle policy to transition the files to Amazon S3 Standard-Infrequent Access (S3 Standard-IA) after 10 days, and expire the files 25 days after creation.
  2. B
    Configure an S3 Lifecycle policy to transition the files to Amazon S3 Glacier Flexible Retrieval after 10 days, and expire the files 25 days after creation.
  3. Store the files in Amazon S3 Standard for the entire 25-day lifecycle, and configure an S3 Lifecycle policy to expire the files 25 days after creation.Cevap
  4. D
    Configure an S3 Lifecycle policy to transition the files to Amazon S3 Intelligent-Tiering immediately upon creation, and configure another rule to expire the files 25 days after creation.

Cevap

Store the files in Amazon S3 Standard for the entire 25-day lifecycle, and configure an S3 Lifecycle policy to expire the files 25 days after creation.
Storing the files in Amazon S3 Standard for the entire 25 days is the most cost-effective option. The average file size (90 KB90\text{ KB}) is less than the S3 Standard-IA minimum billing size of 128 KB128\text{ KB}. Additionally, because the files are deleted after 25 days, transitioning them to S3 Standard-IA after 10 days would mean they spend only 15 days in that tier, which falls short of the 30-day minimum storage duration for S3 Standard-IA, triggering a penalty charge for the remaining 15 days. Finally, transitioning 50 million objects incurs transition request fees (0.01per1,000requests,or0.01 per 1,000 requests, or 500 total) which vastly exceed the storage costs ($82.25) of the raw data.

Adım Adım Çözüm

1
Calculate the total storage volume and cost of keeping data in S3 Standard.
Total data volume per month is 50 million files of 90 KB90\text{ KB} average size, which equals approximately 4,291.5 GB4,291.5\text{ GB} (4.3 TB4.3\text{ TB}). In S3 Standard, storage cost is calculated based on the actual size (90 KB90\text{ KB}) and actual duration (25 days). The storage charge at 0.023perGBmonthisroughly0.023 per GB-month is roughly 4,291.5\text{ GB} \times (25/30) \times 0.023 = 82.25$. S3 Standard does not charge transition request fees upon creation.
Establishing a cost baseline for S3 Standard is necessary to evaluate the cost-effectiveness of transition alternatives.
2
Analyze the impact of transitioning to S3 Standard-IA.
Transitioning 50 million files to S3 Standard-IA costs 50,000,000×(0.01/1,000)=50050,000,000 \times (0.01 / 1,000) = 500 in transition request fees. Storing them in S3 Standard-IA at day 10 increases the billable size of each file from 90 KB90\text{ KB} to 128 KB128\text{ KB} (due to the minimum capacity charge). Because they are deleted at day 25, they spend 15 days in S3 Standard-IA but are billed for 30 days (due to the 30-day minimum storage duration). Total cost exceeds S3 Standard baseline by over 600%.
To determine if transitioning to Standard-IA is cost-effective, we must factor in S3 Standard-IA minimum size limits, minimum storage duration, and transition fees.
3
Evaluate the retrieval and duration requirements against S3 Glacier Flexible Retrieval.
Transitioning to S3 Glacier Flexible Retrieval violates the requirement for immediate retrieval, as standard retrieval takes 3 to 5 hours. Furthermore, Glacier Flexible Retrieval has a 90-day minimum storage duration, meaning the system would pay for an extra 75 days of storage per file as an early deletion penalty.
Checking service-level retrieval capability and early deletion penalties prevents selecting invalid or high-cost storage classes.
4
Evaluate S3 Intelligent-Tiering for small files.
S3 Intelligent-Tiering does not perform auto-tiering for files smaller than 128 KB128\text{ KB}. Storing these 90 KB90\text{ KB} files in S3 Intelligent-Tiering keeps them in the Frequent Access tier permanently (incurring standard rates), while still incurring transition request fees to move them into the class.
Understanding S3 Intelligent-Tiering's minimum size rule for monitoring prevents incurring unnecessary transition charges without benefit.

Anahtar Kavram

S3 Standard-IA and S3 Glacier storage tiering optimization constraints including minimum object sizes, minimum storage durations, and transition request costs.
Bu soruyu puanla