User-474980206 posted
Azure functions or AWS lambdas are known as server-less functions. They are the cheapest and simplest deployment units.
They have a couple of downsides.
- cloud lock-in. You need to port to change cloud vendors
- startup cost (not always running)
- limited language support
- may be difficult to include third party libraries
the upsides:
- cheap & lightweight
- easy scaling
- no boilerplate. just the code not a whole webapi project to define an action.
the capabilities are always changing. Most vendors have converted server-less functions to be docker images under the covers. this makes building complex functions easier.
note: as most cloud vendors support using cloud storage to host static content (no web server required), progressive apps can be built and deployed without any web servers. this is a growing trend.