Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
S

serverless

> 编程语言
Open source

⚡ Serverless Framework – Effortlessly build apps that auto-scale, incur zero costs when idle, and require minimal maintenance using AWS Lambda and other managed

46.9K stars0 likes3 views
WebsiteGitHub

About

⚡ 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.


Serverless Framework - V.4


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.

New Features In V.4

Here's a list of everything that's new in V.4, so far:

  • Sandboxes – Deploy isolated, ephemeral compute environments on AWS Lambda — ideal for untrusted or per-session workloads such as AI agents and code execution. More info here.
  • Amazon Bedrock AgentCore Support – Define AI agents, memory, tools, gateways, browsers, and code interpreters directly in serverless.yml via the ai property, and manage them with the serverless agent commands. More info here.
  • AWS Login & SSO – Set up AWS credentials via browser-based flows with serverless login aws and serverless login aws sso.
  • Deployment Diffs – Preview how a deployment will change your live AWS CloudFormation stack before deploying with serverless diff.
  • Reconcile Command – Keep usage records in sync with your AWS accounts when stacks are removed outside the CLI, via serverless reconcile.
  • Managed instances – Native support for EC2-backed Lambda execution to enable higher throughput, predictable capacity, and long-running workloads.
  • Durable functions – Built-in support for durable, stateful workflows and long-running orchestrations.
  • Lambda tenant isolation mode: Use tenant isolation mode to create distinct Lambda compute environments per tenant to help reduce noisy neighbor effects and isolate high-traffic customers more cleanly.
  • HTTP response streaming: Stream logs, long-running reports, partial responses, or AI LLM responses from Lambda with API Gateway HTTP APIs.
  • Per-function IAM roles: Add per-function IAM policies or switch the entire service to use per-function policies.
  • Built-in plugins: Popular community plugins are now first-class, built-in features of the framework, including Python requirements, AppSync, Prune, API Gateway Service Proxy, and more.
  • Improved Custom Domain Support: You no longer need an external plugin to automatically configure custom domains and SSL certificates for your APIs and more. It's now built into the Serverless Framework CLI.
  • Integration with Doppler: You can now easily fetch Secrets from Doppler via Serverless Framework Variables.
  • Introducing Serverless MCP: Built for Cursor, Windsurf, and other AI-powered IDEs, it auto-detects cloud resources from your code, fetching logs, state, and config from AWS, enabling you to debug serverless apps directly in your IDE — no AWS console visit needed! Supports Serverless Framework, Cloudformation, and more.
  • Support for AWS SAM, AWS CloudFormation, & Traditional Serverless Framework Projects: Now, you can use one tool to deploy all three of these IaC project files. More info here
  • Native TypeScript Support: You can now use .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.
  • The AWS AI Stack: V.4 is optimized for the AWS AI Stack. Deploy a full-stack, serverless, boilerplate for AI applications on AWS, featuring LLMs via Amazon Bedrock and much more.
  • New Dev Mode: Run 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.
  • Latest Runtime Support: Support for Node.js 24 (nodejs24.x), Python 3.14 (python3.14), and Java 25 (java25) on AWS Lambda.
  • Latest Region Support: Support for all major regions, including the newly announced ap-southeast-6 in New Zealand.
  • New Stages Property: Easily organize stage-specific config via stages and set default config to fallback to.
  • Improved Compose Experience: Serverless Compose now has a beautiful new CLI experience that better demonstrates what is being deployed.
  • New Terraform & Vault Integrations: Pull state outputs from several Terraform state storage solutions, and secrets from Vault. Terraform Docs Vault Docs
  • Advanced Logging Controls for AWS Lambda: Capture Logs in JSON, increased log granularity, and setting a custom Log Group. Here is the AWS article. Here is the YAML implementation
  • Axiom Integration: Integrate with Axiom's observability solution for a powerful logging, metrics and traces experience, at 3X less than AWS cloudwatch.
  • AWS SSO: Environment variables, especially ones set by AWS SSO, are prioritized. The Framework and Dashboard no longer interfere with these.
  • Automatic Updates: These happen by default now. Though, you will be able to control the level of updates you're open to.
  • Improved Onboarding & Set-Up: The serverless command has been re-written to be more helpful when setting up a new or existing project.
  • Updated Custom Resource Handlers: All custom resource handlers now use a current Node.js runtime (nodejs22.x).
  • Deprecation Of Non-AWS Providers: Other cloud providers have been deprecated. V.4 focuses on delivering the best experience on AWS.

Breaking Changes

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:

  • The V.4 License is changing. See the section below for more information on this.
  • Authentication is required within the CLI.
  • Non-AWS Providers have been deprecated. We will be introducing new ways in V.4 to use other cloud infrastructure vendors.

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.

License Changes in V.4

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.


Contents

  • Features
  • Quick Start
  • Examples
  • Plugins
  • Community

Features

  • Build More, Manage Less: Innovate faster by spending less time on infrastructure management.
  • Maximum Versatility: Tackle diverse serverless use cases, from APIs and scheduled tasks to web sockets and data pipelines.
  • Automated Deployment: Streamline development with code and infrastructure deployment handled together.
  • Local Development: Route events from AWS to your local AWS Lambda code to develop faster without having to deploy every change.
  • Ease of Use: Deploy complex applications without deep cloud infrastructure expertise, thanks to simple YAML configuration.
  • Language Agnostic: Build in your preferred language – Node.js, Python, Java, Go, C#, Ruby, Swift, Kotlin, PHP, Scala, or F#.
  • Complete Lifecycle Management: Develop, deploy, monitor, update, and troubleshoot serverless applications with ease.
  • Scalable Organization: Structure large projects and teams efficiently by breaking down large apps into Services to work on individually or together via Serverless Compose.
  • Effortless Environments: Seamlessly manage development, staging, and production environments.
  • Customization Ready: Extend and modify the Framework's functionality with a rich plugin ecosystem.
  • Vibrant Community: Get support and connect with a passionate community of Serverless developers.

Quick Start

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.


Install the Serverless Framework via NPM

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 -g

Run serverless to verify your installation is working, and show the current version.


Update Serverless Framework

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 update

Or, you can set this environment variable:

SERVERLESS_FRAMEWORK_FORCE_UPDATE=true

The serverless Command

The 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.

serverless

Create A

Issues· 1207 open

View all issuesOpen on GitHub
  • #13906

    Sandbox packages (zips) are not cleared from deployment bucket as stack dirs are

    bugcat/packagingUpdated Sep 28, 2026
  • #3212

    AWS API Gateway: Lack of support for CF intrinsic functions at `functions[].events[].http.authorizer.arn`

    good first issuehelp wantedcat/aws-event-api-gatewaybug/designUpdated Sep 26, 2026
  • #13877

    Issue using sls deploy inside of worktrees

    Updated Sep 15, 2026
  • #13876

    Support references on sandbox environment variables

    bugUpdated Sep 15, 2026
  • #13501

    `ServerlessDeploymentBucket` incorrectly removed from template when `deploymentBucket.name` is set on existing stacks

    bugUpdated Sep 14, 2026
  • #13872

    Sandbox packaging can't get deployment bucket to policy statement

    bugcat/aws-iamUpdated Sep 14, 2026
  • #13214

    Deprecation warning for url.parse (DEP0169) under Node24

    cat/pluginUpdated Sep 11, 2026
  • #13090

    Serverless Offline reloadHandler stopped working on 4.6.2

    bugcat/packagingcat/pluginUpdated Sep 11, 2026
  • #13447

    excludeNodeDevDependencies includes all dev dependencies if serviceDir has symlinks

    bugcat/packagingUpdated Sep 11, 2026
  • #13701

    Support Bun catalogs when packaging external esbuild dependencies

    enhancementcat/packagingUpdated Sep 10, 2026

> Tags

JavaScriptawsaws-dynamodbaws-lambdaazure-functions

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 29, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言