Configs2026年5月11日·1 分钟阅读

SST — Full-Stack Framework for Building on AWS

An open-source framework for building full-stack applications on AWS with infrastructure as code, live Lambda debugging, and first-class support for Next.js, Remix, Astro, and more.

Agent 就绪

这个资产可以被 Agent 直接读取和安装

TokRepo 同时提供通用 CLI 命令、安装契约、metadata JSON、按适配器生成的安装计划和原始内容链接,方便 Agent 判断适配度、风险和下一步动作。

Native · 98/100策略:允许
Agent 入口
任意 MCP/CLI Agent
类型
Skill
安装
Single
信任
信任等级:Community
入口
SST Overview
通用 CLI 安装命令
npx tokrepo install a2b0e93c-4cf1-11f1-9bc6-00163e2b0d79

Introduction

SST is an open-source framework that makes it straightforward to build full-stack applications on AWS. It provides high-level constructs for common patterns like APIs, databases, cron jobs, and frontends, while using infrastructure-as-code under the hood so you own every resource in your AWS account.

What SST Does

  • Deploys full-stack apps to your own AWS account using infrastructure as code
  • Supports Next.js, Remix, Astro, SvelteKit, and other frontend frameworks out of the box
  • Provides a live development mode that connects your local machine to real cloud resources
  • Manages secrets, environment variables, and resource linking across services
  • Generates type-safe bindings so your code can reference infrastructure resources directly

Architecture Overview

SST uses Pulumi under the hood (as of SST v3) to provision AWS resources. When you run sst dev, it starts a local development environment that proxies Lambda invocations to your machine so you can set breakpoints and iterate without redeploying. A multiplexer process manages these connections. For production, sst deploy creates a standard CloudFormation-backed deployment through Pulumi.

Self-Hosting & Configuration

  • Install the SST CLI via npm and run sst init to scaffold a project with sst.config.ts
  • Configure AWS credentials via environment variables or the AWS CLI profile
  • Define infrastructure in TypeScript using SST components like Api, Cron, Bucket, and Nextjs
  • Set secrets with sst secret set KEY value which stores them encrypted in AWS SSM Parameter Store
  • Deploy to multiple stages (dev, staging, prod) using sst deploy --stage <name>

Key Features

  • Live Lambda: debug cloud functions locally with real AWS event sources
  • Resource linking: type-safe references between infrastructure and application code
  • Multi-framework: drop-in support for Next.js, Remix, Astro, SolidStart, and static sites
  • Console: a web dashboard for managing deploys, logs, and issues across stages
  • Composable components: extend or create custom infrastructure components in TypeScript

Comparison with Similar Tools

  • Serverless Framework — YAML-based config with plugin ecosystem; SST is TypeScript-native with live debugging
  • AWS CDK — lower-level IaC library; SST adds full-stack conventions, live dev, and frontend integration
  • Pulumi — general-purpose IaC; SST wraps Pulumi with opinionated full-stack patterns
  • Vercel — managed hosting platform; SST deploys to your own AWS account for full control
  • Nitric — cloud-portable framework; SST is AWS-focused with deeper AWS service integration

FAQ

Q: Does SST only work with AWS? A: SST v3 is designed for AWS. If you need multi-cloud, you can use the underlying Pulumi providers, but SST's high-level components target AWS services specifically.

Q: How does live development work? A: sst dev deploys a thin stub to AWS Lambda that forwards invocations to your local machine over a WebSocket connection. Your local code runs with real cloud events, real databases, and real queues.

Q: Can I use SST with an existing AWS project? A: Yes. You can adopt SST incrementally by importing existing resources or by adding SST components alongside resources managed by other tools.

Q: Is SST free? A: The framework is open source and free. You pay only for the AWS resources your application consumes. SST Console has a free tier and paid plans for teams.

Sources

讨论

登录后参与讨论。
还没有评论,来写第一条吧。

相关资产