A health technology company runs genomic analysis workloads. The pipeline generates intermediate workspace files averaging in size. These files are written to an Amazon S3 bucket and accessed frequently by compute nodes for the first days. Between day and day , the files are rarely accessed but must remain available for immediate verification. On day , the files are completely obsolete and must be permanently deleted. Which of the following is the most cost-effective storage strategy for these files?
- AStore the files in Amazon S3 Standard-Infrequent Access (S3 Standard-IA) from the beginning, and configure an S3 Lifecycle policy to delete the files after days.
- BStore the files in Amazon S3 Standard, transition them to Amazon S3 Standard-Infrequent Access (S3 Standard-IA) after days, and configure an S3 Lifecycle policy to delete the files after days.
- Store the files in Amazon S3 Standard, and configure an S3 Lifecycle policy to delete the files after days.Answer
- DStore the files in Amazon S3 Standard, transition them to Amazon S3 Glacier Flexible Retrieval after days, and configure an S3 Lifecycle policy to delete the files after days.
Answer
Storing the files in Amazon S3 Standard for the entire duration and configuring an S3 Lifecycle policy to delete them after 24 days is the most cost-effective strategy.
Storing the files in Amazon S3 Standard for the entire -day duration is the most cost-effective option. Because the total lifespan of the files is less than days, any transition to S3 Standard-IA (either from the beginning or after days) triggers early deletion charges for the minimum storage duration requirement. Keeping the files in S3 Standard avoids retrieval fees, transition fees, and early deletion penalties.
Step-by-Step Solution
Key Concept
Identifying early deletion charges and minimum storage duration constraints when designing S3 lifecycle policies.