@danie10 this whole "serverless" is a big steaming pile of bovine excrement. It is just abstraction of infrastructure. Not only is it (somebody else's) servers, it is "MOAR SRVRS lolz"!
The "right way" to do it is apparently to completely abdicate responsibility for all your infrastructure and planet in the hands of a big cloud company. The trade-offs of this convenience and scalability (to a point that almost nobody will ever, or should, need) are severe lock-in and dependency hell.