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

learn more… | top users | synonyms (1)

1
vote
0answers
31 views

How to configure Cloudfront's 'Cache Behavior->Path Pattern' to include query parameters?

I've setup a cloudfront distribution that contains two S3 origins. I want to setup a cache behavior policy such that the query parameter determines which bucket the resource is fetched from. So far ...
3
votes
1answer
65 views

CloudFront S3 Access denied

I have one account with privilege to manage S3 (S3_User), and another one to manage Cloud Front (Cloud_Front_User). Now, I've created a bucket "bucketname" with S3_User and a distribution with ...
0
votes
0answers
35 views

Any benefits to proxying from nginx to tomcat behind cloudfront+elb?

Are there any additional benefits to having nginx sit in front of tomcat on our ec2 instances, when those instances are already only serving dynamic requests behind cloudfront and ELB? I'm thinking ...
0
votes
0answers
16 views

Cloudfront objects being ejected from edge locations too early?

Cloudfront does not guarantee that it will hold an object in it's edge locations for any duration, however, typically, if I set a Cache-Control:public, max-age=31550000, smax-age=31550000 or a ...
3
votes
2answers
57 views

Move static files from EC2 to S3 (or cloudfront) without updating links

Right now, I have a site entirely on an EC2 instance including all static files like css, js, and images. I'm wondering about the best way to handle moving them. For example, in my <HEAD> on a ...
0
votes
0answers
59 views

AWS Cloud Front with S3, serving static files- Redirects implemented via java script at browser level

We have our Java application on tomcat server webpages- the application fetch content from multiple services and Database to create page and respond. We are checking for a best method to improve the ...
0
votes
1answer
75 views

Force AWS CloudFront to refresh resources from origin without user requests

I'm deploying a CloudFront distribution for a widely distributed network. I'm using my own server as origin and I've configured the cache expiration to a custom value (say 24 hours). Everything works ...
1
vote
1answer
138 views

How to store a Cloudfront custom error page in S3?

I have a Cloudfront plugged on an AWS load balancer. I saw in the AWS documentation that I can customize Cloudfront custom error pages. I tried to store these error pages in S3 as it is recommended ...
0
votes
0answers
169 views

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

Can TLSv1 / SNI be blocked by the network? (routers, firewalls, etc)

Our web site serves static content through a content delivery network (AWS CloudFront) which is configured to respond to a number of CNAMEs and use our SSL wildcard certificate for these hostnames. ...
0
votes
0answers
15 views

Dynamic action calls are getting through Amazon CloudFront

We have configured CDN to speed up our website. In our website we are doing some ajax calls basically action calls which take some amount of time to get response from origin server because they are ...
0
votes
0answers
156 views

call to .woff file that does not exist leads to 404

I am pulling my hair trying to find out why is this file being called on my wordpress code : http://www.example.com/wp-content/themes/room09/google-fonts/sk05J8GA1NvUxDnk43EgAQ.woff I am using ...
0
votes
0answers
59 views

Strict-Transport-Security on CloudFront with S3 origin?

My company's site has a static homepage for speed and cost reasons. We use S3 as the origin for CloudFront. Now, we would like to declare Strict-Transport-Security for the entire domain, but S3 seems ...
0
votes
0answers
16 views

AWS CloudFront passthrough on specific cookie

We have an AWS CloudFront setup where we heavily cache requests. What I'm looking to do is pass those requests through (even if there is a cached copy) whenever there's a specific cookie set. Is this ...
0
votes
0answers
171 views

Cloudfront - How to invalidate objects in a distribution that was transformed from secured to public?

The setting I have an Amazon Cloudfront distribution that was originally set as secured. Objects in this distribution required a URL signing. For example, a valid URL used to be of the following ...
0
votes
1answer
2k views

Setting Access-Control-Allow-Origin on Cloudfront

I am having problems serving static assets to Firefox using AWS Cloudfront. Chrome works perfect, but Firefox is returning a CORS error. If I execute curl , I get: HTTP/1.1 200 OK Content-Type: ...
0
votes
0answers
29 views

Cloudfront Distribution Wont Accept New SSL Certificate

I uploaded a reissued new multi-domain certificate via IAM, but when I access the CDN and check the cert, it still has the old cert with the old domains. Tried so far: I tried clearing the browser ...
0
votes
2answers
123 views

How to account AWS cloudfront metrics if the logs are not reliiable for this?

As mentioned on this documentation page Important We recommend that you use the logs to understand the nature of the requests for your content, not as a complete accounting of all ...
3
votes
2answers
175 views

Does Amazon CloudFront charge for storage? [closed]

I've been reviewing the features and prices of Amazon S3 and Amazon CloudFront as well as similar services offered by other providers. One thing I can't understand is why Amazon CloudFront pricing ...
-1
votes
1answer
180 views

cloudfront infront of elb and proxypreservehost

i have apache config in ec2 instance as: RewriteEngine On ProxyPreserveHost On ProxyRequests On ProxyPass /blog http://212.128.122.142/blog this works until i ...
0
votes
1answer
612 views

Amazon Cloudfront with S3 Redirect

I'm trying to do something that should be relatively straight-forward - I want to setup a few domains and subdomains to redirect to the core domain for our site, but I want to put the redirects out on ...
0
votes
1answer
573 views

Cloudfront - Failed to contact the origin

m.giftsdirect.com has a CNAME record for our CloudFront distribution. We are getting 503 errors, "Failed to contact the origin." on all of our product urls. E.g. ...
1
vote
1answer
534 views

Static IP for cloudfront

Is there any way to bind static IP to my cloudfront distribution? I'm wondering if VPC can make that work. I need static IP just to eliminate the problem of allowing in my firewall everytime AWS ...
1
vote
0answers
519 views

CORS Fails on CloudFront Distribution with Nginx Origin

I have a CloudFront distribution set up with an Nginx server as the origin (a Media Temple DV server, to be specific). I enabled the Access-Control-Allow-Origin: * header so fonts will work in ...
1
vote
1answer
230 views

AWS cloudfront - why my assets appear twice in page speed tests?

Here is an example: http://tools.pingdom.com/fpt/#!/cp0wwy/http://www.shearcomfort.com/Car-Seat-Covers_CDN.asp Pick any image, say 2014_subaru_outback_mini.jpg then you can see it appears twice: once ...
0
votes
0answers
61 views

CLOUDFRONT - Site host name, https://media.domainname.com, does not match your SSL certificate Subject Name

I woke up this morning to an email from Google Webmaster Tools saying the following: We have noticed that the host name of your site, https://media.domainname.com, does not match any of ...
0
votes
3answers
566 views

How to block CloudFront or other CDN to access my website

Some guys create a CloudFront CDN to proxy my site, so people can access my website using url like df03039lsls933.cloudfront.net instead of www.example.com How to block this using nginx? From ...
11
votes
1answer
5k views

Amazon Cloudfront with S3. Access Denied

We're trying to distribute out S3 buckets via Cloudfront but for some reason the only response is an AccessDenied XML document like the following: <Error> ...
1
vote
1answer
602 views

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 ...
0
votes
0answers
47 views

Amazon cloud front caching is not working

we have setup in such a way that end user request goes to Amazon cloud front and if cached resource is available on Amazon Cloud front otherwise it will forward request to origin (nginx server on ...
11
votes
3answers
1k views

How can I use https with AWS Cloudfront without paying $600 to upload my cert?

I can host a dynamic website through Amazon CloudFront because they have CNAME Wildcard Support. However, some pages of my Site use HTTPS. Amazon have some documentation about how to associate your ...
1
vote
1answer
144 views

Amazon CloudFront Synchronization

I want to leverage Amazon CloudFront to "cache" my webserver such that my website stays up even if my webserver goes down. I understand CloudFront has many edge servers that facilitate the ...
0
votes
1answer
56 views

AWS: In what situations would you NOT want to put your entire domain in front of a CloudFront distribution?

Given the relatively recent support for POST/PUT/etc. (http://aws.amazon.com/about-aws/whats-new/2013/10/15/amazon-cloudfront-now-supports-put-post-and-other-http-methods/), if you don’t require any ...
0
votes
0answers
1k views

Uploading an SSL cert to AWS — Converting cert to PEM

Short Question I have a working crt file imported into tomcat keystore and I need a certificate file and private key file in pem to uplaod to aws cloudfront. Long Question Our SSL cert issued by ...
1
vote
1answer
717 views

Whole-site delivery on CloudFront

After much searching, I can't seem to find the question to whether it's viable to cache my entire website in Cloudfront. (Static assets as well as the HTML returned on a dynamic request). The Setup ...
2
votes
1answer
644 views

AWS Cloudfront multiple origins - how can we fallback to 2nd origin if not found in the 1st

We're trying to set up a Cloudfront distribution where the default origin is S3, but if the content is not found on S3, we want it to fetch it from an EC2 instance. Can we setup these multiple ...
1
vote
1answer
403 views

Webfont won't load through CloudFront even with Access-Control-Allow-Origin set in the server

I want to use cloudfront as a CDN to speed up a site. I've got all the JS & CSS working fine but I'm stuck on some webfonts which won't load from the CDN. I've setup Apache VHOSTS file with the ...
3
votes
0answers
1k views

Amazon S3 + Cloudfront VS Rackspace CloudFiles [closed]

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 . ...
0
votes
1answer
282 views

Chrome not caching CloudFront video/audio; CloudFront delivers http 1.0 headers

With the following response header: HTTP/1.0 200 OK Content-Type: video/mp4 Content-Length: 3294545 Connection: keep-alive Date: Thu, 30 May 2013 21:17:34 GMT x-amz-meta-s3cmd-attrs: ...
1
vote
0answers
61 views

Randomly broken files from CloudFront

I host my software installers on S3 and distribute them through CloudFront. Had couple complaints of broken files from customers. Problems appeared the same night. My files are DMG disc images. ...
2
votes
0answers
169 views

Cherokee force gzip compression for HTTP/1.0

I am using CloudFront with a Cherokee origin server for static files. Cherokee serves gzipped content for direct browser requests without any problem. But when CloudFront requests content, Cherokee ...
0
votes
1answer
544 views

gzip_http_version set to 1.0 but sends 1.1

I am trying to set Amazon CloudFront up with Nginx using W3 Total Cache and WordPress multisite. CloudFront only works with http 1.0 so, I read that you need to change the http version in gzip to 1.0. ...
4
votes
1answer
118 views

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

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 ...
0
votes
1answer
65 views

Caching video content on CDN

I'm currently running an application that delivers streaming video. All of the video content is hosted on our server, but we'd like to take some of the bandwidth load off of our server and speed up ...
2
votes
1answer
848 views

Using Amazon s3 and Cloudfront what is the best way to set expires headers and cache expiration

We have a huge bucket of photos on s3. We add and remove from this daily but it currently has millions of photos that we don't want to rewrite or update if possible. We have not set any expires ...
0
votes
2answers
320 views

Amazon Cloudfront, S3 and EC2

I'm trying to use Amazon Cloudfront as a CDN provider but unsure of what other services are meant to be. Do I have to use S3 and EC2 as Virtual Server to host my files and change hosting provider in ...
0
votes
3answers
1k views

CloudFront Dynamic Content & Apache using Multiple Virtual Hosts

I've tried to setup CloudFront to point to an Elastic Load Balancer. I can see the requests are reaching the web server (which as multiple Virtual hosts configured) however the requests always end up ...
3
votes
2answers
4k views

Why S3 website redirect location is not followed by CloudFront?

I have a website hosted on Amazon S3. It is the new version of an old website hosted on WordPress. I have set up some files with the metadata Website Redirect Locationto handle old location and ...
1
vote
1answer
1k views

Is Cloudfront inherently faster than S3 (without considering distance)?

Just a simple question but I can't find a definitive answer online. Of course cloudfront is good for serving content globally, but is the infrastructure there inherently different from s3, so tha even ...