Live data from Hacker News

Ask HN: Cheapest/easiest way to host a static site?

news.ycombinator.com

41–50 of 507 posts

Re: Ask HN: Cheapest/easiest way to host a static site?

#41
I personally use Firebase for all my static sites. Completely free and fast. If you need to run some backend function they have Firebase functions which is free to a certain degree too.

Example site: https://jeremyshaw.co.nz

Other than that I'm sure Github Pages and Netlify are fine, both very popular options.

Worst case you put it on Amazon S3 and get charged a fraction of a dollar every month .

Re: Ask HN: Cheapest/easiest way to host a static site?

#44

GitHub Pages or Netlify for sure. With either of these options, your static site can be set up to deploy whenever there's new commits to the specified branch. Me and a friend mentor for Code Louisville, and we're able to get the beginner frontend students up and running very quickly using these options - they're free and much easier to use.

+1 I have been using Netlify to host 3 static sites for many months now. Have had 0 issues. Set up took <15 minutes. Making changes is a breeze.

Re: Ask HN: Cheapest/easiest way to host a static site?

#47

https://render.com (lead by early Stripe infra employee!)

Seconding render. I host a Hugo site with them. Their free tier is pretty feature-rich and I love the automated builds. My site is set up so that any push to the main branch on a private github repo gets automatically checked out, compiled to HTML, and updated on their CDN.

Re: Ask HN: Cheapest/easiest way to host a static site?

#48
post #9

Google App Engine has a very generous free quota. The setup isn't as easy as good old FTP, because you need to define your static files in a configuration file. Once the config is written the deployment is a single command though. https://cloud.google.com/appengine

I think you're better off using bucket storage rather than App Engine for a static site.

Re: Ask HN: Cheapest/easiest way to host a static site?

#50
post #36

Check out Vercel! [1] You can deploy for free, with a single command, in a few minutes. Disclaimer: I work at Vercel, happy to answer any questions. [1]: http://vercel.com/

I will second this recommendation. I use Vercel for all my static sites and have found it wonderful to work with and well documented.
Post reply on HN