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

learn more… | top users | synonyms (1)

0
votes
2answers
23 views

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

Cloudfront origin direct requests to a parent path

I'm trying to set up mydomain.com/help that should pull content from mydomainhelp.otherdomain.com I was told to use a apache mod_proxy, but I'm not a big fan of that approach. I was wondering if I ...
3
votes
1answer
196 views

Blue/Green deployments with CloudFront

I'm looking for a way to do Blue/Green deployments with CloudFront. Does anyone have a good solution for moving from one CloudFront distribution to another or does everyone really just create their ...
3
votes
1answer
2k 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
0answers
13 views

How can I get a preflight OPTIONS request to work with CloudFront and Signed Cookies?

I have an AWS CloudFront behavior that is configured to allow OPTIONS requests so I can enable cookies to be sent in cross domain ajax requests. My browser (Chrome) requires the OPTIONS preflight ...
0
votes
2answers
2k 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. ...
0
votes
1answer
11 views

How do I route Cloudfront with multiple origins?

So I have 2 Wordpress sites hosted as such http://siteA.mydomain.com http://siteB.mydomain.com I have a distribution created that has the 2 domains above as the origin. siteA.mydomain.com ...
0
votes
1answer
23 views

Stop CloudFront from serving whole website

I've followed a guide to set up CloudFront to use as a CDN on my Wordpress website. It was done using this guide. Everything that WP Super Cache specifies is served by CloudFront however if a user ...
0
votes
0answers
18 views

CloudFront CDN breaks due to DirectorySlash behavior of Apache

My CDN domain is set to www.mysite.com, and it reads from origin.mysite.com. mod_dir is enabled on apache, and so any request without a trailing slash is redirected with a 301 to the equivalent URL ...
0
votes
0answers
14 views

How to make amazon s3 files fast from anywhere in the planet?

I'm working on a project with user created content, users basically upload long mp3 files to the server which can then be played by other users. Recently users not from europe reported slow "seek ...
1
vote
0answers
62 views

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

Getting cloudfront logs into logstash: ERROR: is not a legal argument to this wrapper, cause it doesn't respond to “read”

Logstash version 1.5.0.1 I am trying to use the logstash s3 input plugin to download cloudfront logs and the cloudfront codec plugin to filter the stream. I installed the cloudfront codec with ...
2
votes
2answers
41 views

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

Cloudwatch metrics for Cloudfront real time (or close as possible)

I've got a large amount of video/audio files on S3 buckets that are published via CloudFront with protected URLs, everything is working fine, restrictions and accesses time out and are all OK. The ...
0
votes
1answer
26 views

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

Is possible to change path to server certificate in AWS IAM

I have a problem to use my server certificate in CloudFront of AWS. When I added my server certificate I didn't know that if I'm going to use it in the CloudFront, I needed to add the param --path ...
0
votes
2answers
508 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
1answer
64 views

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

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

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

How Do I Mask the CDN Domain with My Own Domain Name?

So i've been trying out cloudfront from AWS. Why is the URL 'example.com' resolving to 'example.com.s3.eu-west-1.amazonaws.com' in the Address Bar? I've tried googling loads of questions with this ...
0
votes
1answer
151 views

AWS - Map URL to API Backend (Apache ProxyPass Like)

I have a web architecture using Apache as front-end and Nodejs as back-end. I want to migrate this architecture to AWS. Node.js is going to be an Elastic Beanstalk and Apache will be stored on Amazon ...
1
vote
1answer
419 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 ...
2
votes
1answer
149 views

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

CloudFront alias for https site

Our website is completely configured on SSL and all links of images and others are coming via https://www.example.com/.. This is one of the requirement of site Now, if I need to setup the CloudFront ...
0
votes
0answers
112 views

CloudFront + S3 Access Denied Using Signed Cookies

I'm trying to integrate signed cookies for a CloudFront distribution that's fed off of an S3 bucket but getting access denied error messages: <Error> <Code>AccessDenied</Code> ...
1
vote
2answers
507 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
1answer
197 views

CloudFront SSL issue

We have a wildcard certificate that works for several cloudfront hosts we use at work here (all or mostly all tied to an S3 bucket) but when accessing using SSL, my browser yields an ...
0
votes
0answers
128 views

Rewrite rule with nginx returns a 301 to Cloudfront

I am trying to figure out why this rewrite rule returns a 301 to Cloudfront instead of returning the image. server { [...] rewrite ^/images/filter/(.*)$ /filter.php?url=$1 last; [...] } ...
0
votes
1answer
229 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 ...
5
votes
0answers
204 views

What's the best way to simulate being behind China's Great Firewall? [closed]

We're having issues with an iOS app of ours that uses in-app purchase to unlock downloadable content - but it seems only from China. We see many negative reviews from China for this reason. Our in ...
0
votes
1answer
166 views

Wordpress with cloudfront , how to mask origin url

I'm facing an issue setting up wordpress with cloudfront. I've set up all things fine, and it's working, but the problem is that when I send a request, the origin url is displayed in the address bar ...
0
votes
1answer
44 views

Cloudfront: Pulling content from subdomain - serving it on main domain

I'm setting up CloudFront (CF) using third party hosting as the origin. What I want is to have the CF servers act as my own hosting, meaning I don't want to fetch files from the likes of ...
0
votes
1answer
23 views

[AWS]Get clouffront redirecting to the right apache vhost instead of default one

I have set a cloudfront distribution with an orgin which is a vhost on apache. When I select "None (Improve Caching)" in the Forward Hearder option, the cname of the cloudfront distribution sends me ...
0
votes
1answer
38 views

How to stop s3 from listing some of the content?

It is an example. What setting of S3 causes the s3 server to a listing of bucket content? EDIT: I have followed Céline Aussourd's answer and turned off the list of the s3 bucket. But ...
0
votes
0answers
394 views

AWS cloudfront with SNI + ELB with 443 to 80 redirection to EC2 issue

I have configured web server front ending with AWS ELB and CloudFront. I have deployed SSL certificate on load balancer (ELB) for HTTPS connection. We have set up 2 listener protocols: Source -> 80 ...
0
votes
1answer
134 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
38 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: ...
3
votes
1answer
2k 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
100 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
409 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
3k 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
1answer
338 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
5k 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
544 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 ...
1
vote
0answers
301 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 ...
3
votes
1answer
601 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. ...
15
votes
1answer
12k 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> ...
2
votes
0answers
310 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 ...