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

learn more… | top users | synonyms (1)

1
vote
1answer
283 views

Creating url from the cloudfront aws

I have my js files which I have uploaded into the Amazon S3 and linked it with the Cloudfront. I got a url something like this : dxxxxxxxx.cloudfront.net But opening that url in my browser ( I'm ...
0
votes
1answer
340 views

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

CloudFront - first access

We are storing video files in Amazon S3-Buckets, and do the playout via CloudFront. Unfortunately, although CloudFront has an origin-pull mechanism, the files are only transferred from S3 to the edges ...
-1
votes
1answer
62 views

How to check Amazon cloudfront/S3 changelogs?

Can I see any kind of changelogs? And is it also possible to see the IP addresses (with or without the access tokens) that were used?
0
votes
1answer
144 views

Is CloudFront (backed by S3) a good way to serve user-uploaded pictures?

Is CloudFront (backed by S3) a good way to serve user-uploaded pictures? For example forum avatars. Or maybe there is a better way?
3
votes
2answers
1k views

Redirect some URL requests to CloudFront and the rest direct to the normal server?

Say I have two types of URL requests that must be handled by my REST API: http://query.restapi.com/image.png?apikey=abc123 ...
0
votes
1answer
112 views

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 ...
1
vote
1answer
98 views

Setting up Server 1 to parse and pass requests for static files to Server 2 and computationally intensive requests to Server 3

Problem: Our REST API is for requests for static images and requests for other computationally intensive tasks, such as rendering new images. We noticed that our Apache-Django server gets bogged ...
3
votes
2answers
2k views

CloudFront with Custom Origin and ELB

We are using CloudFront for our static assets but also wanted to allow for Gzip. We set up a new distribution with a custom origin pointing back to our application servers which are behind a elastic ...
2
votes
1answer
499 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 ...
2
votes
2answers
209 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?
0
votes
1answer
546 views

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 ...
1
vote
3answers
355 views

AWS Elastic load balancer doesn't decrease instances from Alarm Trigger

I have a load balancer that I created an auto-scaling-group and launch-config for. I created the auto-scaling-group with a min-size of 1 and max size of 20. I have a scaledown policy: ...
2
votes
2answers
543 views

CloudFront - Users requests static files non-stop to make your bill high?

I had this weird wondering once. If I am using CloudFront as my CDN, I pay per requests made on my static files. So here comes the wondering. Can one keep requesting the same file in a non-stop ...
1
vote
2answers
169 views

How to show a “linked from site X” placeholder instead of actual photo?

I’m hosting a bunch of photos on Amazon S3 and also running Amazon CloudFront for them. Also, I’m running a custom domain name. Now, in case someone tries to embed the image to another website, I’d ...
2
votes
1answer
617 views

S3 to cloudfront edge location vs cloudfront to end user transfer ratio

We host videos in amazon S3 and use cloudfront to deliver them. Here is last months numbers: 4,2 TB total traffic from cloudfront to end user. 4 TB of this is in europe, the rest mainly in the US. ...
2
votes
2answers
578 views

How to set cache control headers

How do I go about setting the cache control headers for specific files on my web server? I'm running a LAMP environment. I don't want to set the cache control sitewide, just for a few files. I am ...
1
vote
1answer
113 views

How do I make single page expiration 1 hour CloudFront

I am using CloudFront to distribute content from one of my domains. There is no S3 tie-in here. By default, content expires after 24 hours, which is fine for most of the data on the website, ...
1
vote
1answer
709 views

Does anyone have a config to process AWS CloudFront/S3 logs with AWStats (or similar sw)?

I don't want to give an external company like s3stat access to my logs. I know that AWS logs S3 and Cloud Front in a format readable by AWStats. Has anyone used AWSats to analyze them? S3stat used ...
5
votes
3answers
4k views

Forcing CloudFront to pass-through the latest HTML file from S3

Background I'm hosting a static site on S3, with CloudFront over the top. The issue I have is with my HTML files. According to CloudFront's FAQ: Amazon CloudFront uses these cache control ...
1
vote
1answer
433 views

Preload/Prime Amazon Cloud Front CDN before move.

I am changing CDNs and I would like to preload some content to AWS Cloud Front so that my origin server is not hammered during that transition. Any tips?
5
votes
2answers
2k views

Webstats for large Amazon S3/Cloudfront logs?

I'm trying to find a way to parse our Amazon S3 access logs to get some webstats. I've been trying to use AWStats 7, but I got to the point of where after day 9 of a given month it can't process any ...
0
votes
1answer
677 views

Large downloads from AWS EC2 are slow

We have an EC2 instance in the Ireland datacenter. Running off this is a website that permits the download of several files whose size ranges from 10MB to 200MB. The site stores the files on EBS. The ...
3
votes
1answer
543 views

Is it possible to get a breakdown of the bandwidth usage by file in AWS CloudFront?

My sites traffic is finally starting to peak, and I am a heavy user of AWS CloudFront. I'd like to optimize our bandwidth, but I don't see anyway of getting a detailed breakdown of which files are ...
0
votes
2answers
835 views

http headers necessary ensure cloudfront distributed files don't get browser cached

I have a Rails-generated JS file that I want to distribute via CloudFront (using my Rails app on EC2 as the origin server). Does anyone know which headers I should use in the response for my JS file ...
2
votes
2answers
178 views

Can you have public and private files on the same Cloudfront distribution?

We have files serving through the Cloudfront CDN and we need to have some files to be public and some others to be private. One option would be to have two different buckets and distributions but it ...
7
votes
4answers
3k 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. ...
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 ...
2
votes
2answers
942 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.
6
votes
2answers
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
1answer
481 views

Static website cname problem, cloudfront

Hey guys, one quick question. I've got a problem setting the cname for my domain http://snaremedia.com . I use godaddy and set the www cname to point at my cloudfront url, but currently my domain only ...
2
votes
2answers
536 views

Best way to implement Amazon CloudFront for established website

Some of you may have a solution for this, and I need to hear it. Basically, you have a website, a lot of categories ( games, blog etc ). The idea would be to use Amazon CDN for images, flv's, ...
1
vote
1answer
3k views

Using .htaccess to serve files from Amazon S3 CloudFront

My ideal setup would be to take a current clients site, upload a .htaccess with a regex inside, that would match the URI, and if it finds a certain file extension, it would use the same path, but with ...
3
votes
1answer
722 views

How can I limit CloudFront downloads

I'm looking to use Amazon's CloudFront to host some content in the near future. Currently, I'm keeping it very simple and I'm just uploading my content to S3 and then making a distribution available ...
1
vote
2answers
506 views

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 ...
1
vote
2answers
1k views

How frequently do Amazon CloudFront objects expire?

The answer I can find in the FAQ is as follows An object stays in an edge location until it expires. After the object expires, CloudFront must go back to the origin server the next time that ...
1
vote
1answer
334 views

Can you have private URLs in Amazon's CloudFront?

In Amazon's S3 storage system you can have sort of private URLs using a special query string and expiring the link after a while. Is such a private system possible using Amazon's CloudFront, which is ...