Відгуки: Caching Static Files with Amazon CloudFront
11378 відгуків
Gordon T. · Відгук надано більше 9 років тому
-some doc links outdated -"permissions" are on right not left. -cloudfront just forwarded me to the S3 link rather than caching so the action didn't work as intended
Chris F. · Відгук надано більше 9 років тому
Joe Z. · Відгук надано більше 9 років тому
Aarav S. · Відгук надано більше 9 років тому
Abe A. · Відгук надано більше 9 років тому
Fernando V. · Відгук надано більше 9 років тому
Hendry S. · Відгук надано більше 9 років тому
Christopher S. · Відгук надано більше 9 років тому
Bartlomiej S. · Відгук надано більше 9 років тому
Kanin C. · Відгук надано більше 9 років тому
Arul Kumar M. · Відгук надано більше 9 років тому
Alexandre R. · Відгук надано більше 9 років тому
Re A. · Відгук надано більше 9 років тому
Steve S. · Відгук надано більше 9 років тому
For many users, this lab will lead you into a frustrating problem. If the lab starts in, say, the us-west-2 (Oregon) region, the S3 bucket containing the static Website content (created by CloudFormation when you launch the lab) will be in that region. Attempts to access files in the bucket via URLs to other S3 regions will result in a 307 temporary redirect. Unfortunately, when you select the bucket while creating the CloudFront distribution in steps 24 and 25 of the Lab Guide, CloudFront may internally generate an origin URL to the S3 bucket in a region *other than* the S3 bucket's region (e.g., us-standard). This means when CloudFront makes a request to the origin, it will receive a 307. Lab Guide steps 36 and beyond will not work as expected because you'll be redirected *out of* CloudFront, directly to the S3 bucket (with the correct region URL) by this 307. Worse yet, CloudFront caches the 307 redirect, making this lab's blunder more difficult to rectify. You'll need to change the origin URL in CloudFront to refer to the correct bucket URL for your region. This will cause another 15-minute delay as you wait for the distribution to update. You will *also* need to invalidate in CloudFront any files that were previously accessed through CloudFront and encountered a 307, since this 307 is cached in CloudFront (if you've done both steps 35 and 36, you'll need to invalidate both the cf_lab1.html and grand_canyon.jpg files). Wait another 15 minutes for the invalidation request to complete. You should now be able to complete the lab from step 36 onward, with the expected results.
Jonathan C. · Відгук надано більше 9 років тому
Bryce I. · Відгук надано більше 9 років тому
Mukesh R. · Відгук надано більше 9 років тому
J. Michael B. · Відгук надано більше 9 років тому
Develop D. · Відгук надано більше 9 років тому
Greg B. · Відгук надано більше 9 років тому
Manfredas S. · Відгук надано більше 9 років тому
Eagle C. · Відгук надано більше 9 років тому
Keisuke Y. · Відгук надано більше 9 років тому
Mark M. · Відгук надано більше 9 років тому
Ми не гарантуємо, що опубліковані відгуки написали клієнти, які придбали продукти чи скористалися ними. Відгуки не перевіряються Google.