Ask HN: Cheapest/easiest way to host a static site?
451 pointsThis 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 commentsSingle command deployment with rsync.
Plus you get serverless functionality for free with php scripts. Just place it in a folder and access it via browser.
Magic.
Not sure if it’s the cheapest way to do it, but it seems extremely cheap. Likewise not sure if it’s the easiest way to do it, but it seems easy now it’s set up - everything is in one place.
IIRC Cloudfront <-> S3 data transfer has quite a generous free tier.
The only thing I worry about is whether uploading objects is expensive, and invalidation. But it’s not been (noticeably) an issue so far.
All comments shown.
Couldn't load more comments. Check your connection and try again.