by Eiriksmal · 2y ago · 0 comments
Obligatory HN footnote: My blog costs $6 a month to serve HTML from digital ocean. Landing in the top five links a few times on HN didn't make the Linux load blip much past 0.20. GoAccess analyzes nginx traffic logs for free, if you want to know what countries are scraping your pages.
Maybe they did it to have fun
Unfortunately IME it’s not a super well-polished product though (I can’t for the life of me get their CLI “wrangler” to login to a headless machine, and their HTTP APIs are not documented well enough to use for non-git file sources, so I can’t get it to work in my not-so-special dev environment setup). So it’s only better if you can get it to work, although that’s something you’ll probably figure out in the first 5-10m of using it.
Cache-Control: max-age=600
that can’t be changed. Your assets should have much longer expiry and hopefully be immutable. Just get a server, it’s cheap and you can do proper cache control and you’re not beholden to your Microsoft overlord."I sold my soul and all I got was a $5 virtual machine"
Using an offering from a specific company is not selling your soul. Selling your soul entails adopting something in a way that you become reliant upon it, giving whomever controls it leverage over you. The chief one these days is using Proprietary Software 2.0, and especially writing significant code that ends up inextricably wed to it. That can include the Oracle Cloud API, but it also includes every other lock-in-hopeful proprietary service API, including all of these "easy" and "free tier" offerings from not-yet-openly-associated-with-evil SaaS "startups".
So in short if you're choosing between some proprietary solution that offers "free" hosting (eg Heroku, Github pages, anything "serverless", etc) and Oracle free tier that gives you bog standard VMs on which you can run common libre software, choose the Oracle free tier route and don't think twice. If Oracle engages in "altering the deal", then the most you'll be on the hook for is $5/mo at a different provider rather than having to completely redo your setup.
Their free tier gives you quite a lot of disk. The catch is being capped at 10Mbit, which can be mitigated by .. Cloudflare!
Time to jump ship
You can install any SQL variant yourself on any web server. I can be on the SAME MACHINE. Even a vps! Boom!
Everyone used to do it all the time. For some reason everyone decided to pay more for less power and use the cloud instead.
You still won't go above 20% CPU for even moderately complex CRUD applications.
If you're really crazy you can add a cron job to send a backup each night to S3.
And it'll take you all of an hour to do that.
Now what is maybe a bit strange is companies like Vercel having massive valuations because of this. I said in another comment somewhere does anyone actually use them beyond the free or low cost tiers?