T
TanStack8mo ago
ratty-blush

How do you deploy TansStack Start for AWS S3?

How do you deploy TansStack Start for AWS S3?
6 Replies
equal-aqua
equal-aqua8mo ago
Tanstack start is not just static html CSS and JS so you can't really deploy it to S3. You could try and deploy it to lambda but it's not officially supported and you would probably have to work it out yourself https://nitro.build/deploy/providers/aws
AWS Lambda - Nitro
Deploy Nitro apps to AWS Lambda.
ratty-blush
ratty-blushOP8mo ago
OK, thanks. I thought it supported static websites as its client first.
equal-aqua
equal-aqua8mo ago
Not currently but in the future you may be able to deploy static files and the server side part separately You'll be able to deploy tanstack router for a client side first approach
ratty-blush
ratty-blushOP8mo ago
Yeah, I thought about that, as I don't need SSR, but I found being able to run the app while JS is off is a nice add, and eventually, I will need SSR.
equal-aqua
equal-aqua8mo ago
You can start with a tanstack router app and move it over later quite easily if you're using file routes
ratty-blush
ratty-blushOP8mo ago
I will think about that. Thanks!

Did you find this page helpful?