Lurker News
This is more of a thought experiment, I know a multitude of ways to do this which require loads of setup, jumping through AWS hoops, etc. I'd like ideally way to deploy to a hosted service with a single command. Imagine Heroku but even easier.

Comments (487) 172 threads

Earlier comments
alfg#
I use GitHub pages for most of my project static websites using gh-pages [0] to deploy via a GitHub Action workflow. It's been working great for general static webpages, or using Vue/React.

However, there are some limitations such as if you need to add custom headers.
If you need more customization, then S3/Cloudfront also works well too. I also use Netlify and had minimal issues.
[0] https://github.com/tschaub/gh-pages

stevewillows#
It's been suggested below, but Github Pages is a total breeze. Find a theme you like, clone the repo, add your domain (and set that stuff up) and get writing.

If you go with Jekyll, it's really nice to work with. I decided to go with GHP over hosting myself in case I ever get super famous, which will most likely never happen.
Ultimately, its easy enough that you can get writing right away. If you decide that the software isn't enough, it'll be a breeze to move somewhere else since its all markdown.

r_singh#
I host a bunch of static websites created using Gatsby, Hugo and Mkdocs.

The downright easiest and cheapest (free) platform I find is AWS Amplify Console. It's simply too good to be true (no affiliation).
Connects with repos on all platforms (bitbucket, gitlab, GitHub). Push to deploy. Most of my sites are still on the free tier.
If you manage your DNS with Route53, you don't even have to configure subdomains anymore, every new site's domain is automatically configured with a click.

BenoitP3 replies#
> 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.

framecowbird1 reply#
Agreed! It's super easy
PradeetPatel#
It was observed that setting up let's encrypt certs on s3 static sites can be a unique challenge
starbugs1 reply#
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.
indigodaddy#
Can someone advise on if a CF Pages site would be fully end to end encrypted?

Load more comments