Serverless Stack Toolkit (SST)
Serverless Stack Toolkit (SST) is an extension of AWS CDK that makes it easy to build serverless apps. It features:
- A Live Lambda Development environment
- Zero-config support for ES and TypeScript using esbuild
- Support for deploying to multiple environments and regions
- Higher-level constructs designed specifically for serverless apps
SST also supports deploying your CloudFormation stacks asynchronously. Seed natively supports concurrent asynchronous deployments for your SST apps. And SST deployments on Seed are free!
SST also comes with a few other niceties:
Internally, SST uses the CDK CLI to invoke the various CDK commands.
Create your first SST app.
# Create your app
$ npx create-serverless-stack@latest my-sst-app
$ cd my-sst-app
# Start Live Lambda Development
$ npx sst start
# Deploy to prod
$ npx sst deploy --stage prod
The sst start
command starts up a local development environment that opens a WebSocket connection to your deployed app and proxies any Lambda requests to your local machine. This allows you to:
- Work on your Lambda functions locally
- Supports all Lambda triggers, so there's no need to mock API Gateway, SQS, SNS, etc.
- Supports real Lambda environment variables and Lambda IAM permissions
- And it's fast. There's nothing to deploy when you make a change!
Read more about Live Lambda Development.
View the example apps built with SST
SST is being actively developed. Check out the public SST roadmap here. And make sure to star the repo and subscribe to updates.
Check out our roadmap and join our Slack to get started.
- Open a new issue if you've found a bug or have some suggestions.
- Or submit a pull request!
To run this project locally, clone the repo and initialize the project.
$ git clone https://github.com/serverless-stack/serverless-stack.git
$ cd serverless-stack
$ yarn
Run all the tests.
$ yarn test
To run the docs site.
$ cd www
$ yarn start
Follow us on Twitter, join us on Slack, post on our forums, and subscribe to our newsletter.
This project extends AWS CDK and is based on the ideas from Create React App.
Brought to you by Anomaly Innovations; makers of Seed and the Serverless Stack Guide.