Hacker News new | ask | show | jobs
by sleepyxuras91 1457 days ago
Sure it's already been done but I'm sure a similar thing could be made on Azure Functions well within the free tier per month. Can also host static web apps for free or even have GUIs served by the functions themselves. And as people stated before this seems a gross miss use of GitHub Actions. Whereas at least the above outlines a solution Microsoft actively encourages.
2 comments

I feel like people are overstating this as gross misuse to be honest. Curling some http based endpoints on a CRON isn’t really a gross misuse of actions.

There are a million ways to do this. I could also tell you using Azure functions and having a dependency on Microsoft is overly complex for something that could be done with collectD and cron built into the OS on most VPSs

The ToS explicitly mentions this as being forbidden.
I built my own version entirely within AWS Lambda's free tier, works well until you're into "continuously running serverless" territory - at that point any random VM would be significantly cheaper.
OCI free tier would be good for this sort of thing.. their free tier is pretty nuts. You can have Ampere 4 OCPU + 24G RAM + 200G block storage spread across 1-4 instances.

https://www.oracle.com/cloud/free/

Yeah that's pretty wild. I managed to fit my entire serverless stack (roughly 1.2m checks per week) into 2x 256MB VMs and 1x 512MB VM, you could run a monster server on that.