Linked Questions
22 questions linked to/from CloudFront + S3 Website: "The specified key does not exist" when an implicit index document should be displayed
14 votes
1 answer
46k views
CloudFront Error: This XML file does not appear to have any style information associated with it [duplicate]
I have a React app that runs on AWS S3 and CloudFront. When I access the app from the given URL it opens the home page fine. When I navigate to another page using a button on the nav bar it opens the ...
36 votes
3 answers
16k views
Amazon CloudFront Latency
I am experimenting with AWS S3 and CloudFront for a web application that I am developing. In the app I'm letting users upload files to the S3 bucket (using the AWS SDK) and make it available via ...
13 votes
2 answers
12k views
ListBucketResult xml trying to show home page of site in S3 thorugh CloudFront
I created a bucket where I´m hosting my static website. I set the properties to use it as static website hosting (which index document value index.html) The URL was: http://mywebsitelearningcurve....
11 votes
2 answers
5k views
Serving a multitude of static sites from a wildcard domain in AWS
I've got a pretty specific problem here, we've got a system that we already have and maintain, the system involves using subdomains to route people to specific apps. on a traditional server that goes ...
11 votes
2 answers
4k views
CloudFront Distribution with S3 Origin Responds with XML ListBucketResult
My intention is to have my static website files (in React, if that's a factor) accessible only via my domain and not directly through S3 URLs. It seems to be working on my own computer (though that ...
3 votes
1 answer
8k views
The specified key does not exist - Laravel
I'm trying to create a temporary URL for a file in my application. I'm able to upload the file to S3 bucket and I'm able to use the method \Storage::temporaryUrl($this->url, now()->addHour(1)) ...
2 votes
1 answer
3k views
AWS S3 Static hosing: Routing rules doesn't work with cloudfront
I am using AWS S3 static web hosting for my VueJs SPA app. I have setup routing rules in S3 and it works perfectly fine when I access it using S3 static hosting url. But, I also have configured ...
0 votes
2 answers
3k views
AWS CloudFront Caching Issue
I'm using AWS CloudFront linked to an S3 bucket to host a static (React) website. Everything seems to work ok except when I upload altered files to the bucket. I know that by design CloudFront will ...
3 votes
1 answer
3k views
Amazon S3 + Cloudfront React app fully working but with 404 error
I have a react app deployed to Amazon S3 and distributed by Cloudfront, and it is fully working as expected right now. However, when I open the browser console, it shows a 404 error. For example, let'...
0 votes
2 answers
1k views
Securing s3 Bucket while hosting Angular app
I know there are 2 ways of creating Cloudfront Origin: paste website endpoint from s3 bucket itself; select s3 from the list. Now, when I do #1 - my site seems to really work, but I have to make ...
1 vote
1 answer
2k views
https errors on AWS S3 static site on subdomain
Short version: I'm getting https errors on a static website on AWS S3 bucket set up for web hosting, but not https. It is located by a CNAME record pointing to the S3 bucket on my AWS Route 53 hosted ...
1 vote
1 answer
2k views
S3 multiple index files
I'm using s3 with cloudfront. I have an application that has two index files. /index /admin/index The /index works fine the /admin/index requires me to put /admin/index.html without including index....
3 votes
3 answers
853 views
Hugo multilingual site deploy to aws s3 error "AccessDenied"
I'm hosting a static website on AWS S3, served through AWS Cloudfront. Site is build with Hugo in multilingual mode. So it redirects from index page "/" to default lang index page url /en . On this ...
1 vote
1 answer
996 views
When requested object from CF origin doesn't exist, s3 not following redirection rules (Access Denied instead)
I am building an on the fly image optimizer using CloudFront, S3, API Gateway, and Lambda, but right now I am still in the process of getting my CloudFront origin to fallback to my s3 custom error ...
1 vote
1 answer
926 views
AWS: redirection to Lambda function doesn't work from CloudFront Distribution
I use a Lambda function to resize images when requested on-the-fly by this tutorial. The general flow is this: the bucket (lets call it mybucket, name changed) where the resources are stored is ...