
Your web server is the function
Express runs as it is, listening on the port Lambda gives it, with no Lambda-specific adapter.
Two Web Functions, one deploy command
The API and the React frontend each deploy with one `aws lambda-web deploy` command, and the frontend reads the API address from `/config.json` at runtime.
Streaming as plain HTTP
The live leaderboard is an ordinary streamed HTTP response, with one DynamoDB poller per game shared by every stream in an execution environment.
One environment, many requests
Each execution environment serves many requests at once, so the audience joining the game started few environments.
One URL, several Regions
One configuration change served the same revision from three Regions behind a single global domain, with latency-based routing.
Logs and metrics in Amazon CloudWatch
Request, concurrency and Region metrics for each endpoint, centralized in the home Region.
Revisions and traffic splits
Send a share of traffic to a new revision, then roll back by changing revision weights instead of redeploying code.
Sample code
Deployable examples with the AWS CLI, AWS SAM and the AWS CDK.
Related re:Invent 2026 sessions
Other sessions on Web Functions this year.
ServerlessQ source code
GitHub repo
The trivia game from the session: an Express API and a React frontend on two Web Functions, with Amazon DynamoDB and Terraform for the supporting infrastructure.