Skip to main content

What is serverless computing?

Learn what serverless computing means, how it works on AWS, what the cloud provider manages, and which trade-offs still belong to your team.

What is serverless computing?

Serverless computing is an application development model in which a cloud provider provisions, scales, and maintains the underlying infrastructure for you. Servers still run the workload; your team works at the level of functions, events, workflows, and managed data services instead of managing hosts and capacity directly.

How this topic fits

Foundations

Start with cloud responsibility, the serverless operating model, and the boundaries between provider-managed infrastructure and application ownership.

How serverless computing works

A request, schedule, message, file change, or domain event enters the system. A managed service routes that event to the compute or workflow that should handle it. The platform allocates capacity, runs the work, and releases or reuses that capacity according to demand.

Application state normally lives outside the compute process in managed databases, object storage, queues, or workflow state. That separation lets compute scale independently, but it also makes contracts, retries, idempotency, and observability part of the architecture.

The provider operates the servers, host operating systems, runtime fleet, and capacity layer behind the service.

Managed services allocate capacity in response to requests or events instead of requiring a permanently provisioned application server.

APIs, events, queues, workflows, functions, and data services combine through explicit interfaces rather than one long-running process.

Common serverless building blocks on AWS

AWS Lambda is one compute option, but a serverless application is usually a composition of services. Amazon API Gateway can expose an HTTP interface, Amazon EventBridge can route events, Amazon SQS can buffer work, AWS Step Functions can coordinate workflows, and Amazon DynamoDB or Amazon S3 can hold state.

The useful architecture starts with the workload and its failure modes, not with a service checklist. Choose each managed service for a concrete responsibility and keep the event, identity, data, and ownership boundaries visible.

Benefits and trade-offs

Serverless can remove capacity planning and host maintenance from the application team's daily work. It is especially useful for event-driven systems, APIs, automation, data processing, and workloads whose demand changes over time.

The trade-off is a different kind of operational complexity. Distributed calls, service quotas, asynchronous failures, permissions, observability, and cost per interaction need deliberate design. Serverless reduces infrastructure management; it does not remove architecture or operations.

Bursty or event-driven work, independent components, managed integrations, and teams that value low infrastructure overhead.

Sustained specialized compute, unusual host requirements, tightly coupled state, or workloads whose constraints do not match the managed service model.

What your team still owns

Your team still owns application behavior, data classification, access policies, dependency choices, failure handling, monitoring, cost controls, and the decision to change the system safely. The cloud provider takes responsibility for more of the infrastructure layer, while you remain responsible for how the managed services are configured and combined.

A healthy serverless system makes those decisions inspectable in infrastructure as code, tests, dashboards, alarms, runbooks, and architecture records. The goal is not fewer engineering decisions. It is spending more of them on the system you are actually building.

Go deeper with AWS

Read the primary AWS documentation behind the service definitions and architecture guidance in this guide.

Explore serverless products

Questions about this topic

Browse all serverless concepts

Explore compute, APIs, events, workflows, data, security, reliability, operations, delivery, and AI from one connected AWS serverless learning path.

What is serverless?

Learn what serverless computing means, how it works on AWS, what the cloud provider manages, and which trade-offs still belong to your team.

Read the guide

What is AWS Lambda?

Understand how AWS Lambda runs code, how functions are invoked, where permissions and state live, and when Lambda is a good compute choice.

Read the guide

What is serverless architecture?

Learn how managed compute, APIs, events, queues, workflows, data, identity, and observability fit together in a serverless architecture on AWS.

Read the guide

AWS serverless security

A practical guide to identity, least privilege, event validation, secrets, data protection, dependencies, and incident visibility in AWS serverless systems.

Read the guide

What is agentic AI?

Learn what makes an AI system agentic, how models, tools, memory, orchestration, identity, and evaluation fit together, and where serverless patterns help on AWS.

Read the guide

What is cloud computing?

Understand how on-demand infrastructure and managed services change the way teams provision, scale, pay for, and operate software systems.

Read the guide

What is event-driven architecture?

Learn how producers, routers, and consumers communicate through events, and how to design schemas, delivery, retries, and ownership deliberately.

Read the guide

What is a serverless API?

Understand the request path, authentication, routing, compute, data, throttling, observability, and failure controls behind a serverless API on AWS.

Read the guide

What are serverless workflows?

Learn when explicit workflow state improves retries, branching, parallel work, human approval, visibility, and recovery in distributed applications.

Read the guide

What is Amazon API Gateway?

Learn how API Gateway creates, publishes, secures, monitors, and operates HTTP, REST, and WebSocket APIs for AWS and external backends.

Read the guide

What is Amazon EventBridge?

Understand EventBridge event buses, rules, pipes, schemas, targets, schedules, permissions, delivery, and recovery in event-driven AWS systems.

Read the guide

Make the next serverless decision explicit.

Explore focused products for repeatable work, or bring the architecture decision that needs context and experienced review.