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

398 questions
1
vote
0 answers

How to sign Url on behalf of a certain origin access identity (cloud front)

I want two origin access identities for cloud front (and s3). One that can just view content , and another , that can just put content (and maybe another that can just delete ) I know I can create an Origin access identity , and in my s3 bucket…
harveyslash
  • 129
  • 2
  • 11
1
vote
1 answer

Amazon route 53 + cloudfront + s3 -> with angularjs2 app in ec2

I am really confused about the setup I need for my angularjs2 app. It's simply a SPA application with html5 mode urls and all I want is: requests to www.mydomain.com/blabla... will be redirected to the same mydomain but without the www requests…
1
vote
1 answer

Cloudfront is extremely slow, auto compression is already enabled

I have cloudfront sourcing from s3 bucket. However, the load speed is many times slower than s3 The example url is here. It's merely 500KB but taking over 40 seconds to load. I already have Compress Objects Automatically enabled.
Tuan Anh Tran
  • 165
  • 1
  • 13
1
vote
2 answers

Can AWS support RTMP based Live Streaming with CloudFront or CloudFormation

As far as i understand reading all these…
KRiSh05
  • 23
  • 1
  • 5
1
vote
1 answer

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 S3 (it stores only static files). I use these…
1
vote
1 answer

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 instead of the cname. here is my origin vhost…
1
vote
2 answers

Do I really need Amazon CloudFront and Co.?

I would like to ask you your advice. We are ruuning a dynamics website and have 5000 unique visitor everyday. Currently we run the site on Single VPS server with 512 MB RAM , 20 GB HDD, 500 GB Traffic Limit. We have Online Dictionary service with…
saya
1
vote
0 answers

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 -> ELB -> 80 -> EC2 web server Source -> 443 ->…
1
vote
1 answer

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 I've tried setting the path pattern to include the…
WindsurferOak
  • 113
  • 1
  • 1
  • 4
1
vote
1 answer

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 smooth for the edges used by the countries that…
elbuild
  • 111
  • 3
1
vote
0 answers

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 cache, tried different browsers, changed my DNS…
mashup
  • 330
  • 1
  • 14
1
vote
2 answers

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 requests. CloudFront delivers access logs on a best-effort basis.…
cnvzmxcvmcx
  • 113
  • 4
1
vote
0 answers

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. However, Firefox throws a CORS error for fonts…
kmgdev
  • 125
  • 1
  • 9
1
vote
2 answers

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 from cloudfront with 0 bytes and the second time…
OutFall
  • 81
  • 9
1
vote
3 answers

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 CloudFront doc, it said.. Host: CloudFront sets the value…
Ryan
  • 5,831
  • 24
  • 72
  • 91