Serverless computing is a cloud model where code runs in response to events on infrastructure the provider fully manages, scaling automatically and billing only for the time the code actually executes.

Definition
Serverless computing does not mean there are no servers. It means the team writing the code never provisions, sizes, patches or scales them. Developers write small units of code, usually called functions, and connect them to events such as an HTTP request, a file upload, a message on a queue or a scheduled timer. The provider runs the function when the event arrives and shuts it down afterward.
The term also covers managed services that follow the same model: databases, queues, storage and API gateways that scale automatically and charge by request or usage rather than by reserved capacity. Common function platforms include AWS Lambda, Azure Functions, Google Cloud Functions and Cloudflare Workers. Serverless suits event-driven and spiky workloads well, and it brings its own constraints around execution time, cold starts and local testing.

How it works
A developer packages a function and its dependencies, then tells the platform which event should trigger it. When the event occurs, the platform finds or creates an execution environment, loads the code and runs it with the event data as input. If many events arrive at once, the platform starts many copies in parallel. When traffic stops, environments are recycled and the cost drops to zero.
Because environments are created on demand, the first request after a quiet period can be slower while the platform starts a fresh one. This is known as a cold start. Providers offer ways to reduce it, such as keeping some capacity warm, and lighter runtimes start faster than heavier ones.
Functions are stateless between invocations, so any data that must persist goes into a database, cache or object store. A typical serverless application is a set of functions wired together with an API gateway, queues and managed storage. Billing is based on the number of invocations and the compute time and memory each one uses.
Keep learning
Put it into practice
Cloud architecture, migration and modernization on AWS and Azure, planned for reliability, security and controlled cost.
Explore serviceWell-designed APIs and dependable third-party integrations that connect your products, partners and internal systems.
Explore serviceCI/CD pipelines, infrastructure as code, observability and automation that make releases frequent, safe and routine.
Explore serviceFAQ
It depends on the workload. For traffic that is low, irregular or bursty, paying only for execution time is often cheaper than keeping servers running. For steady, high-volume workloads, per-request pricing can cost more than reserved compute. Estimating both options against your real traffic pattern is the reliable way to know.
A cold start is the extra delay when the platform has to create a new execution environment before running your function, usually after a period of no traffic or during a sudden spike. It adds latency to that first request. Smaller packages, lighter runtimes and features that keep instances warm can reduce the effect.
Yes. Many web and mobile backends combine an API gateway, functions, a managed database, object storage and an authentication service with no servers to manage. Others use serverless for selected tasks, such as file processing or scheduled jobs, alongside containers or virtual machines for the core application.
Talk to a solution architect about where it fits in your roadmap.
