39 ms·
For those hosting assets on S3, you can use something like http://idiallo.com/blog/creating-your-own-cdn-with-nginx http://idiallo.com/blog/creating-your-own-cd
by atrudeau 9y ago
For those hosting assets on S3, you can use something like http://idiallo.com/blog/creating-your-own-cdn-with-nginx http://idiallo.com/blog/creating-your-own-cdn-with-nginx or https://github.com/alexandres/poormanscdn https://github.com/alexandres/poormanscdn with Geo routed DNS on Route 53. Seems a lot simpler than this (but probably not as feature-rich).
- jloveless 9y agoWith this there's no DNS to even setup which is nice. Route53 is great but getting the failover and geo-routing to work is ... challenging. But I would def still keep a base NGINX and/or Varnish cache at the origin for sure. Can also look at AWS Cloudfront[1] [1] https://aws.amazon.com/cloudfront/ https://aws.amazon.com/cloudfront/
- atrudeau 9y agoYep, CloudFront is great. The disadvantage is missing Let's Encrypt support, which is trivial with the two options above.
- manigandham 9y agoAWS has Certificate Manager, you don't need let's encrypt.