Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [amazon-cloudfront]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
16 views

Soft 404 error in Google Search Console for a new PHP based website using AWS CloudFront

I created a new PHP based website. I enabled AWS CloudFront on top of it. When I am doing a URL Inspection on it using Google Console, I am getting a soft 404 error. It's reporting: URL is not ...
2
votes
1answer
173 views

IllegalLocationConstraintException on CloudFront (with S3)

I have created an S3 and I uploaded files on the bucket successfully. Now, I am trying to make it work with CloudFront however it is giving me IllegalLocationConstraintException The ap-east-...
1
vote
1answer
296 views

ERROR: The request could not be satisfied - Amazon CloudFront CDN

Amazon's Cloudfront CDN requires correct connection to your origin in order to work properly without any 502 bad gateway error. I did setup everything alright. For example: Cloudfront URL: https://...
2
votes
2answers
307 views

CloudFront - disable access to distribution via d1234.cloudfront.net

I have a CloudFront distribution with a configured alternative name (e.g. cdn.example.com). Is it possible to restrict access to the CDN via d1234.cloudfront.net name? I don't want it to be indexed ...
1
vote
0answers
100 views

Googlebot intermittently fails to download ressources from AWS CloudFront CDN

I have a weird issue and after a few weeks of investigation I think I may have found the cause : Cloudfront & Googlebot. Context : I launched a French website that compares and combines all ...
2
votes
1answer
522 views

Google intermittently fails to download CSS and JS from CloudFront CDN

We noticed a lot of "Mobile Usability" errors in the Search Console. When I clicked on them and chose "Check live version" option - it always said the page was mobile friendly. However, the mobile ...
2
votes
0answers
126 views

How can I handle an ISP's request for information that our CDN doesn't capture?

A hosting provider has responded to my detailed abuse complaint with a request for additional information that our CDN doesn't capture: Can you please provide us with exact source port number for ...
4
votes
0answers
627 views

Google Mobile Friendly Test doesn't download css/js/images reliably (cloudfront + ALB)

I use CloudFront and ALB with AWS and my site always looks good from mobile, desktop and tablet browsers. But in the Google mobile-friendly tool, it often doesn't have random images, css, and ...
1
vote
0answers
400 views

CloudFront very slow TTFB after enabling HTTP/2

My site was running on HTTP/1.1 with CloudFront at front, Webpagetest reports the load time usually at 2 seconds. Yesterday I enabled HTTP/2 (and SSL) on CloudFront, hoping to see an improvement. The ...
1
vote
0answers
26 views

Transfering AWS S3/Cloudfront/iAm between User Accounts

I have a Rails site that makes heavy use of S3 and Cloudfront, with a non-trivial setup including multiple buckets for each environment (dev, staging production) and heavily tweaked Cloudfront ...
1
vote
0answers
590 views

3 seconds to TTFB in CloudFront

I'm trying to improve the speed of a site and I've noticed that it takes 3 seconds to download some images from CloudFront. To download a 18kb image it takes 3 seconds: And it's a Hit from ...
1
vote
0answers
78 views

example.com is working but www.example.com has invalid certificate using an AWS S3 bucket and cloudfront

On AWS, I created two S3 buckets. One for example.com and one for www.example.com. I selected the option "Use this bucket to host a website" for example.com and selected "Redirect requests" on www....
0
votes
1answer
46 views

How can any media-driven website be profitable with a CDN?

Long story short, I run a website where users upload their own content. Photos and videos. Everything is posted directly to an AWS S3 Bucket, then propagated out to a CDN. I have users all over the ...
2
votes
1answer
123 views

How to debug a non working https setup that uses Amazon S3, route53, Cloudfront?

I am setting up a static site with the following: content hosted on S3 (central Europe region) with a custom domain Cloudfront with https route53 for DNS setup redirect http to https redirect www to ...
3
votes
2answers
686 views

10 megabyte gzip limit in AWS Cloudfront?

My website is a static blog of visualizations and I am serving it via AWS S3. Some of the visualizations use large CSVs, ranging from 1 megabytes to 20 megabytes. I've set up Cloudfront to ...
1
vote
2answers
833 views

Issues with a Client involving AWS CloudFront and Static IPs

I have a social media website that uses AWS extensively. Through the site we stream video stored in S3, and this video is delivered through CloudFront. I have a Client who is one of our biggest ...
1
vote
0answers
116 views

Cache-Control not being picked up by performance analysis tools for my website (Amazon CF/S3) [closed]

So, I have this website that is hosted in Amazon S3/CF and when I run any Performance analysis tool I get the following recommendation to set browser caching in some files: So, I set in (most of the ...
1
vote
0answers
482 views

Leverage Browser caching - not picking up expires header

Currently working on improving my page speed score with Google PageSpeed Insights. My biggest issue according to PageSpeed Insights is Leverage browser caching. About 17 images come back as "no ...
2
votes
0answers
180 views

Accessing distribution URL directly gives XML error

I'm currently setting up the Amazon Cloudfront distribution and S3 bucket for my Wordpress website. I set up new S3 bucket for the site and i'm using the S3 offload plugin for wordpress to store any ...
2
votes
1answer
92 views

Double redirect - implications on performance and cost

I recently setup an AWS S3 account and hosted a static site there. I've setup one bucket for the 'www.example.com' and one for the apex domain 'example.com'. The 'www.example.com' bucket redirects to ...
0
votes
1answer
1k views

Wordpress Reverse Proxy with Cloudfront and S3

I have an angular site / web application example.com hosted on Amazon S3 as a static website. This s3 bucket serves as the origin for a cloudfront distribution and it works perfectly. We have an ...
16
votes
2answers
15k views

Is there a way of using HTTPS with Amazon's CloudFront CDN and CNAMEs?

We use Amazon's CloudFront CDN with custom CNAMEs hanging under the main domain (static1.example.com). Although we can break this uniform appearance and use the original whatever123wigglyw00....
5
votes
2answers
657 views

What are the benefits of requiring HTTPS between AWS CloudFront and the origin server?

I am hosting a website on Amazon CloudFront and we've recently updated the distribution to require HTTPS between CloudFront and viewers. With the introduction of AWS Certificate Manager and the ...
2
votes
1answer
3k views

Webmaster Tools “Fetch as Google” doesn't fetch my js/css/images on a CDN

I've discovered that when I do Google Webmaster Tools --> Fetch as Google on a page on my site (let's call it http://example.com), it shows the static assets (js, css, and images) as Temporarily ...
4
votes
1answer
2k views

getting CDN images indexed with Google

I have somewhere close to 500,000 user-uploaded images hosted on a Cloudfront CDN -- separate from our main host (exampledomain.com). Up until this point, few of them have been getting indexed at the ...
1
vote
2answers
36 views

When CloudFront is activated some elements are failing to load

I use WordPress and I'm using CloudFront as my content delivery network. When activating CloudFront some elements, practically icons are not loading, what could be the problem?
0
votes
1answer
3k views

SEO - why my sites images are not showing in google search [closed]

I have got SEO suggestion like this: "Make sure that Googlebot can crawl your JavaScript, CSS and image files by using the Fetch as Google feature in Google Webmaster Tools." So how to know why is ...
11
votes
4answers
7k views

Google doesn't crawl CDN files

I've noticed that Google Webmaster Tools is reporting a lot of blocked resources in my website. Right now all the "blocked resources" are .css, .js and images (.jpg, .png) that I serve from Cloudfront ...
1
vote
1answer
2k views

Why is CloudFront working via one CNAME record but not another?

So assume company name is widget I have elastic beanstalk instance at widget.elasticbeanstalk.com I have a domain name widget.com under Route53 control I have a CNAME record direct.widget.com ...
2
votes
1answer
334 views

Is there any benefits of using a separate .com domain for CDN?

My company is using AWS CloudFront as a CDN for our website's media content. The previous employee set up a separate .com domain name with CNAME pointing to our cloudfront domain (d3cerlni7****....
1
vote
0answers
153 views

What is the best way to invalidate an entire Amazon CloudFront cache or recreate the entire distribution?

After asking this question, I have decided to recreate some CloudFront distributions, as so many files need to be invalidated. But instead of creating a new distribution, is it possible to just ...
2
votes
2answers
1k views

Google crawl rate dropped after activating CloudFront

Previously we've been using Amazon CloudFront for our static content (js, css etc). But to be able to reduce load on our origin servers and to be able to give our international users a good user ...
2
votes
1answer
110 views

CDN caching my HTML pages too!

Recently I started using Amazon CloudFront to serve my site's JS,CSS and images via CDN. However, seems like with those, CloudFront serving my HTML pages as well? Thus http://mydomain.com and http://...
2
votes
1answer
1k views

How to detect search engines on Cloudfront?

Is there a way to "ask" google to add a query string paramater to the url when crawling my website? (maybe in robots.txt?) so that when it crawls example.com, it would add something like ?iam=google . ...
6
votes
7answers
490 views

Looking for a CDN [duplicate]

Most of the CDN's that I've seen require you to upload your content in advance. I'm looking for a CDN that, upon receiving a request for a resource it hasn't seen, will contact my application server. ...
4
votes
2answers
1k views

Do browsers recognize the same files served by different subdomains?

I have my website assets stored on Amazon S3 and served by CloudFront, from a separate domain name, to act as a cookie-less domain (so website.com for the website and websitestatic.com for static ...
3
votes
2answers
2k views

What's the most efficient & economical way to do GeoIP redirects for a high traffic site?

So, I'm setting up a new potentially high traffic site that's made up of several simple static pages. We want to host it as efficiently as possible, as we're both on a non-existent budget and may have ...
0
votes
1answer
507 views

How to invalidate images on Amazon CloudFront after optimising them?

After checking on Google PageSpeed Insights, I have optimised the images on several websites using jpegoptim and optipng. Obviously a lot of the images are now smaller and they have new timestamps, ...
1
vote
1answer
1k views

Amazon Cloud Front - Changing the origin domain

Currently have a Cloudfront CDN with an Origin pointed to http://mysite.com. The CDN URL is something like jr27a8vopf32a.cloudfront.net. Currently there are a lot of external consumers of a file ...
1
vote
1answer
1k views

Price of Amazon CloudFront vs dedicated server?

I am trying to estimate my monthly bill for Amazon CloudFront. Let's say I need 1'000 GB/month transfer. The price calculator give me a bill of $120. That's totally overpriced. If I buy a dedicated ...
3
votes
3answers
319 views

Students publishing their websites to Amazon S3

I want students to publish their static websites to Amazon S3. But I can't have them all create AWS accounts because it requires their credit cards even for the free usage tier. I don't mind letting ...
3
votes
2answers
251 views

Shared to Dedicated or Amazon CloudFront to improve performances and keep secured?

I have a Wordpress which currently takes about 1.8s to 2.5s for the home page to completely load in my country. The page weight is about 700Ko (static content included). In order to increase ...
4
votes
1answer
83 views

Are there any issues using amazonaws.com uri for Cloudfront?

Assume that I have created a Cloudfront distribution for a S3 bucket. Does it matter if you use the aws uri such as bucket-name.s3.amazonaws.com verses using d2a3tewy8xuw6.cloudfront.net? Are there ...
2
votes
1answer
2k views

Why am I getting messages from cloudfront in my error log?

I frequently have messages like this in my websites error log: "Script error.". URL: https://e3m4drct5m1ays.cloudfront.net/items/loaders /loader_21.js?pid=21&systemid=...
3
votes
1answer
3k views

Can Amazon Cloudfront files be served GZIP'd?

If i'm running a WordPress website with the W3TC plugin installed, and have my static CSS/JS minified files hosted on Amazon's CDN, is there a way to serve them GZIP'd? I have the basic understanding ...
1
vote
1answer
259 views

What's the best way to version CSS and JS URLs - part 3

this is a follow up question to this one What's the best way to version CSS and JS URLs - part 2 If I have my static files on Amazon cloudfront and have the file's URLs mentioned in my code. How will ...