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

[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 to my default vhost (the "It works" page) instead…
nixmind
  • 111
  • 1
  • 5
0
votes
1 answer

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 unfortunately the cloudfront has cached the result and is still…
Anthony Kong
  • 3,288
  • 11
  • 57
  • 96
0
votes
1 answer

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 the OAI via the permission section here? If so, do I…
Anthony Kong
  • 3,288
  • 11
  • 57
  • 96
0
votes
2 answers

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 most images. The problem is that we get a lot of…
Skarlinski
  • 101
  • 1
  • 4
0
votes
0 answers

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 the "Subject Names" in your SSL certificate, which…
Eric
  • 37
  • 2
  • 5
0
votes
0 answers

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 Amazon EC2) and nginx request files from Amazon S3…
Alok
  • 101
  • 1
0
votes
0 answers

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-daddy to use the cert for tomcat, hence I have the…
0
votes
1 answer

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. I made the change but my headers are still using…
user715564
  • 143
  • 2
  • 7
0
votes
1 answer

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 delivery to users. Is it possible to setup a CDN…
Ghost Code
  • 103
  • 5
0
votes
2 answers

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 order to use Cloudfront? I understand EC2 is a…
Passionate Engineer
  • 553
  • 1
  • 7
  • 12
0
votes
3 answers

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 at the /var/www/error/noindex.html page. If I…
Adam
  • 515
  • 1
  • 6
  • 10
0
votes
2 answers

Simulating 1000 concurrent downloads

I'd like to simulate 1000 concurrent downloads of a single file from Cloudfront. I figured I'd setup ~10-20 xlarge EC2 instances for this. Is there an obvious way I'm missing to trigger this at the same time and get the average download time while…
Publiccert
  • 1,112
  • 1
  • 8
  • 22
0
votes
1 answer

Is whitelisting a CNAME enough?

We are working on setting up a list of domain names we need to have whitelisted for educational institutions who use our site. We are using AWS S3 as well as cloudfront. In our cloud front, we have multiple cnames set up such as…
0
votes
1 answer

CloudFront cache limit

Say I am serving 3 million requests of static and dynamic images per month from an EC2 machine (origin), and each image is about 15 KB, and my guess is that the approximate amount stored in the CloudFront cache will be about 15 GB of images, since…
b_dev
  • 211
  • 1
  • 3
  • 6
0
votes
1 answer

Anyone using RTMP on CloudFront? I can't specify a crossdomain.xml file

I'm using a streaming distribution on CloudFront to serve media via RTMP. Obviously I want to restrict the crossdomain.xml file but CloudFront is only serving it's default one. The docs give instruction on how to overwrite their default -> I have…