1 Risposta
- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
0
You can secure your S3 bucket to only allow cloudfront while hosting your website and prevent anyone accessing it here using OAC https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-restricting-access-to-s3.html
This is the way to secure your bucket.
Your 2nd question you can route different uris to different sources https://advancedweb.hu/how-cloudfront-routing-works/#:~:text=Routing%20in%20CloudFront%20is%20based%20on%20the%20path%20of%20the%20request.&text=This%20is%20the%20distinguishing%20factor,backend%20server%20the%20request%20goes.
https://repost.aws/knowledge-center/cloudfront-distribution-serve-content
Contenuto pertinente
- AWS UFFICIALEAggiornata 8 mesi fa
- AWS UFFICIALEAggiornata 9 mesi fa
- AWS UFFICIALEAggiornata 3 anni fa
@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.