Live data from Hacker News

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

news.ycombinator.com

211–220 of 229 posts

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

#211
post #99

Earlier quoted context omitted.

Amazon offers basically hardware. You rent a piece of server resourses. What operating system, what CMS you use is up to you, but prepeared to install and configure everything. But, they also offer plenty of free (and good) "ready made and pre configured" packages for people to use (for exampe wordpress, bitbucket etc.). You can search them here https://aws.amazon.com/marketplace/

> Amazon offers basically hardware. AWS is way more than hardware. Lambda - on demand code execution Route53 - DNS and domain registration S3 - File storage with redundancy and an HTTP interface RDS - Managed relational databases DynamoDB - NoSQL key/value store with indexing and scanning SQS - Job queue-ing without needing to manage servers SES - Email service with the ability to both send and receive email and also…

You are correct. They are also huge ecommerce site and book store.

I understood previous question as "What CMS amazon is offering for clients in website hosting", to where I think my answer still stands.

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

#212
post #145

I'm a great self-hosting fan, behind my DSL connection using 2 x RaspberryPI. I have 3 static web sites, 2 with Jekyll, 1 with Hugo, with great perf : checkout webpagetest -> https://www.webpagetest.org/result/161123_0R_8RDY/ and feel free to check my 3 web sites: - http://www.it-wars.com - http://www.louer-hendaye.com - http://www.nodejs-news.com Init : 2 RaspberryPi + electric plugs : 2x 30$ + 2 x6$ Monthly bill: e…

You have a static IP?

Yes a have a static ip, but DynDns like service providers works too. I use then for years, before my DSL provider gave me one :)

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

#213

Earlier quoted context omitted.

You can use SSL with S3 as the backend, you just have to set the distribution origin to s3.amazonaws.com/bucket-name/

Does that work with s3 static websites though? I recall that a different endpoint was needed, and it's only http.

The method I described doesn't require you to use a S3 static website. We don't have that option enabled, so the bucket name isn't mysite.com, it's "mysite-html", and the S3 website hosting is not enabled.

CloudFront has its own IAM user that is permitted to access the contents of the bucket, which means that it has to use the API. I don't think it's even possible to access the S3 API without using HTTPS. Therefore I think it is highly unlikely that the connection is unencrypted.

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

#214

I'm a great self-hosting fan, behind my DSL connection using 2 x RaspberryPI. I have 3 static web sites, 2 with Jekyll, 1 with Hugo, with great perf : checkout webpagetest -> https://www.webpagetest.org/result/161123_0R_8RDY/ and feel free to check my 3 web sites: - http://www.it-wars.com - http://www.louer-hendaye.com - http://www.nodejs-news.com Init : 2 RaspberryPi + electric plugs : 2x 30$ + 2 x6$ Monthly bill: e…

Can you explain your setup and how you did your self hosted sites?

I have 2 raspi one with haproxy, one with nginx with 3 vhost. Haproxy was because I've planned to have several raspi to loadbalance traffic across. My DSL line give me 1Mb/sec. When writing a new post a send 10x time to optimize pictures to be able to serve more people. each day I've about 150vu on each web site. One take away: after Jekyll or Hugo finished static page generation I've a bash script to gzip every file to avoid raspbi to make it at the fly, and nginx setup for that is : gzip_static on;

On my DSL router I forward all port:80/tcp traffic to my haproxy raspi.

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

#215

I have a soft spot for Neocities, which is trying to be everything we loved about Geocities, but for a modern age: https://neocities.org/ ZERO ADVERTISEMENTS , even for the free plan. Supports only static hosting, is free for 100mb websites with bandwidth of 50GB per month, or five dollars per month for 10,000mb with 2TB and a number of other extra features. EDIT: As mentioned by detaro, custom domain only supported…

Thanks for the warm words! > ZERO ADVERTISEMENTS, even for the free plan. Supports only static hosting, is free for 100mb websites with bandwidth of 50GB per month, or five dollars per month for 10,000mb with 2TB and a number of other extra features Haven't announced yet, but these numbers are all increasing soon. Well, except for the advertising one. I'm literally in the datacenter right now working on it.

You're welcome! I'm a happy supporter and have used it in the classroom as a no-fuss just-get-started option a few times.

(BTW, the list on https://blog.neocities.org/ seems outdated - it doesn't mention that SSL article for example)

> Well, except for the advertising one.

What about the five dollars per month one?

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

#216

Earlier quoted context omitted.

Not that many admittedly, about 10k requests from 1.5k unique users in the past month. With that said 10m requests would still only come out at $4 so it's still a good choice for most low traffic sites.

I just checked one article on my WordPress to have a point of comparison. That's 87 requests total and 4.7 MB. The first page of HN (and reposts) will bring over 100k views in the month. Either I'm crazy, or that's about 1M HTTP requests and 500 GB of traffic to serve u_u Serving that over S3 or CloudFront would be $45 (mostly traffic charge). OMG. Definitely not a bill i want for my personal blog. That's a great ide…

I guess it depends on your page size. My pages average around 10kb and make two requests per page. At 1m hits that's still only $0.80 if we don't include Cloudflare reducing the number of requests that reach S3. If anything 87 requests and 4.7mb makes it sound like you have a bit of an obesity[0] problem on your blog.

0: http://idlewords.com/talks/website_obesity.htm

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

#217

Earlier quoted context omitted.

Sorry about the confusion. The source[0] is hosted on Github, but the actual page when compiled to static files is hosted on S3. 0: https://github.com/k0nserv/hugotunius.se

Yeh I think everybody is saying that if you are already hosting the source on GH, there is no need to host the static files on S3 -- you may as well just host it on GH:pages, because that will be free and you get all the benefits of S3.

Plus, you can use custom URLs on Github pages.

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

#218
post #113
post #85

Earlier quoted context omitted.

I switched from NearlyFreeSpeech to Amazon's S3 and Cloudfront. The main reason I left is that I wanted to use HTTPS, but I didn't want to have to purchase a certificate when there are many good free options available now. NearlyFreeSpeech requires opening a ticket with customer support to update certificates, so using Lets Encrypt isn't really an option there. Amazon offers free certificates for Cloudfront. In addit…

Not sure when you switched, but NearlyFreeSpeech works fine with Lets Encrypt and doesn't require opening a ticket with support. https://deletethis.net/dave/2016-11/Let%27s+Encrypt+NearlyFr...

Nice! Looks like the process was changed after I switched. Still, since they don't support cron to use Lets Encrypt I'd have to remember to do that every 90 days.

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

#219

Earlier quoted context omitted.

I just checked one article on my WordPress to have a point of comparison. That's 87 requests total and 4.7 MB. The first page of HN (and reposts) will bring over 100k views in the month. Either I'm crazy, or that's about 1M HTTP requests and 500 GB of traffic to serve u_u Serving that over S3 or CloudFront would be $45 (mostly traffic charge). OMG. Definitely not a bill i want for my personal blog. That's a great ide…

I guess it depends on your page size. My pages average around 10kb and make two requests per page. At 1m hits that's still only $0.80 if we don't include Cloudflare reducing the number of requests that reach S3. If anything 87 requests and 4.7mb makes it sound like you have a bit of an obesity[0] problem on your blog. 0: http://idlewords.com/talks/website_obesity.htm

I'd say you're the one who has a lack of content problem.

Just the raw text of the article is over 10kb.

The pictures (logo, header, images, graphs in the articles) are easily 0.1 to 1 MB for every article.

The specific article I checked has 2 animated gifs which are MB each. That's why the 5 MB. I sure don't want to pay $50 because of a picture.

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

#220

Earlier quoted context omitted.

I guess it depends on your page size. My pages average around 10kb and make two requests per page. At 1m hits that's still only $0.80 if we don't include Cloudflare reducing the number of requests that reach S3. If anything 87 requests and 4.7mb makes it sound like you have a bit of an obesity[0] problem on your blog. 0: http://idlewords.com/talks/website_obesity.htm

I'd say you're the one who has a lack of content problem. Just the raw text of the article is over 10kb. The pictures (logo, header, images, graphs in the articles) are easily 0.1 to 1 MB for every article. The specific article I checked has 2 animated gifs which are MB each. That's why the 5 MB. I sure don't want to pay $50 because of a picture.

Well, there's your problem then. You could easily not host the gifs, or use a much slimmer format to reduce those MBs.

If you host your page on a "pay-per-view/size" service, then it might make sense to not send as much content as you can, but instead try to reduce it.

Post reply on HN