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

Setting "Object Caching" on CloudFront

I want to set the "Object Caching" of my CloudFront distribution with S3 origin to "Customize". I follow these steps on the console: go to the "behavior" tab of the relevant distribution "Edit Behavior" of the relevant behavior(s) change the radio…
chrisvdb
  • 1,279
  • 2
  • 12
  • 15
4
votes
3 answers

Problems with Gzip compression on Amazon CloudFront

I had a CloudFront distribution configured with S3 as an origin. I have enabled "Compress Objects Automatically" as per Amazon guide. Waited for the distribution status to display "online" then invalidated all files. My Response headers…
Lukigi
  • 151
  • 1
  • 5
4
votes
1 answer

Cloudfront HTTP2 css, js slow Time to First Byte even with cache HIT

I have a website hosted on EC2 with most css, JS and images loaded from Cloudfront. There is a consistent problem that even small css and js files have 1-2 seconds time to first byte, even where there is a cache hit on Cloudfront. Here is a…
jdog
  • 121
  • 7
  • 29
4
votes
4 answers

AWS S3, CloudFront, web font CORS error

I've just moved from my previous CDN to CloudFront for two of my websites. First one is working fine but I used the same snapshot in DigitalOcean to create the 2nd site and here I am getting Access to Font at …
4
votes
1 answer

Streaming bandwidth limitations Amazon S3 + CloudFront

I've been looking into using the Amazon Elastic Transcoder to implement a on-demand videostreaming scenario for quite some time now. The variables around the transcoding cost and restrictions are clear to me. I am bound by the requirement that I…
Wouter Pol
  • 143
  • 1
  • 3
4
votes
1 answer

Does CloudFront support S3 signature version 4 for KMS encrypted objects?

I'm using Cloudfront with an S3 origin that is using KMS to encrypt objects. I'm getting the following error when sending a GET request for an object in the S3 bucket. Requests specifying Server Side Encryption with AWS KMS managed keys require AWS…
4
votes
2 answers

Blue/Green deployments with CloudFront with equal proportion

Two CloudFront Distributions : The option I attempted was to have two separate CloudFront Web Distributions, one for a static site in s3 bucket (A version) and other for another static site in s3 bucket (B version). I attempted to use a Route53…
4
votes
1 answer

Access-Control-Allow-Origin header missing from a response

I'm trying to debug an issue. On one of my sites, the font files are not loading correctly. Someone has reported this error in the inspector log: Font from origin 'http://d1h0r2f9g9fk4d.cloudfront.net' has been blocked from loading by Cross-Origin…
Laykes
  • 441
  • 5
  • 14
4
votes
1 answer

Can I use CloudFront to serve a WordPress blog from the same domain, but a different server?

We have a website that we serve from Elastic Beanstalk (AWS), and it all works great. We use the built-in load balancer to serve our site over HTTPS, etc. Our database is separated through the RDS service, not on the same EC2 instances as our web…
Sam McAfee
  • 543
  • 1
  • 5
  • 7
4
votes
1 answer

CloudFront Distribution for Origins in Multiple Regions

Is there a way to point CloudFront to different origin servers based on location? We currently use Route53 latency-based routing to direct traffic to east or west region elastic load balancers. If we deploy CloudFront, it sounds like the…
kernelpanic
  • 1,276
  • 1
  • 10
  • 30
4
votes
1 answer

Cloud-front backed with Nginx (which proxies to S3) randomly missing already cached items?

I wish to serve images from a S3 bucket with Cloudfront as CDN frontend, for that I tried the following: What I wish to acheive (Attempt 2) -- (Misses cloudfront cache randomly) I have the following setup to serve images: ( Cloudfront --> Nginx…
4
votes
0 answers

Amazon S3 + Cloudfront VS Rackspace CloudFiles

I know this question came up lot of time on the internet , But I couldn't find any latest updates on this . So I gathered the information what I found and putting here and have few questions on it . Could some one please answer them ? Some note :- I…
Bujji
  • 223
  • 1
  • 2
  • 5
4
votes
1 answer

Is Amazon s3 required if am using Cloudfront for files

I am planning to host a website in Amazon Ec2 instant. I got some basics from the docs. But I have few confusions. If am using cloudfront for CDN, do i really need to server files from s3? The site am hosting is build on Drupal. Does it have any…
Safwan Erooth
  • 273
  • 1
  • 6
4
votes
1 answer

Setting up CloudFront CDN on a cookieless root domain

I have recently set up an AWS S3 bucket for my site's static content, along w/ a CloudFront distribution for my CDN. I have this working using a sub-domain. However, after running YSlow, I realized that cookie data is still getting passed to my…
4
votes
2 answers

CloudFront with Custom Origin and ELB

We are using CloudFront for our static assets but also wanted to allow for Gzip. We set up a new distribution with a custom origin pointing back to our application servers which are behind a elastic load balancer. We manually keep the files in sync…
kmfk
  • 161
  • 1
  • 6