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
2
votes
1 answer

Cloudfront alternate domains using SNI for HTTPS

I am attempting to use Cloudfront to serve an S3 bucket over HTTPS using an "Alternate Domain Name", but I am getting this error when I load the site in a browser: NET::ERR_CERT_COMMON_NAME_INVALID This server could not prove that it is…
twiz
  • 295
  • 1
  • 4
  • 12
2
votes
1 answer

AWS CloudFront can't handle security cookie

I have an IIS web server behind a ELB. The web server uses security cookie to keep user signed in during the session. I have CloudFront for the purpose of redirecting HTTP to HTTPS. If I directly access the ELB using its own DNS name, everything…
Silly Dude
  • 558
  • 3
  • 9
  • 22
2
votes
0 answers

Buffering when serving videos through AWS CloudFront

We are hosting videos in AWS S3 in HLS format (lots of .ts files, + playlists .m3u8). We have configured AWS CloudFront with all Edge locations to serve those files. We have 2 apps, iOS and Android, with a video player that plays the CloudFront…
2
votes
1 answer

Setting up CloudFront [Custom Origin] for EC2 instance

I have been checking things up & down on Google & AWS Documentation but can't seem to nail this one. I have an EC2 instance setup with a domain being served via a virtual host and I need to use a CDN for the contents on the site, mainly images ie…
2
votes
0 answers

Chrome stalled requests for some HTTP2 resources

Issue Some resources from the CDN take minutes to load because, according to Chrome devtools, are "stalled". This happens only on Chrome and only the first time I open the page in an incognito window. This happened since when we enabled HTTP2 on…
Alessandro
  • 121
  • 2
2
votes
1 answer

Cloudfront with elastic loadbalancer without caching for security

I have a domain on ec2 instance with real-time access ( inserting new leads)to remote db. Recently AWS advised to use elb+cloud front for security. Is possible to enable cloud front on a domain with real-time access ( inserting new leads)to…
adminz
  • 397
  • 2
  • 6
  • 20
2
votes
0 answers

How to get clean URLs in CloudFront

I'm hosting my static website on AWS S3, with Cloudfront as a CDN, and I'm wondering how I can get clean URLs working. I currently have to go to example.com/about.html to get the about page. I'd prefer example.com/about as well as across all my…
2
votes
0 answers

Heroku SSL redirect to www.example.com with AWS Route 53 and Cloudfront

Current Situation example.com == examplecom and so on because of spam I've a Domain examplecom on GoDaddy and a SSL cert for it. The real application is hosted on Heroku at exampleherokuappcom. I also uploaded the SSL cert on heroku via this…
Kroenig
  • 121
  • 3
2
votes
1 answer

Reverse Proxy To Cloudfront CDN

We want to forward all requests to domain.com/foo to a S3 Bucket fronted by Cloudfront. The idea being that our domain is used while the content is loaded from S3/Cloudfront. I have Apache setup to reverse proxy requests to /foo thusly:
2
votes
0 answers

Reverse Proxy on cloudfront

I have an angular site / web application (Lets call this www.mysite.com) hosted on Amazon S3 as a static website. This s3 bucket serves as the origin for a cloudfront distribution and it works perfectly. We have an additional requirement of…
2
votes
2 answers

AWS CloudFront Limit Origin Access

I am averaging 12,000 page views per day, but my cloudfront is getting around 6 million requests for images and fonts every day. I suppose it is possible that all of these requests are coming from my visitors, but I am having my doubts. I know that…
2
votes
1 answer

understanding CloudFront log file

I'm setting up a processing pipeline for CloudFront log files. Reading the documentation, my understanding is that CF will create one log file per hour per distribution, but that's not what I'm seeing in my bucket. I get multiple files per distro…
Dmitry B.
  • 123
  • 5
2
votes
1 answer

Route 53 configuration for Cloudfront distribution linked to S3 bucket for naked domain

I am using route 53 for a domain (example.com) linked to my app on Heroku. To handle naked domain redirection, I am using a S3 bucket as explained here: https://aws.amazon.com/blogs/aws/root-domain-website-hosting-for-amazon-s3/ As S3 doesn’t…
2
votes
1 answer

How to set up AWS Cloudfront for dynamic number of domains for a dynamic site?

THE SETUP We have a webs/wix/etc-like website management system we are trying to use with CloudFront. It has the following domains and subdomains. - ourdomain: our main website - admin.ourdomain: the administration interface for every website,…
2
votes
0 answers

Caching Docker (Cloudfront) images with Squid

I have a Squid server setup with ssl-bump caching SSL resources used by Docker but I'm having issues trying to get it to cache requests to Cloudfront, for example: 1415056176.733 190419 172.17.0.40 TCP_MISS/200 221665373 GET…
Callum Jones
  • 131
  • 2