You can also make a CloudWatch alarm on billing to throttle your lambda functions at your specified price point. It's only a blank check if you want it to be.
Doesn't AWS force customers of their free tier to provide a valid paying method (i.e., credit card) to be charged once any limit is surpassed?
Serverless isn't always pay per use. Firebase, Netlify and Heroku all have limited free tiers where there's no limit you get to where you get charged.
Compared to a VPS, with the above services I get Git based deploy and don't have to worry about server maintenance beyond specifying e.g. which version of Node or Python I want to use.
Seeing people SSHing into servers to install packages and using Git pull to deploy makes me cringe now. I'd rather get on with coding.
Nice to not have to worry about patching or updates or any other ops work at all.
It's also more convenient if you are shipping your software to your users instead of running in SaaS mode, like I do with my https://autospotting.org project. I wouldn't want to ask my users to pay, run and maintain an EC2 instance for it.
Those who appreciate me doing this would hopefully donate those $5 to me on Patreon :-)
If you have let’s say a massive developer organization, some level of abstraction so you don’t have to manage provisioning servers/hosts and invest time in undifferentiated (no or low value add) activities is great.
The cost of these function as a service solutions is very high though, even in those scenarios, at least from my own experience.
A lot of people rush to these solutions and CTOs blindly sign off without realizing it’s just added tech debt.
Hopefully someday the side project launches and makes it to the first page of HackerNews or ProductHunt and then you need to cope with insane amounts of (mostly junk) traffic, which can be hard if you just happen to have a $5 VPS, so you're likely to fail your launch.
At sustained scale serverless solutions can be very expensive indeed, but that's a great problem to have for a side project.
Large organizations or established projects would likely be an order of magnitude cheaper to run their compute on EC2, maybe with RIs or spot or a combination of these (or their equivalents on other cloud/VPC providers), or even on bare metal if the usage patterns are sufficiently flat.
I don't buy that excuse, as AWS requires a valid CC to gain access to their free tier, and no hypothetical user who can't afford €5/month will have CCs to pass off at will.