Serverless computing runs your code only when an event calls it, and bills only for that time; the provider runs every server involved.
You write functions that answer events, such as a web request, a new file or a message, and the platform starts, scales and stops them.
It suits short, uneven workloads. Steady or long-running work often costs less on machines or containers, and functions tied to one provider's events are harder to move.
