S3 block public access and simplified routing for S3 Static Website Hosting feature

0

Hi AWS,

I am hosting two frontends on two different S3 bucket as static website using CloudFront as CDN which is secured using TLS/SSL ACM public certificate. I have a couple of questions around the same, in order to use the bucket as a static website you need to make your bucket and objects public (security constraint), else you need to go through Route53 way where you need to create DNS record entries. We are using Cloudflare for creating DNS entries so how can we fill that gap of not making bucket and objects public.

Secondly my question is how can I use only one bucket to host both my application and storybook pipeline (another application) and will have different routes (URLs).

Please guide!

1 個回答
0
profile picture
專家
已回答 1 年前
  • @Gary Mclean, I have one question on this https://repost.aws/knowledge-center/cloudfront-distribution-serve-content, here it is mentioned that S3 is used for static content and ALB for dynamic content which is fine. My query is if it is possible to have one S3 bucket serving static content of two applications from the same bucket and if yes how can we better organize the structure of handling objects inside it.

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南