News for hackers. Stuff that matters.
Re:Global Outage of AWS CloudFront CDN on Nov 26 2014 by lxfontes on Thursday November 27, 2014 @12:03PM (#8668039)
bottom line: always CNAME your asset domain.
Re:Global Outage of AWS CloudFront CDN on Nov 26 2014 by mikejholly on Thursday November 27, 2014 @12:09PM (#8668060)
Totally. We were able to side step the CDN in less than a minute. +1
Re:Global Outage of AWS CloudFront CDN on Nov 26 2014 by Nagyman on Thursday November 27, 2014 @12:56PM (#8668245)
That helps! I guess it assumes your origin servers have the capacity to serve the traffic. Or did you switch CDNs? Just curious as there are services like Cedexis (or TurboBytes; the author of the article) for load balancing CDNs
Re:Global Outage of AWS CloudFront CDN on Nov 26 2014 by cbsmith on Thursday November 27, 2014 @12:59PM (#8668254)
Meh. Adds an extra DNS lookup.

Just have a short TTL and let people who ignore it suffer. ;-)

Re:Global Outage of AWS CloudFront CDN on Nov 26 2014 by publicprivacy on Thursday November 27, 2014 @12:31PM (#8668148)
What exactly is an asset domain? The one you setup to point to the CDN?
Re:Global Outage of AWS CloudFront CDN on Nov 26 2014 by ceejayoz on Thursday November 27, 2014 @12:56PM (#8668246)
Yes. Instead of using pqowieurpqoiwer.cloudfront.net, you can point one of your own subdomains at it. Leaves you in control. The only complexity is SSL certificates - you either have to pay $600/month for a custom cert, or use SNI and ditch some older IEs.
Re:Global Outage of AWS CloudFront CDN on Nov 26 2014 by Xorlev on Thursday November 27, 2014 @01:44PM (#8668411)
They do offer free SSL with SNI. But that's not viable for most people given the number of popular older browsers missing SNI support.
Re:Global Outage of AWS CloudFront CDN on Nov 26 2014 by kbuck on Thursday November 27, 2014 @02:07PM (#8668475)
Browsers that do support SNI include:

IE7+ (unless running on Windows XP)

Firefox 2.0 and later

Opera 8.0 and later

Chrome 6 and later (unless running on Windows XP)

Safari 3.0 and later

Android default browser on Android 3.0 and later (this is probably the biggest chunk of users)

Windows Phone 7

So, realistically, you're looking at people who still use Windows XP (unless they're using Firefox) and people with really old Android phones that'll never receive a manufacturer firmware update.

Re:Global Outage of AWS CloudFront CDN on Nov 26 2014 by micro-ram on Thursday November 27, 2014 @01:35PM (#8668370)
Could you add a global variable to your site code with the fqdn of your assets to point to the origin for times like this?
Re:Global Outage of AWS CloudFront CDN on Nov 26 2014 by sbarre on Thursday November 27, 2014 @01:15PM (#8668317)
$600 per month for what exactly? (honestly asking here)
Re:Global Outage of AWS CloudFront CDN on Nov 26 2014 by ceejayoz on Thursday November 27, 2014 @01:22PM (#8668338)
Without SNI, you need a dedicated IP per certificate. For CloudFront, this means dozens of dedicated IPs around the world just for your distribution.
Re:Global Outage of AWS CloudFront CDN on Nov 26 2014 by sbarre on Friday November 28, 2014 @04:46PM (#8672253)
Ah, makes sense! Thanks
Re:Global Outage of AWS CloudFront CDN on Nov 26 2014 by eknkc on Thursday November 27, 2014 @01:24PM (#8668347)
And burn down your backend servers. Assuming you are not swithing to another CDN that fast.