Cloudfront private content + signed urls architecture

后端 未结 2 1238
借酒劲吻你
借酒劲吻你 2020-12-24 08:15

Let me start out with a quick introduction to the architecture of a system I\'m considering migrating to S3+Cloudfront.

We have a number of entities order in a tree.

相关标签:
2条回答
  • 2020-12-24 08:55

    Based on popular request, I'm answering this question myself.

    After gathering relevant metrics and doing some calculations, we ended up concluding we could live with less caching, offset by the faster object serving speed of CloudFront. The actual implementation is detailed on my blog: How to Set Up and Serve Private Content Using S3 and Amazon CloudFront

    0 讨论(0)
  • 2020-12-24 09:04

    Assets in the same bucket can have different privacy policies. So you can have public and private assets in the same bucket.

    At upload time, just set the privacy setting.

    Then just sign the URL to access the private assets.

    0 讨论(0)
提交回复
热议问题