Started out (by AWS) as something hard to configure still. IaaS (Infrastructure as a service). In PaaS (Platform as a service) a lot of that configuration is already done for you.
Then, came serverless solutions. The payment is based on usage and it can be more secure. They come in two categories:
-Function as a service (FaaS) - Functions that only run when they’re invoked
-Backend as a service (BaaS) -Firebase