Hacker News new | ask | show | jobs
by gryzzly 3572 days ago
What is a good alternative for static single-page apps? What are downsides of S3?
7 comments

I host all my APIs on Heroku and all my static front ends on S3 with CloudFront on top. No downsides in my mind. Free and instant TLS certs with CloudFront, too.
And you can even get a free domain name through http://www.freenom.com/

Disclaimer: not affiliated

My search led me to Netlify, which seems pretty great. It runs your build script when you push to GitHub, then serves the resulting static files with a Let's Encrypt certificate. Comes built-in with a CDN, so you don't need CloudFront or CloudFlare.
Take a look at netlify (https://www.netlify.com). We're like a heroku tailored for that stack.
I've recently been converted to Netlify after fighting hard against moving off of straight S3. There's an awful lot to love there.
I use Github pages for my personal site.
Aerobatic is one alternative option. Git push deploy. NPM auto-builds, CDN, SSL and more. https://www.aerobatic.com/

Disclaimer: co-founder at Aerobatic

Many options. S3 is probably the most solid. Consider GitHub/GitLab pages. GitHub is pretty solid. GitLab allows you to use things other than Jekyll.