Live data from Hacker News

Ask HN: What free or low-cost static site hosting do you use most?

news.ycombinator.com

151–160 of 229 posts

Re: Ask HN: What free or low-cost static site hosting do you use most?

#151
post #140

I use GitHub pages with Cloudflare (free CDN + HTTPS) for simpler sites but I'm a fan of netlify.com right now. Setup is simple, atomic deploys are simple, rollbacks are simple, caching + cache invalidation + HTTPS is done for you and there's paid plans if you need passwords, form submissions and custom response headers. There's probably cheaper options compared to the paid plan at $9 a month but you have to ask your…

I use a static site generated called 'middleman' for my blog. I tested S3 deployment in the past and I must that it's not all that complicated. The PITA is that you need Cloudfront to handle SSL and if you're not using Route53 automating the upgrade process is more complex than it should be. > Can you deploy atomically? Hm, I'm not sure what atomically means in this context, S3 supports 'sync' so you basically can wr…

> I use a static site generated called 'middleman' for my blog. I tested S3 deployment in the past and I must that it's not all that complicated.

I'm not saying it's super complicated but if extra features are costing you even a couple of hours of time it's probably worth paying to make the problem go away.

> Hm, I'm not sure what atomically means in this context, S3 supports 'sync' so you basically can write a bash/ruby/python script to handle deployment (I use a rake task).

Atomically means you either update all of the files or none of the files. If you're updating one file at a time there's a chance e.g. a visitor will see a new page but with the old CSS file. What happens with S3 here? Also, how do you deal with cache invalidation?

> Yes, I use git (gitlab) to keep track of changes, so rolling back is not a problem.

I personally prefer if you can rollback to a previously working deploy with a dedicated CLI/web rollback option than having to deploy again if that's what you mean. There's a chance your local setup or deploy script is messed up and it's quicker.

Re: Ask HN: What free or low-cost static site hosting do you use most?

#152
I use an S3 bucket. I have a Docker image that pulls Markdown out of git, runs Hugo over it and pushes the site to an S3 bucket. I set it up to work with Bitbucket pipelines so I get a site rebuild with a simple git push: https://github.com/rabidgremlin/hugo-s3

Re: Ask HN: What free or low-cost static site hosting do you use most?

#153

I use an S3 bucket. I have a Docker image that pulls Markdown out of git, runs Hugo over it and pushes the site to an S3 bucket. I set it up to work with Bitbucket pipelines so I get a site rebuild with a simple git push: https://github.com/rabidgremlin/hugo-s3

Ditto. Can't beat the price + availability and flexibility of S3.

Re: Ask HN: What free or low-cost static site hosting do you use most?

#154
post #144

Earlier quoted context omitted.

What's that mean for the common folk? Are they slower?

Yes. Slow CPUs.

The Atom servers appear to be Avoton Atoms[1], probably a C2550 or similar. While they aren't as high end as a typical Xeon, they aren't as terrible as the older Atom cpu. See this chart: https://www.servethehome.com/wp-content/uploads/2014/01/Inte...

[1]https://ark.intel.com/products/codename/54859/Avoton

Re: Ask HN: What free or low-cost static site hosting do you use most?

#156

I use GitHub pages with Cloudflare (free CDN + HTTPS) for simpler sites but I'm a fan of netlify.com right now. Setup is simple, atomic deploys are simple, rollbacks are simple, caching + cache invalidation + HTTPS is done for you and there's paid plans if you need passwords, form submissions and custom response headers. There's probably cheaper options compared to the paid plan at $9 a month but you have to ask your…

This is what I run a few of my sites off of right now, super simple. For other things I use Namecheap (shared) but have been looking into Digital Ocean or Linode.

Re: Ask HN: What free or low-cost static site hosting do you use most?

#157
post #68

I use Github to host the source for my blog/website which is open source. Jekyll for the building which happens on Travis CI. Deployment on S3 with cloudflare as a CDN for SSL and reduced bandwidth. I really like this setup. I wrote a guide called The One Cent Blog[0] a while back detailing how it's setup. Typical months the cost is around $0.01-$0.03. Becuase people usually ask why S3 over Github pages I'll answer i…

> Typical months the cost is around $0.01-$0.03.

For how many visitors?

Re: Ask HN: What free or low-cost static site hosting do you use most?

#158

I use GitHub pages with Cloudflare (free CDN + HTTPS) for simpler sites but I'm a fan of netlify.com right now. Setup is simple, atomic deploys are simple, rollbacks are simple, caching + cache invalidation + HTTPS is done for you and there's paid plans if you need passwords, form submissions and custom response headers. There's probably cheaper options compared to the paid plan at $9 a month but you have to ask your…

I've set up CircleCI to auto deploy to S3 and invalidate Cloudfront cache whenever there's a push to master on a Github repo. Once setup, it just works.

Re: Ask HN: What free or low-cost static site hosting do you use most?

#159

Uberspace.de Shell Access, pretty much every common language available, service running, databases, mail, etc.. No bullshit hosting in germany, Pay what you want (1€/month minimum). Absolute best, I'm hosting about 25 projects with them for various bands, etc. and haven't had any problems whatsoever.

Can't find english language switch. Only german then?

Only german, yes. They explain on https://wiki.uberspace.de/philosophy:englisch why (in german): it boils down to too much work, not being sure of being able to adequately support in english, having servers only in germany and fearing legal implications of having an english offering.

With google translate and maybe a bit of help from a german speaking friend (and a bank that supports wiring money to a german account without problems) that is probably still manageable, but not ideal.

Re: Ask HN: What free or low-cost static site hosting do you use most?

#160
post #68

I use Github to host the source for my blog/website which is open source. Jekyll for the building which happens on Travis CI. Deployment on S3 with cloudflare as a CDN for SSL and reduced bandwidth. I really like this setup. I wrote a guide called The One Cent Blog[0] a while back detailing how it's setup. Typical months the cost is around $0.01-$0.03. Becuase people usually ask why S3 over Github pages I'll answer i…

I don't understand why you need the S3 if you're already hosting it on github pages.

yeah, people compile web pages now.

i don't understand it either.

Post reply on HN