最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

amazon web services - Use 4 cloudfronts with a single s3 - Stack Overflow

programmeradmin5浏览0评论

I'm working on a migration from an application, previously running on Kubernetes to a setup with S3 and Cloudfront. That application has 4 environments. Those environments were selected via a parameter like:

url/?env=env1

and so on. I want to replicate this scenario in AWS. I could use 4 buckets (or 4 folders within a bucket) and set the Cloudfront to consume the one that is needed. However, that would mean copying the static files 4 times (those files are the same, regardless of the environment). How could I handle this? If I could just have something like a symbolic link, and use 4 buckets, being 3 of them just a pointer to the one with the files, that would also be ok

发布评论

评论列表(0)

  1. 暂无评论