Loved by over 1,000 amazing teams

Start with your favorite frontend


Use our open source framework to deploy your Next.js, Svelte, Remix, Astro, or Solid site.

Next.js logo Astro logo Svelte logo Solid logo Remix logo
1new NextjsSite(this, "site", {
2  path: "src/next-app",
3  customDomain: "www.my-next-app.com"
4})

Add any backend feature


Extend your app with our preconfigured backend components. Even use any AWS service.

1 new RDS(this, "database", {
2  engine: "postgresql11.13",
3  defaultDatabaseName: "acme",
4  migrations: "scripts/migrations"
5})

Database

Add a serverless SQL or NoSQL database to power your app.

GraphQL API

Add a dedicated serverless GraphQL or REST API to your app.

1 new Api(this, "api", {
2  routes: {
3    "POST /graphql": {
4      type: "graphql",
5      function: "src/graphql.main"
6    }
7  }
8})
1 new Auth(this, "auth", {
2  authenticator: {
3    handler: "functions/auth.main"
6  }
7})

Auth

Authenticate your users through any auth provider.

Cron jobs

Run cron jobs powered by serverless functions.

1 new Cron(this, "cronjob", {
2  schedule: "rate(1 minute)",
3  job: "functions/cronjob.main"
4})
1 import * as ecs from "aws-cdk-lib/aws-ecs"
2 
3 new ecs.Cluster(this, "cluster", {
4  vpc
5})

Any AWS service…

Go beyond our components and integrate with any AWS service!

Collaborate with your team


Create preview or feature environments. Or one for everyone on your team.

> sst deploy --stage staging
Deployed to staging!
 
> sst deploy --stage production
Deployed to production!

Environments from the CLI

Use the CLI to create and deploy to new environments.

  • Deployed to pr#14

    Updating products page

    products-page db65c0a
    Deployed
  • Deployed to branch-profiles

    Adding new user profiles page

    branch-profiles f0bd4af
    Deployed
  • Deployed to pr#13

    Fixing bug in settings page

    settings-page bc32207
    Deployed

Automatic preview environments

Get preview environments for every PR or branch with SEED.

Testimonials

Join our growing community

  • 21k+

    GitHub stars

  • 10k+

    Discord members

  • 90k+

    Subscribers

SST Guide

The most widely read resource for building full-stack apps using serverless on AWS.

Download the FREE 300 page ebook

Join 90,000 readers from the biggest companies in the world. We'll also send you updates when new versions are published.

9.  Serverless unit tests

17. 

18. 

Show all