AWS via SST (SolidStart v1)
SST is a framework for deploying applications to any cloud provider. It has a built-in way to deploy SolidStart apps to AWS Lambda. For additional details, you can visit their docs.
SolidStart v1 only
SST's built-in sst.aws.SolidStart component currently expects app.config.ts and the Vinxi output used by SolidStart v1. It is not compatible with SolidStart v2's Vite-based build. For a SolidStart v2 app, see Deployment plugins.
Quick start
-
In your project, init SST.
- This will detect your SolidStart app and ask you to update your
app.config.ts.
import { defineConfig } from "@solidjs/start/config";
export default defineConfig({ server: { preset: "aws-lambda", awsLambda: { streaming: true, }, },});- When you are ready, you can deploy your app using:
You can read the full tutorial on the SST docs.
Deploy to a Container
You can also deploy your SolidStart app to a container using SST.