⚡ Serverless Framework – Effortlessly build apps that auto-scale, incur zero costs when idle, and require minimal maintenance using AWS Lambda and other managed
⚡ Serverless Framework – Effortlessly build apps that auto-scale, incur zero costs when idle, and require minimal maintenance using AWS Lambda and other managed
The Serverless Framework – Makes it easy to use AWS Lambda and other managed cloud services to build applications that auto-scale, cost nothing when idle, and result in radically low maintenance.
The Serverless Framework is a command-line tool with approachable YAML syntax to deploy both your code and cloud infrastructure needed to make tons of serverless application use-cases, like APIs, front-ends, data pipelines and scheduled tasks. It's a multi-language framework that supports Node.js, Typescript, Python, Go, Java, and more. It's also completely extensible via over 1,000 plugins which add more serverless use-cases and workflows to the Framework.
Actively maintained by Serverless Inc.
July 2026 – V.4 continues to feature significant updates. Review them all below. Recent releases added Sandboxes (isolated, ephemeral compute on AWS Lambda), native Amazon Bedrock AgentCore support, Managed Instances, Durable Functions, and built-in AWS Login & SSO. As always, we are more excited about the serverless future than ever.
Here's a list of everything that's new in V.4, so far:
serverless.yml via the ai property, and manage them with the serverless agent commands. More info here.serverless login aws and serverless login aws sso.serverless diff.serverless reconcile..ts handlers in your AWS Lambda functions in serverless.yml and have them build automatically upon deploy. ESBuild is now included in the Framework which makes this possible. More info here.serverless dev to have events from your live architecture routed to your local code, enabling you to make fast changes without deployment. More info here.nodejs24.x), Python 3.14 (python3.14), and Java 25 (java25) on AWS Lambda.ap-southeast-6 in New Zealand.stages and set default config to fallback to.serverless command has been re-written to be more helpful when setting up a new or existing project.nodejs22.x).We're seeking to avoid breaking changes for the "aws" Provider. However, there are a few large things that are changing to be aware of:
If you stumble upon additional breaking changes, please create an issue. To learn more about what's different and potential breaking changes, please see our Upgrading to Serverless Framework V4 Documentation.
Please note, the structure and licensing of the V.4 repository differ from the V.4 npm module. The npm module contains some proprietary licensed software, as V.4 transitions to a common SaaS product, as previously announced. The original Serverless Framework source code and more will continue to remain MIT license software, and the repository is structured to clearly distinguish between proprietary and open-source components — the MIT-licensed code carries its own LICENSE file in packages/serverless, while the repository root LICENSE covers the proprietary components.
Here's how to install the Serverless Framework, set up a project and deploy it to Amazon Web Services on serverless infrastructure like AWS Lambda, AWS DynamoDB, AWS S3 and more.
First, you must have the Node.js runtime installed, version 18.17.0 or greater, then you can install the Serverless Framework via NPM.
Open your CLI and run the command below to install the Serverless Framework globally.
npm i serverless -gRun serverless to verify your installation is working, and show the current version.
As of version 4, the Serverless Framework automatically updates itself and performs a check to do so every 24 hours.
You can force an update by running this command:
serverless updateOr, you can set this environment variable:
SERVERLESS_FRAMEWORK_FORCE_UPDATE=trueserverless CommandThe Serverless Framework ships with a serverless command that walks you through getting a project created and deployed onto AWS. It helps with downloading a Template, setting up AWS Credentials, setting up the Serverless Framework Dashboard, and more, while explaining each concept along the way.
This guide will also walk you through getting started with the Serverless Framework, but please note, simply typing the serverless command may be the superior experience.
serverlessSandbox packages (zips) are not cleared from deployment bucket as stack dirs are
AWS API Gateway: Lack of support for CF intrinsic functions at `functions[].events[].http.authorizer.arn`
Issue using sls deploy inside of worktrees
Support references on sandbox environment variables
`ServerlessDeploymentBucket` incorrectly removed from template when `deploymentBucket.name` is set on existing stacks
Sandbox packaging can't get deployment bucket to policy statement
Deprecation warning for url.parse (DEP0169) under Node24
Serverless Offline reloadHandler stopped working on 4.6.2
excludeNodeDevDependencies includes all dev dependencies if serviceDir has symlinks
Support Bun catalogs when packaging external esbuild dependencies