AWS via SST
Edit this pageSST 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.
Quick start
-
In your project, init SST.
npx sst@latest initpnpx sst@latest inityarn dlx sst@latest initbunx sst@latest initdpx sst@latest init- This will detect your SolidStart app and ask you to update your
app.config.ts.
server: { preset: "aws-lambda-streaming"}- When you are ready, you can deploy your app using:
npx sst@latest deploy --stage productionpnpx sst@latest deploy --stage productionyarn dlx sst@latest deploy --stage productionbunx sst@latest deploy --stage productiondpx sst@latest deploy --stage productionYou 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.