Make Cloudfront accessible and serve content from S3 Bucket

0

Make Cloudfront accessible and serve content from S3 Bucket.

  1. Restrict direct access to S3 bucket.
  2. Website should only be accessible from cloudfront url.
asked a year ago257 views
2 Answers
1

Start with this article and my recommendation is to use OAC as described.

profile pictureAWS
EXPERT
answered a year ago
0

Hi,

if above is a question, I suggest looking in this article: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-restricting-access-to-s3.html. It also outlines to use OAC (Origin Access Control) over OAI (Origin Access Identity).

Hope it helps.

profile picture
EXPERT
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions