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

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/response process for site pages and associated…
1
vote
2 answers

AWS: In what situations would you NOT want to put your entire domain in front of a CloudFront distribution?

Given the relatively recent support for POST/PUT/etc. (http://aws.amazon.com/about-aws/whats-new/2013/10/15/amazon-cloudfront-now-supports-put-post-and-other-http-methods/), if you don’t require any other protocol support (WebSockets, for example),…
andybons
  • 113
  • 3
1
vote
2 answers

Whole-site delivery on CloudFront

After much searching, I can't seem to find the question to whether it's viable to cache my entire website in Cloudfront. (Static assets as well as the HTML returned on a dynamic request). The Setup My origin server is NOT an EC2 instance, but is on…
fideloper
  • 353
  • 3
  • 11
1
vote
1 answer

Webfont won't load through CloudFront even with Access-Control-Allow-Origin set in the server

I want to use cloudfront as a CDN to speed up a site. I've got all the JS & CSS working fine but I'm stuck on some webfonts which won't load from the CDN. I've setup Apache VHOSTS file with the Access-Control-Allow-Origin using the following…
Simon Cast
  • 29
  • 5
1
vote
3 answers

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:staff/uname:americanyak/gid:20/mode:33 …
arxpoetica
  • 111
  • 1
  • 4
1
vote
0 answers

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. Amazon sever status shows no incidents for May…
Ivan Nikitin
  • 149
  • 7
1
vote
2 answers

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 edge location needs to serve that object. By…
Simon
  • 1,361
  • 2
  • 15
  • 20
1
vote
1 answer

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 getting an error ) :…
1
vote
1 answer

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 on first request. This leads to the problem,…
schneck
  • 155
  • 1
  • 6
1
vote
1 answer

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?
Poma
  • 1,299
  • 6
  • 24
  • 35
1
vote
1 answer

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 down on some rendering requests, and thus is unable to…
b_dev
  • 211
  • 1
  • 3
  • 6
1
vote
3 answers

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: as-put-scaling-policy SBMScaleDownPolicy --auto-scaling-group…
jchysk
  • 319
  • 1
  • 5
  • 13
1
vote
2 answers

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 like to show a "This image is hosted on domain X"…
1
vote
1 answer

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, however, there are a few pages that I'd like to have…
Macgyver
  • 135
  • 4
1
vote
1 answer

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 site itself is fine- quick and responsive.…
Mike
  • 11
  • 2