With serverless, customers pay only for the resources used when the application runs; they never pay for idle capacity.
Moreover, serverless runs application code on a per-request basis only and automatically scales the supporting infrastructure up and down in response to the number of requests. With serverless, customers pay only for the resources used when the application runs; they never pay for idle capacity.