1
votes

i am trying to access cloudfront to s3 bucket object response "AccessDenied". xxxxxxxxxxxxx.cloudfront.net/bucket_name/35.jpg

inside bucket i can access url this is "public" url. https://s3.ap-south-1.amazonaws.com/bucket_name/35.jpg

I am also try another bucket with another cloudfront ID with signed URL result is same. Please view code here => amazon cloudfront Error "AccessDenied"

1

1 Answers

3
votes

You should:

  • Configure your CloudFront distribution with an Origin to point to your S3 bucket
  • Access the content via: xxxx.cloudfront.net/35.jpg

See: