A software development company runs nightly build integration tests. The build artifacts, which average each, are uploaded to an Amazon S3 Standard bucket. The developers access these build artifacts frequently for the first days to debug any integration issues. After days, the artifacts are rarely accessed, but the company's compliance policy requires that they be retained for a total of days before being permanently deleted. Millisecond retrieval times are required if an older artifact needs to be inspected. Which of the following lifecycle configurations is the most cost-effective?
- Store the artifacts in Amazon S3 Standard for the entire days, and then use an S3 Lifecycle rule to delete them.Cevap
- BTransition the artifacts to Amazon S3 Standard-Infrequent Access (S3 Standard-IA) days after upload, and delete them after days.
- CTransition the artifacts to Amazon S3 Glacier Flexible Retrieval days after upload, and delete them after days.
- DTransition the artifacts to Amazon S3 Standard-Infrequent Access (S3 Standard-IA) immediately upon upload, and delete them after days.
Cevap
Store the artifacts in Amazon S3 Standard for the entire 27 days, and then use an S3 Lifecycle rule to delete them.
Keeping the artifacts in S3 Standard for the entire 27 days is the most cost-effective approach. Transitioning the objects to S3 Standard-IA after 12 days would keep them in that tier for only 15 days before deletion. Since S3 Standard-IA has a minimum storage duration of 30 days, the company would be billed for 30 days of storage, incurring an early deletion charge that negates the lower storage rate.
Adım Adım Çözüm
Anahtar Kavram
S3 Standard-IA storage class has a minimum storage duration of 30 days, which makes transitioning short-lived data to this tier financially suboptimal due to early deletion charges.