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

learn more… | top users | synonyms (1)

0
votes
2answers
105 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
31 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 ...
0
votes
2answers
636 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: uid:501/gname:...
3
votes
1answer
741 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. ...
2
votes
1answer
570 views

Can you setup a whitelist for allowed files in Amazon CloudFront

I'm using CloudFront as a CDN, and my website as an origin for pulls. Basically, I have cdn.mydomain.com pointing over to Cloudfront, and Cloudfront pulls any requests from www.mydomain.com. However,...
1
vote
1answer
333 views

CloudFront wasn't able to connect to the origin.

I'm trying to set up an A record that points to my cloudfront url. When I do that, I get the following error when I access my cloudfront url: "CloudFront wasn't able to connect to the origin." does ...
1
vote
1answer
86 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 ...
1
vote
1answer
120 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: https://aws.amazon.com/blogs/aws/root-domain-...
1
vote
1answer
983 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 ...
1
vote
1answer
202 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 request/...
0
votes
1answer
56 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 cdn.domain....
0
votes
1answer
204 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
29 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 ...
3
votes
0answers
432 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 ...
2
votes
0answers
238 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 ...
1
vote
0answers
22 views

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 ...
1
vote
0answers
218 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 'http://d1h0r2f9g9fk4d.cloudfront....
1
vote
0answers
188 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
0answers
469 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 ...
1
vote
0answers
353 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 ...
1
vote
0answers
59 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 ...
1
vote
0answers
751 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 Firefox....
1
vote
0answers
96 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. ...
0
votes
0answers
9 views

Access denied for sub-paths on CloudFront

I have a distribution on Cloudfront that use a S3 bucket. The first page works but not he sub-paths. For example, when I go to 'www.example.com' it works but not 'www.example.com/admin'. I always ...
0
votes
0answers
23 views

CloudFront Object Caching: “Use Origin Cache Headers” vs “Customize”

When creating a CloudFront Distribution, I can choose "Object Caching" - either "Use Origin Cache Headers" or "Customize". "Customize" allows me to set Minimum, Maximum and Default TTL values. Does "...
0
votes
0answers
25 views

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

Reverse Proxy on cloudfront

I have an angular site / web application (Lets call this www.mysite.com) hosted on Amazon S3 as a static website. This s3 bucket serves as the origin for a cloudfront distribution and it works ...
0
votes
0answers
60 views

Can AWS support RTMP based Live Streaming with CloudFront or CloudFormation

As far as i understand reading all these articles: docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-rtmp.html docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/...
0
votes
0answers
60 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
0answers
26 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 ...
0
votes
0answers
72 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
0answers
71 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
0answers
36 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
185 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
0answers
85 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
0answers
64 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 ...
0
votes
0answers
2k 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 go-...