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

learn more… | top users | synonyms (1)

0
votes
1answer
13 views

Origin access identity and S3 permission

From http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html , I have already created an OAI, as shown in this screenshot Am I supposed to grant the permission to ...
0
votes
0answers
11 views

boto and signed cloudfront url error - Unable to fetch URL

I am using boto to create a signed url. However I got this exception: ERROR 2015-04-20 01:21:17,019 testmain.py:93] An error occured while connecting to the server: Unable to fetch URL: ...
0
votes
0answers
17 views

Misses in cloudfront CDN

I am a bit new to the world of CDN's. I am also running an internationa site, which we hope will one day have a lot of traffic, but for now trickles in. Site uses a image resizer behind a CDN to serve ...
-1
votes
0answers
47 views

Access Denied: CloudFront Signed URL

I have a CloudFront Distribution (d1z0hf3p8j4xla.cloudfront.net) that uses a S3 bucket and path as its origin: Origin Domain Name: stagingcloudfront.s3.amazonaws.com Origin Path: folder/ When ...
1
vote
0answers
50 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
84 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 ...
3
votes
1answer
1k views

S3 CORS through CloudFront not working in Firefox

I am using S3 CORS for serving fonts. If S3 domain name is used for serving fonts, it works in Firefox, but when CloudFront is used, it doesn't. Works with Google Chrome. My CORS configuration on S3 ...
0
votes
0answers
19 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 ...
0
votes
0answers
46 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 ...
3
votes
2answers
73 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 ...
6
votes
3answers
2k views

Using EC2 as a Cloudfront Origin Server

Amazon has recently added the ability to use any server as an origin server for Cloudfront, removing the original S3 only restriction. My question is- how do I set this up? The AWS web-gui seems to ...
0
votes
0answers
67 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
87 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 ...
7
votes
4answers
4k views

Should AWS CloudFront *increase* load time for infrequently accessed files?

I am new to CDNs and experimenting with CloudFront. I have set everything up and all appears to be working fine. I can create a static image on a page and access it though my CloudFront distribution. ...
1
vote
1answer
163 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
178 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
233 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. ...
11
votes
1answer
6k 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> ...
0
votes
0answers
16 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
164 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
65 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 ...
3
votes
1answer
1k views

How to restrict access just to cloudfront from a custom origin server?

if i understood well, in order to create a custom origin distribution, I need to make public those files on my custom origin server. In my case, that will be put those files into a public dir of an ...
0
votes
1answer
3k 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
17 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
192 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
0answers
33 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
128 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 ...
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
183 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
202 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
696 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
672 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
587 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
531 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
242 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 ...
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 ...
0
votes
0answers
63 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
600 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 ...
2
votes
2answers
1k views

Set TTL for CloudFront files to 1 year

I know we can set the expires header to Amazon S3, but how do I set it for a cloudfront file ? I've read that we can set the TTL from 24hrs to 1hr, but I want to set it for 1 year.
1
vote
1answer
615 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 ...
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 ...
1
vote
1answer
148 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
762 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
699 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 ...
2
votes
1answer
570 views

Max number of viewers for different types of Flash Media Server instances

I'm looking on Adobe Flash Media Server webiste, under Instance Types For each type of instance, it lists the "Simultaneous connections". If the instance I want lists "1000 RTMFP", does that mean ...
0
votes
2answers
323 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 ...
2
votes
2answers
220 views

Amazon CloudFrount on EC2

I know that i can mount s3 buckets with s3fs on EC2 instance. So i have next question can i somehow mount Amazon Cloud Front (my S3 buckets files) in EC2 instance?