FaaS (functions as-a-service) is a class of cloud computing services which let you run a bit of code on a server somewhere in response to events or HTTP requests. The pay-as-you-go pricing is great when you don’t want or need a VM running 24/7 that only occasionally needs to execute some routine. Cloud vendors like AWS or Google Cloud provide FaaS platforms like AWS Lambda and Cloud Run which can execute your code in response to events.