Scar

Infrastructure

static site hosting

SHOW HN2019

Legend

Scar

Static websites with HTTPS, a global CDN, and custom domains

github.com

#static site hosting#aws cloudformation#cloudfront#custom domain https

363points
170comments
#72of 2,195 in 2019
Top 4%of 2019 by points

How HN took it

MixedNo clear lean

6 positive, 23 neutral or asking, 2 mixed, 17 critical, out of 48 comments about the project. Thread score -0.26.

Idea: 2 for, 8 againstExecution: 2 for, 4 againstPerformance: 1 for, 1 againstDesign: 0 for, 2 againstDocs: 1 for, 1 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Similar design to the commenter's own project, a sign the approach is sound

    From 2 comments
    • Looks very similar to my project https://github.com/kkuchta/scarr from a while back. It even uses the same acronym (I assume that's just a coincidence, since we both just picked…
      fishtoaster on HN
    • Wow, that is a fun coincidence! Indeed, I was going for a catchy four-letter acronym in the same vein as popular stacks like LAMP or MEAN. Perhaps the fact that we both landed on…
      cloudkj on HN
  • Bundling config and launch makes setup easier

    From 1 comment
    • Bundling service config and launch makes the whole process easier, for sure. There's also more than one way to configure this depending on what your needs are, so it'd be cool to…
      kaiku on HN

Objections

  • Too many AWS services and too complex for a static site

    From 4 comments
    • TL;DR this is an AWS stack with 10 AWS services required to build/deploy a static site with HTTPS/CDN I will be staying with netlify
      blairanderson on HN
    • I have a two-line Makefile that with one target that sync's my website with an S3 bucket. Deploys are instant. The rest is handled by Cloudflare an AWS. The sheer number of…
      whalesalad on HN
    • This is highly complex for no reason. GitHubPages, Netify provide you with easy to use custom static page hosting. Your abstraction is nice, but the learning curve for someone is…
      shapiro92 on HN
    • This seems like a nightmare to setup and maintain for a new comer. Netlify lets us setup things in a whiff. This is a nice project but not for anyone below intermediate.
      vijaybritto on HN
  • Netlify, GitHub Pages or Firebase are simpler alternatives

    From 4 comments
    • GitHub pages [0] gives you static sites with HTTPS and a custom domain without nearly as much complexity as this if you're looking for an alternative to Netlify. [0]…
      jaden on HN
    • What benefit does this have over Netlify?
      t0astbread on HN
    • How is this any different from Firebase hosting? We have been using it for a while with no problem. Also comes with a very generous free tier.
      tamalsaha001 on HN
    • Just use Netlify.
      faheel on HN
  • S3 does not serve index.html for parent directory URLs

    From 1 comment
    • Bundling service config and launch makes the whole process easier, for sure. There's also more than one way to configure this depending on what your needs are, so it'd be cool to…
      kaiku on HN

Requests

  • A hosted version of the service

    From 1 comment
    • For anyone looking for a hosted solution, https://surge.sh/ is super nice and simple without any of the complexity of managing the stack yourself. Deploying uses one simple…
      iBelieve on HN
  • Variants of the default stack, such as www redirects or removing www

    From 1 comment
    • That should indeed be the default behavior out of the box with the way the S3 buckets are configured. I have a couple Jekyll sites deployed this way, and a request to the parent…
      cloudkj on HN

Questions

  • What does it cost per month to run

    From 3 comments
    • How much does this cost? I put in some more effort to setup my HAProxy and nginx containers on a Vultr node, but I get LetsEncrypt for free, so I'm just paying for a Vultr node…
      djsumdog on HN
    • How much should this cost per month in AWS billing for a small static website?
      srathi on HN
    • Anyone have an a average monthly fee for using these as hosting solution? last time i ran the numbers using all that services go from 5 to 10 USD per month and was better to use…
      SadWebDeveloper on HN
  • Whether a CDN is needed for a static site at all

    From 2 comments
    • Nice project. As an aside, I genuinely wonder under which circumstances a CDN will be useful for a static website nowadays. I have a static website that has been on the HN…
      gvand on HN
    • Other than the notion that all traffic should be served over HTTPs, if you have purely static site, why the big fuss?
      ryanisnan on HN

Alternatives named

  • Netlify

    From 3 comments
    • We use a combination of Netlify + Webflow + Hugo for our website (www.facetdev.com). With that we get a global CDN and our website will never go down. Netlify has been awesome…
      rsweeney21 on HN
    • TL;DR this is an AWS stack with 10 AWS services required to build/deploy a static site with HTTPS/CDN I will be staying with netlify
      blairanderson on HN
    • Just use Netlify.
      faheel on HN
  • GitHub Pages

    From 1 comment
    • GitHub pages [0] gives you static sites with HTTPS and a custom domain without nearly as much complexity as this if you're looking for an alternative to Netlify. [0]…
      jaden on HN
  • Firebase hosting

    From 1 comment
    • How is this any different from Firebase hosting? We have been using it for a while with no problem. Also comes with a very generous free tier.
      tamalsaha001 on HN
  • Surge.sh

    From 1 comment
    • For anyone looking for a hosted solution, https://surge.sh/ is super nice and simple without any of the complexity of managing the stack yourself. Deploying uses one simple…
      iBelieve on HN
  • Self-hosted nginx on a VPS

    From 2 comments
    • Am I the only one who still hosts my own static sites on a plain old virtual machine? It's pretty simple to configure nginx for static sites, and by doing it yourself you reduce…
      NateEag on HN
    • yes. I host my personal website (maddo.xxx) on a single EC2 instance with just nginx. It's easy. It's fast. When I want to over-engineer the shit out of it for fun, it's ready.…
      tyre on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/19981869)