Questions tagged [amazon-cloudfront]

Amazon CloudFront is a content delivery network (CDN) offered by Amazon Web Services.

Amazon CloudFront is a content delivery network (CDN) offered by Amazon Web Services.

Official page

398 questions
1
vote
2 answers

Difference between wildcard/no wildcard when invalidating a CloudFront distribution

The following is an example of a script that executes during our deployment process to invalidate a CloudFront distribution. The goal is to just invalidate everything in the entire distribution, so we use / as the path. aws cloudfront…
Jacob Stamm
  • 111
  • 4
1
vote
2 answers

Releasing Elastic IP on EC2 had Cloudfront stop working

I had reached the limit of Elastic IP allocations in my AWS account. I have an Elastic Beanstalk app that is being served over Cloudfront. I thought since the app's CNAME was mapped to Cloudfront's CNAME, releasing the Elastic IP of the ec2 instance…
1
vote
1 answer

Editable URL Rewrite Map for CloudFront/S3 Website using Lambda@Edge

I'm migrating a static website from IIS to Amazon S3, using CloudFront for https. The old site used the URL Rewrite module and had 301 redirect maps with over 200 entries. Here is an example: example.com?pageID=1234 => example.com/about/history I…
1
vote
0 answers

Amazon S3 - Cloudfront - Images just randomly get permission denied

we have a very strange issue with the images on our websites. From time to time, some images get a permission denied response when our website is requested. These images are in a S3 bucket with CloudFront infront of it to distribute them. Most of…
Abenil
  • 125
  • 7
1
vote
1 answer

Serve a static website on S3 via CloudFront and ACM SSL without Route53

There is a great write-up of what I consider a "standard" setup of a single-page app hosted on AWS: S3 Static Sites. It includes Deployment to S3 SSL certificate via ACM Distribution via CloudFront DNS configuration in Route53 The site we are…
Kariem
  • 541
  • 2
  • 6
  • 14
1
vote
2 answers

Https configuration on AWS

I have an angular application hosted on aws s3, say example.com. The url is hosted on route53. You can access my website in non https here: http://proscorepad.com/ I created two repository that are using my domain name: example.com www.example.com…
1
vote
0 answers

The way AWS Lambda@Edge accesses to S3 restricted by Object Access Identity (OAI)

I have a question. Is the Lambda function (written in node.js) associated with CloudFront accessible to S3 objects restricted by Object Access Identity (OAI)? If yes, could you tell me how to access? (access = https.get() or s3.getObject())
1
vote
1 answer

cannot get aws cloudfront / route53 to resolve my domain name

I have setup a cloudfront distribution with SSL, pointing to a s3 bucket which is public and setup as a static website. I chose the option to redirect HTTP to HTTPS, as I want to force HTTPS. I setup route53 to have both A and AAAA records that are…
1
vote
1 answer

How to configure HSTS redirect prerequisites using CloudFront?

The HSTS Preload List Submission website has very specific prerequisites which disallow combining protocol changes and redirects into one step (classic example - redirecting requests for http://example.com directly to https://www.example.com fails…
1
vote
0 answers

Cloudfront Access Denied, but only on certain files

I've read through several similar issues, but they differ in that This isn't a website, just CDN for images I have no subdirectories I was notified by our marketing dept that some of our photos weren't serving. I went to the actual CloudFront URL…
Machavity
  • 846
  • 10
  • 26
1
vote
2 answers

CNAMEAlreadyExistsException when trying to add an alternate domain name to a cloudfront distribution

I have a cloudfront distribution (d123.cloudfront.com), which I am trying to add a cname for (static.dev.mysite.com). I have added a CNAME and TXT DNS entry as recommended on this AWS support page…
jamesj
  • 143
  • 2
  • 6
1
vote
1 answer

Can AWS CloudFront be used without ec2 server

My wordpress websites are hosted on a different registrar's VPS server. My question is can i still use AWS Cloudfront for CDN?
javee
  • 21
  • 2
1
vote
0 answers

Cloudfront not compressing Transfer-encoding chunked

My setup looks like this: User->Cloudfront->Nginx->gunicorn Apparently nginx, doesn't compress (gzip) when there is a CDN inbetween (Via header present) so my nginx sends: Transfer-encoding: chunked and according to HTTP/1.1 Content-length is not…
EralpB
  • 111
  • 3
1
vote
3 answers

Is possible to reduce AWS data transfer costs using any other AWS resource?

I do have a AWS EC2 instance that contains a very large blog. My data transfer is about 200Gb/month. 80% of it are only media and images. My data transfer costs are high due the server location in south america (where our customers are). I was…
1
vote
0 answers

How do I set up HAProxy Behind Cloudfront for Jenkins

Ok the network so far is end user (https)-> cloudfront (http)-> haproxy (http)-> jenkins My jenkins install mostly works but I see the error about proxy not being set up correctly, and I experience…
xenoterracide
  • 1,496
  • 2
  • 13
  • 26