Live data from Hacker News

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

news.ycombinator.com

101–110 of 507 posts

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

#102
post #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 .

Except if you get hit by a DDoS.

The fact that you cannot put a cap on your spending is infuriating (the official AWS answer is "we do not want to break your business" (even if I want to)).

To be fair, some complaining or crying in such cases usually gets your bill reversed.

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

#103
post #43

> jumping through AWS hoops I found S3 static hosting to be fairly straightforward. Once set up, a single `aws s3 sync . s3://my-bucket/path` updates the content.

I suggest putting Cloudflare in front of it. I have virtually no AWS costs with S3 that way. If you don't mind that Cloudflare + S3 means it's not fully end to end encrypted.

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

#105
NearlyFreeSpeech is an incredible service. It has honed its focus on simplicity even as virtually every one of its competitors have attempted to commodity complexity.

Don't get me wrong: I enjoy complex services as well. But for simple web hosting, NearlyFreeSpeech is the best I've found, and whatever is second isn't close.

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

#106
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

>>> The setup isn't as easy as good old FTP, because you need to define your static files in a configuration file.Are you referring to specifying the path to your static folder/directory in your app.yaml file? If so, that doesn't seem so difficult to me.

Yes, you're right - the deployment is a single command for something as simple as a static website until the next time you need to make changes (then you'll have to root around your terminal again) or you decide to upgrade from static to something a bit more complex. Shameless plug here - my site, https://nocommandline.com, allows you to just select and click deploy; no routing around in terminal/commandline.

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

#107
post #94
post #89

Earlier quoted context omitted.

My favorite feature is automatic deployment of pull requests. I love it, and I wish there was something as cheap and easy for backend services as well. Though I guess it's not too necessary if you implement testing properly :p

LayerCI[1] maybe? [1] - https://layerci.com/

This looks almost too good to be true from the docs. Thank you, I'll check it out.

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

#109
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've been a happy user of Netlify, Github Pages and now Vercel. I'm really enjoying Vercel lately! It's been really great. Recently also tested out Cloudflare Pages, but I think they have a bit of work to do before they can match Vercel.
Post reply on HN