by zalmoxes · 11y ago · 0 comments
My first thought when reading this blog was that you can get the same results by placing your static content in an Nginx docker container and pushing it to ECS or Triton.
The docker container tagging would also avoid the rollback limitations mentioned in the article.
AWS offers so many ways to accomplish the same things, it's hard to figure out which solution is the most cost effective.
https://www.keycdn.com/pricing
$.04/GB is pretty cost effective.
But yes, on a pure cost-basis, publishing it via a single $5 DO node is cheaper.
In terms of which CDN you should use, there are a few options. CloudFront has the most edge locations, Fastly and MaxCDN are more configurable. At Eager we use CloudFront for our app (https://eager.io), and Fastly (with a CloudFront fallback) for the static files we serve our users. One other note is that Fastly has some cheaper SSL options than CF, particularly if you need support for Windows XP clients.