• Documentation
  • Pricing
© 2026 Serverless, Inc. All rights reserved.

Framework

  • Overview
  • Documentation
  • Plugins360
  • Pricing

Learn

  • Blog
  • GuidesUpdated
  • Examples240
  • Courses

Resources

  • Support
  • Security
  • Trust Center
  • Status

Community

  • Slack
  • GitHub47k
  • Forum
  • Meetups

Company

  • About
  • Careers
  • Contact
  • Partners

Legal

  • Terms of Service
  • Privacy Policy
  • Trademark
  • DMCA
Serverless Framework Logo

Serverless Framework

Intro
SetupUpgrading To V4ConceptsTutorialAWS CredentialsLicense Keys
DeployingPackagingBuildingTestingDev ModeServicesFunctions
OverviewHTTP (API Gateway v2)REST (API Gateway v1)ActiveMQApplication Load BalancerAlexa SkillAlexa Smart HomeCloudWatch EventCloudWatch LogCloudFrontCognito User PoolEventBridge EventIoTIoT Fleet ProvisioningKafkaKinesis & DynamoDBMSKRabbitMQS3ScheduleSNSSQSWebsocket
LayersManaged InstancesWeb Apps (Lambda Web Functions)Sandboxes (Lambda MicroVMs)MCP ServersAlertsVersion PruningDomainsIAM Function PermissionsParameters
OverviewSelf-reference serverless.ymlServerless CoreEnvironment VariablesCLI OptionsExternal YAML/JSON FilesJavascript propertiesGitDoppler
OverviewS3 ObjectsSSM Parameter Store & Secrets ManagerCloudFormation Stack Outputs
OverviewVaultTerraform State Output
ResourcesComposing ServicesDeployment BucketStateAgent SkillsPython support
OverviewRuntimeGatewayMemoryBrowserCode InterpreterDev Mode
API Gateway Proxy
OverviewGeneral ConfigurationAuthenticationAPI KeysData SourcesResolversPipeline FunctionsSubstitutionsCachingDelta SyncCustom DomainWAFCLI Commands
Deploying SAM/CFN TemplatesWorkflow Tips
OverviewCreating PluginsCLI OutputCustom CommandsCustom VariablesExtending the Configuration schemaExtending and overriding configuration
OverviewDashboardAxiom
Overviewagent docsagent inspectagent setupagent skills installagent skills list / readdeploydeploy functiondeploy listdevdiffinfoinvokeinvoke localloginlogin awslogin aws ssologsmetricspackageplugin installplugin uninstallprintprunereconcileremoverollbackrollback functionusage
OverviewConcepts
OverviewMetricsTracesTroubleshoot
OverviewNode.jsPython
OutputsProviders
OverviewBranch DeploymentsPreview DeploymentsCustom ScriptsTestingPrivate PackagesNotificationsMono ReposDeploy in your own CI/CDBest PracticesTroubleshootingFAQ
OverviewSetupToolsAWS Integration
Serverless.yml Reference
Examples and TutorialsConfiguration Validation

AWS guide

The AWS guide explains how to build and deploy services on AWS with the Serverless Framework, one topic per page. New to the Framework? Start with Serverless Framework concepts, or install it with Setting up the Serverless Framework.

Basics

  • Serverless Framework concepts: services, functions, events and resources, and how they fit together.
  • AWS credentials: give the Framework access to your AWS account, with profiles, SSO or Dashboard Providers.
  • Services: the serverless.yml file and how to organise a project into services.
  • AWS Lambda functions: runtimes, memory, timeouts, environment variables, function URLs, architectures and other function settings.
  • AWS Lambda events: how events trigger functions. Each event source has its own page, such as HTTP API, SQS, S3 and Schedule.
  • AWS infrastructure resources: add CloudFormation resources such as DynamoDB tables and S3 buckets, and override generated ones.
  • IAM permissions for functions: the IAM role the Framework creates for your functions, a role you supply instead, and per-function roles.

Build, test and deploy

  • Deploying to AWS: serverless deploy and serverless deploy function, stages and Regions.
  • Packaging: what goes into each deployment package, and packaging functions individually.
  • Build configuration: bundle JavaScript and TypeScript with esbuild.
  • Python support: bundle Python dependencies from requirements.txt, Pipenv, Poetry or uv projects.
  • Dev Mode: run functions locally against live AWS events.
  • Testing: write testable Lambda function code.
  • AWS Lambda layers: publish and use Lambda layers.
  • Lambda version pruning: delete old Lambda function versions, and optionally layer and sandbox image versions.

AWS features

  • Custom domains: serve APIs and web apps from your own domain, with certificates and DNS records.
  • CloudWatch alerts: create CloudWatch alarms for your functions.
  • API Gateway AWS service proxy: connect API Gateway straight to AWS services without a function.
  • AppSync: deploy GraphQL APIs with resolvers, data sources and authentication.
  • Web Apps (Lambda Web Functions): deploy HTTP servers such as Express, Fastify and Next.js to Lambda.
  • Sandboxes (Lambda MicroVMs): run container workloads in isolated MicroVMs.
  • MCP Servers: deploy Model Context Protocol servers.
  • AI Agents: deploy agents on Amazon Bedrock AgentCore.
  • AWS Lambda Managed Instances: run functions on AWS-managed EC2 instances.

Reference

  • serverless.yml reference: every property, in one annotated file.
  • CLI reference: every serverless command and its options.
Edit this page
NextIntro

Contents

  • AWS guide
  • Basics
  • Build, test and deploy
  • AWS features
  • Reference

Related

GuidesPluginsExamplesSlack CommunitySupport