A company hosts its static website assets, such as images and stylesheets, in an Amazon S3 bucket. The company wants to reduce latency for global users accessing these assets and reduce the request load on the S3 bucket.
Which solution should a solutions architect recommend to meet these requirements?
- AConfigure Amazon Route 53 Latency-based routing to resolve the domain name directly to the Amazon S3 bucket.
- BDeploy an Amazon CloudFront distribution with the Amazon S3 bucket as the origin, and configure the Cache Behavior TTL settings to seconds.
- Deploy an Amazon CloudFront distribution with the Amazon S3 bucket configured as the origin and default caching enabled.Cevap
- DDeploy EC2 caching proxy instances in a private subnet and route all external user traffic through a NAT Gateway to access the Amazon S3 bucket.
Cevap
Deploy an Amazon CloudFront distribution with the Amazon S3 bucket configured as the origin and default caching enabled.
Deploying an Amazon CloudFront distribution with default caching enabled leverages AWS edge locations globally to cache static assets close to users. This reduces retrieval latency and significantly lowers the number of direct requests to the Amazon S3 origin bucket.
Adım Adım Çözüm
Anahtar Kavram
Caching static assets at edge locations using Amazon CloudFront to reduce origin load and latency