Can I use CloudFront to serve Amazon S3-Infrequent Access or Amazon S3 Glacier objects?


I need to host large amounts of files for my customers. Because the customers are planning to store several petabytes of contents, they want to optimize their costs and analyze their storage options with S3 Standard-Infrequent Access, S3 One Zone-Infrequent Access, or S3 Glacier. To improve the access and reduce transfer costs, my customers are planning to serve the files through Amazon CloudFront. Is CloudFront compatible with the different S3 storage classes? Are there any limitations, such as the non-availability of expedited retrieval option?

1 Answer
Accepted Answer

Amazon CloudFront can serve objects in Amazon S3-Infrequent Access because these objects can be requested immediately using the GetObject command. However, while the object can be cached in CloudFront, it might have to be requested more than once. This is true for situations, where the requests are made globally in such a way that more than one regional caches are used, or the object is removed from the cache in the future. Your customers need to model and check whether using the Infrequent-Access option is cost effective.

CloudFront can't serve objects in S3 Glacier because it requires a restore. However, your customers can build an application that allows users to request a restore first before requesting the object.

answered 4 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions