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

373 questions
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
0 answers

S3/Cloudfront CORS working on some files only

I'm really struggling to get Cloudfront and S3 to add Access-Control-Allow-Origin: * to the headers of video files stored on S3 (for inline video on iPhones - seems to be working everywhere else however inline video is only working on iPhones from…
beek
  • 205
  • 1
  • 10
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

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

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

Will Route 53 geolocation routing behind CloudFront operate on users or edge location?

If I've got CloudFront set up with the origin being an address in Route 53, and geolocation routing for record in Route 53, will Route 53 do the geolocation based on the CloudFront edge location IP or the end user's IP?
3
votes
1 answer

Redirect with CloudFront but changing URL

I have an S3 static website and I want to redirect all the requests to the index page. So if you go to mysite.com/this_doesnt_exist it should redirect to mysite.com. I was able to configure this behavior with a Custom Error Response like the one on…
fsinisi90
  • 155
  • 2
  • 8
3
votes
1 answer

How do I connect Cloudfront to a private s3 bucket with terraform?

So I'm 90 percent there, but it appears that cloudfront is getting 500 errors from s3? I'm sure I'm just doing something wrong. I've read the various amazon documentation, but to me it seems so vague as to perhaps be useless. resource…
3
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
  • 305
  • 2
  • 11