by baobabKoodaa · 6y ago · 0 comments
Based on the title I'm guessing this could have been delivered as a static web page delivered by a CDN.
I've never understood why some people want to set up their own web servers to deliver static content.
That said, I've topped HN before and nginx happily handled that load on a 2 vCPU / 2 GB RAM host with a static site. A lot of these personal site meltdowns are Wordpress with no caching plugins.
The last time an article on my site reached the top of HN, my AWS bill was a couple of dollars for the month, across S3, Cloudfront, Athena and SNS.
I get the concern that you'll spend more than you intended with AWS, but it's honestly hard to blow a budget on a static site hosted in S3 and served by Cloudfront. Those two services have heavy guard rails on what you can accidentally commit to doing, unlike the myriad compute services.
If you're more comfortable paying for something, it's easy to set up a prepaid BunnyCDN to hit an S3 bucket.
I've a Digital Ocean droplet running several static sites for €5 a month. Whats the problem?