Services like AWS Lambda allow apps to run code without dedicated servers, only paying per compute time used. This can realize major cost savings by automatically scaling usage up and down versus overprovisioned servers. However, not all apps work well architected for serverless environments given latency constraints.